fix: button fixes v3 (#20557)

* fix button styling

* add button usage

---------

Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
sean-brydonandEunjae Lee authored and GitHub committed 2025-05-05 09:31:14 +00:00
1 parent ec9384858b
commit f5ec696e15
2 files changed
+34 -2

No files matched your search

@@ -65,3 +65,34 @@ Buttons can be grouped together using the ButtonGroup component. The ButtonGroup
#### Combined
<ButtonGroupSizesCombined/>
## Usage
```tsx
// Primary button (default)
<Button>Primary Button</Button>
// Secondary button
<Button color="secondary">Secondary Button</Button>
// Minimal button
<Button color="minimal">Minimal Button</Button>
// Destructive button
<Button color="destructive">Destructive Button</Button>
// With start icon
<Button StartIcon="plus">Add Item</Button>
// With end icon
<Button EndIcon="chevronRight">View More</Button>
// With link
<Button href="/some-path">Navigate</Button>
// Different sizes
<Button size="xs">Extra Small</Button>
<Button size="sm">Small</Button>
<Button size="base">Base (Default)</Button>
<Button size="lg">Large</Button>
```