Skip to main content

Examples

Primary

Disabled

Small

Left Icon

All Variants

Props

An inline text link for navigating to a related page or section without using a button. Use primary for standard navigation and brand for the Fanvue green accent on calls to action within content. Renders an underlined <a> by default. Pass asChild to compose with a router link (e.g. Next.js Link). When rendering without a visible label, provide an aria-label.
boolean
default:"false"
Merge props onto a child element instead of rendering an <a>.
boolean
default:"false"
When true, greys the link out and blocks interaction.
ReactNode
Icon element displayed before the label.
ReactNode
Icon element displayed after the label.
"16" | "14"
default:"16"
Text size of the link in pixels.
"brand" | "primary"
default:"primary"
Visual style variant of the link.

Exported types

Also exported from @fanvue/ui: LinkProps, LinkSize, LinkVariant.
Setup: Installation · Theming