Link
Live example
Link
Installation
npx shadcn@latest add https://hextech-ui.vercel.app/r/link.jsonAPI reference
These are the main Link options. See the exported TypeScript types for inherited native or primitive props.
| Prop | Type | Default |
|---|---|---|
href | string | — |
disabled | boolean | false |
Navigation
Link and ButtonLink render native anchors. For application routing, compose the application router with buttonVariants rather than nesting anchors. A disabled link removes navigation and keyboard activation.