Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Primitives
  2. Link
  3. Usage

Link

Usage

Import Link, LinkAppearance, LinkUnderline from @prepared911/ui/link. Link navigates to another route or URL. It is always an anchor; use Button for actions. Wrap visible labels in Text. Pass href for every link. Register a router adapter with LinkProvider for in-app paths. A disabled link stays in the tab order with no href. Its label and every icon, including the external-link glyph and an icon-only glyph, paint --color-fg-disabled; a disabled button link also takes Button's disabled fill.
Previous
Label / Accessibility
Next
Link / API and Development