Skip to main content
The Link component is a primitive anchor element with theme-aware styling and variant support.

Import

Usage

Props

string
required
The URL to link to.
string
default:"'styles.a'"
Link variant from theme.links. By default uses theme.styles.a.
ThemeUIStyleObject
Theme-aware styles for custom link appearance.
string
HTML target attribute. Use _blank for new tab.
string
HTML rel attribute for link relationship.

Inherited Props

Link extends Box and accepts:
  • All standard HTML anchor attributes
  • Box spacing props (m, p, mx, my, px, py, etc.)
  • Box color props (color, bg, opacity)

Examples

Underlined on Hover