Button
Buttons allow users to perform actions or to navigate to other pages. Generally, they should catch the users’ attention and direct them to complete an action that needs to be done.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-button
Dimensions and spacing
Section titled “Dimensions and spacing”In a button group, the corners between neighboring buttons are square.
| Part | Property | Token |
|---|---|---|
| Button | Corner radius | --border-radius-medium |
| Button | Border width | --border-width-button |
| Button | Gap between label and icons | --space-1 |
Colors
Section titled “Colors”| Part | Property | Token |
|---|---|---|
| AI button | Gradient border | --color-gradient-feature-ai |