Docs
Button
Button
Displays a button or a component that looks like a button.
Installation
Install bits-ui
:
Copy and paste the component source files linked at the top of this page into your project.
Usage
Link
You can convert the <button>
into an <a>
element by simply passing an href
as a prop.
Alternatively, you can use the buttonVariants
helper to create a link that looks like a button.
Examples
Primary
Secondary
Destructive
Outline
Ghost
Link
With Icon
Icon
Loading
On This Page