SDAIA
SDAIA LogoSDAIA Logo
ComponentsLink
IntroductionInstallationFAQBrands
ColorsTypographySpacingRadiusGrid layoutsAll Tokens
All Components
AccordionActivityArea ChartAudio PlayerAvatarAvatarGroupCarousel ImageChartChipCode SnippetColumn ChartContext MenuDigital StampDividerDonut ChartDraggable ListDropdownEmpty StateFiltrationFooterImage ViewerLine ChartListMedia GalleryMenuMetricNav BarNav HeaderNumberPDF ViewerPie ChartPopoverProgress CircleQuoteRadial StepperScatterSecond Nav HeaderSlideout MenuStructured ListTableTable of ContentTree ViewVertical TabsVideo Player
BreadcrumbButtonButton MenuButton SplitContent SwitcherDate PickerFloating ButtonHorizontal TabsLinkModalPaginationRadio ButtonSwitchTag
AutocompleteCheckboxFile UploadNumber InputRange SliderRich Text EditorSelectSignatureSliderText AreaText Input
AlertsBadgeCardFeedbackFeedback OverviewHelp IconLoading IndicatorNotification BannerNotification PopupNotificationsProgress BarRatingRating OverviewSkeletonSkeleton/AvatarsTooltip
Sdaia Logo Animation
Sdaia Touch ButtonsSdaia Touch Switch

Link

Displays a hyperlink component with multiple styles and states.

Loading preview…
1'use client';
2
3import { Link } from 'sdaia-ui';
4export default function LinkRealWorld() {
5 return (

Installation

npx sdaia-ui@latest add link

Usage

import { Link } from "@/components/ui/link"
<Link href="#">Link text</Link>

Examples

Size

Use the `size` prop to change the size of the link.

Loading preview…
1<Link
2 size="Large" | "Medium" | "Small"
3/>

Default

The default Primary link style.

Loading preview…
1<Link href="#">Link text</Link>

Neutral

Use `style="Neutral"` for a subdued link that blends with surrounding text.

Loading preview…
1<Link
2 variant="Neutral"
3/>

Inline

Use `inline={true}` for a link embedded within a line of body text.

Loading preview…
1<Link
2 inline={true}
3/>

Visited

The visited state is applied automatically when the user has already navigated to the link target.

Loading preview…
1<Link
2 state="Visited"
3/>

Disabled

Use `state="Disabled"` to prevent interaction with the link.

Loading preview…
1<Link
2 state="Disabled"
3/>

API Reference

Link Props

Props for the Link component.

Prop

Type

Default

Required

size?

LinkSize

'sm' | 'md' | 'lg'

optional

variant?

LinkStyle

'primary' | 'neutral'

optional

inline?

boolean

false

required

disabled?

boolean

false

optional

visited?

boolean

false

optional

leadingIcon?

ReactNode

false

optional

trailingIcon?

ReactNode

false

optional

children?

ReactNode

false

optional
Horizontal Tabs
Modal
On this page
Help Center/API Reference/Authentication

Authenticating with the SDAIA Data API

All API requests must include a Bearer token in the Authorization header. You can generate and manage tokens from the Developer Portal, then attach them to every request as shown below.

For local development, see our quick-start guide which walks through environment setup, sample code, and common errors.

Read full guideDownload SDK

Related

Rate limits & quotasError referenceWebhooks setupSandbox environment
LinkLinkLink
Link
Link
Link
Link
Link