Installation
1
Add Component
Copy the code snippet below into you components folder.
2
Integrate Recipe
Integrate this recipe in to your Panda config.
Usage
Examples
Sizes
Use the size prop to change the size of the button.
Variants
Use the variant prop to change the appearance of the button.
Colors
Use the colorPalette prop to change the appearance of the button.
Rounded
Set the borderRadius prop to full to get a rounded button.
Props
| Prop | Default | Type | 
|---|---|---|
| variant | 'solid' | 'solid' | 'surface' | 'subtle' | 'outline' | 'plain' | 
| size | 'md' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' |