The Link component provides styled navigation that looks like a button but renders as a semantic <a> anchor element. Use it for navigation actions where you want button-like styling.
Link uses the same fixed geometry, label weight, icon size, gap, and padding as Button. Use jss only for exceptional layout overrides.
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| children | ReactNode | Yes | - | Link text content |
| href | string | Yes | - | Navigation destination URL |
| color | InteractableColor | Yes | - | "primary", "secondary", "negative", "inverse" |
| bare | boolean | No | false | Removes background and elevation |
| disabled | boolean | No | false | Disables interaction |
| underline | boolean | No | false | Adds text underline decoration |
| icon | IconType | No | - | Icon to display alongside text |
| iconPosition | "left" | "right" | No | "left" | Icon placement relative to text |
| inline | boolean | No | true | Display as inline-flex (true) or flex (false) |
| target | string | No | - | Link target (e.g., "_blank" for new tab) |
Links share the same color system as buttons, providing visual consistency across your application.
<Link color="primary" href="/signup">Sign up</Link>
<Link color="secondary" href="/learn-more">Learn more</Link>
<Link color="negative" href="/delete">Delete account</Link>
The bare prop removes the background and elevation entirely, leaving only the label and optional icon.
<Link bare color="primary" href="/docs">Documentation</Link>
<Link bare color="secondary" href="/about">About us</Link>
The underline prop adds a text decoration, useful for traditional link styling within paragraphs.
<Link bare underline color="primary" href="/docs">
Learn more
</Link>
Add icons to reinforce the link's purpose or indicate external navigation.
<Link
color="primary"
icon="external-link"
iconPosition="right"
href="https://example.com"
target="_blank"
>
External link
</Link>
<Link color="secondary" icon="download" href="/file.pdf">
Download PDF
</Link>
Disabled links prevent navigation and display a muted appearance.
<Link color="primary" disabled href="/premium">
Premium only
</Link>
Use Link when:
Use Button when: