Anchor
Provides accessible navigation
Usage
The component simplifies styling with design tokens and an ergonomic API for responsive designs.
Variant
Use the variant prop to customize the component's appearance.
Within text
Use the component inline a text to create a hyperlink.
Routers
Use the asChild prop to compose Anchor with framework router links (e.g., Tanstack router Link).
API Reference
| Prop | Type | Default |
|---|---|---|
| variant | primary | secondary | tertiary | primary |
| asChild | boolean | undefined |

