Skip to content

Links

Colors

DefaultInherits standard foreground color
BrandColours with the active brand colour
Component Source
import { Link } from "@shavin/ui";

{/* Default link: inherits normal text color and underlines on hover */}
<Link href="#">Default text-fg link</Link>

{/* Brand link: colours with the active theme's brand colour */}
<Link href="#" color="brand">Brand color link</Link>

Underline

always
Underline is always visible.
hover
Underline appears on hover (default).
none
No underline in any state.
Component Source
import { Link } from "@shavin/ui";

<Link href="#" underline="always">Always underlined link</Link>
<Link href="#" underline="hover">Hover underlined link (default)</Link>
<Link href="#" underline="none">Link with no underline</Link>

Props

PropTypeDefault
size"xs" | "sm" | "md" | "lg"—
underline"always" | "hover" | "none""hover"
color"default" | "brand""default"
Configure Theme
Theme
Brand Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font