| Prop | Default | Type |
|---|---|---|
active | booleanUsed to identify the link as the currently active page. | |
as | 'a' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. |
| Emit | Payload |
|---|---|
select | [payload: CustomEvent<{ originalEvent: Event; }>]Event handler called when the user selects a link (via mouse or keyboard). Calling |
