An accessible button component built on Base UI and Motion for React with shadcn/ui variants, comprehensive sizes, and physics-based hover/tap scaling.
Made by AxylInstallation
File Structure
Usage
Examples
Secondary
Destructive
Outline
Ghost
Link
With Icon
Icon Only
Loading State
Sizes
Custom Motion Scaling
Props
| Prop | Type | Default |
|---|---|---|
variant? | "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | "default" |
size? | "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "default" |
hoverScale? | number | 1.05 |
tapScale? | number | 0.95 |
disableAnimation? | boolean | false |
className? | string | - |
Built by Axyl. A motion-first component registry for React.
Last updated: 8/20/2026