Button
Plain Button
NewA plain filled pill with the label only.
npx motionsnack add plain-buttonCustomize
<PlainButton />Props
10 properties
| Property | Type | Default | Description |
|---|---|---|---|
| onClick | () => void | - | Click handler, for the plain button and the link alike. |
| icon | ReactNode | - | Accepted so sections can pass one, but this button shows no icon. |
| buttonColor | string | near-black / near-white in dark | Fill colour. |
| buttonTextColor | string | white / near-black in dark | Text colour. |
| buttonRadius | number | fully round | Corner radius in px. |
| className | string | '' | Extra classes on the button. |
| label | string | 'Get started' | Text of the button. |
| href | string | '' | Link target. With a value the button is a link, without one a plain button. |
| fullWidth | boolean | false | Stretch to the width of the parent. |
| onDark | boolean | false | Keep the button light in the light look too, for a dark banner or photo behind it. |
About Plain Button
The quiet filled button: a solid pill with crisp inner edges and nothing but the label. It renders as a link when it gets an href and as a plain button otherwise. Colour, text colour and corner radius are props. It takes the same props as the other library buttons, so it can be handed to any section through its Button prop.
What's included
- Label only, no icon
- Link or plain button
- Full-width mode
- Fits every section's Button prop
- Light and dark look
- Type
- Animated React button component
- Library
- Components · Button
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-20
- Install
npx motionsnack add plain-button