Button
A quiet primary action with tactile feedback and loading states.
Preview
Primary
Loading
Disabled
Usage
button.tsx
import "useintkit/styles.css";
import { Button } from "useintkit";
<Button onClick={handleContinue}>Continue</Button>
<Button loading>Continue</Button>
<Button disabled>Unavailable</Button>Props
| Prop | Type | Description |
|---|---|---|
| size | "sm" | "md" | "icon" | Button size. Defaults to "md". |
| loading | boolean | Shows progress and prevents activation while retaining focus. |
| disabled | boolean | Disables the button using native behavior. |
| type | "button" | "submit" | "reset" | Defaults to "button". |
| className | string | Additional classes for the button. |
Native button attributes and Motion props are forwarded. Use an accessible label for icon-only buttons.