0Views
0Copies
Variants

API Reference
Props for <GymGearButton />
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#5a2b1a" | The button's fill. |
| textColor | string | "#fbf4ec" | The label at rest, and the two bar sleeves. |
| hoverTextColor | string | "#ff3d78" | The second label, rolled in on hover. |
| innerPlateColor | string | "#ff3d78" | The biggest part: the inner plate, the dumbbell's rubber head, the kettlebell's body, the disc's face, or every other plate in a stack. |
| middlePlateColor | string | "#fbf4ec" | The middle part: the middle plate, the dumbbell's rubber rim, the kettlebell's handle, the disc's raised rim, or the stack's other plates. |
| outerPlateColor | string | "#ff3d78" | The smallest part: the outer plate, the dumbbell's chrome cap and collar, the kettlebell's embossed weight, the disc's hub, or the stack's pin. |
| collarColor | string | "#c7c9cc" | The steel collar that clamps bumper plates on last. |
| borderColor | string | "rgba(0, 0, 0, 0)" | A hairline around the button; transparent by default. |
| ringColor | string | "#5a2b1a" | The keyboard focus ring. |
| shadowColor | string | "rgba(58, 29, 20, 0.7)" | The soft drop shadow under the button. |
| plateStyle | 'slim' | 'bumper' | 'dumbbell' | 'kettlebell' | 'stack' | 'disc' | "slim" | How the weights look: slim plates, collared bumpers, a rubber dumbbell dropped onto its handle, a kettlebell that swings in, a machine's weight stack with its pin, or olympic plates that roll in face-on. |
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | "Shop now" | The label at rest. |
| hoverText | string | "Load your cart" | The label rolled in on hover; empty repeats the label at rest. |
| font | FontValue | {"fontFamily":"Inter Tight","fontWeight":600,"fontSize":14.5,"letterSpacing":0} | The labels' family, weight, size in px and letter spacing in em. Add the font to your app. |
| surface | 'flat' | 'raised' | 'glossy' | 'outline' | "flat" | Flat; raised on a lip it presses down into; glossy, with a shine sweeping across on hover; or an outline in the fill colour that fills in on hover. |
| Prop | Type | Default | Description |
|---|---|---|---|
| height | number | 52 | The button's height. |
| radius | number | 12 | How round the corners are. |
| duration | number | 550 | How long each plate takes to slide on. |
| stagger | number | 70 | How long after one plate the next one follows. |
| Prop | Type | Default | Description |
|---|---|---|---|
| href | string | — | Renders the button as a link to this address. |
S
Motion score
Compositor-only
- Category
- Buttons
- Framework
- React
- Published
- Dec 4, 2026
- Dependencies
- Variants
Gym Gear Button
A call-to-action button loaded like a barbell: on hover or keyboard focus, weights load onto both ends with a springy overshoot while the label rolls to a second line. Choose slim plates, collared bumpers, a rubber dumbbell, a swinging kettlebell, a weight stack or rolling discs, on a flat, raised, glossy or outlined surface. Colours, labels, font, size and timing can all be set, and it renders as a link when given an address.