Button
An interactive element that triggers an action when clicked or pressed.
Automatic Installation
This method is still working on progress, please use manual installation for now.
Manual Installation
Install dependencies
npm install radix-ui
Usage
Imports
import { Button } from '#/components/button'
Example
Browse the Storybook for more examples.
Props
Prop | Type | Default |
---|---|---|
variant? | ButtonStyles["variant"] | primary |
size? | ButtonStyles["size"] | md |
isLoading? | boolean | false |
loadingText? | string | - |
Edit on GitHub
Last updated on 3/24/2025