Prop | Default | Type |
---|---|---|
active | boolean Used to identify the link as the currently active page. | |
as | 'a' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change 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 |