Components / UI components / Actions
ActionsExperimental alpha
LinkButton
A native link with Button styling, for calls to action that navigate.
LinkButton preview
Interactions use local sample data.
Usage and props
Use LinkButton for navigation and Button for actions. For a router link component, render Button with asChild so the child keeps its own href, target and rel.
Supported inputs
This is the public signature used by this example. Open Code to see how the values and callbacks fit together.
Native anchor props · href · variant?: primary | secondary | outline | ghost | danger · size?: default | smThese are the main props for the example. The package's TypeScript declarations include the full API.