Open source · MIT
React 3D Button
A button worth pressing
react-3d-button-demo.vercel.app

THE STORY
A React component for buttons that press down like real keys. It started as the button in my own projects and became a published library.
Five themes plus the default, nine variants, six sizes, border-radius options, loading states, ripples and a toggle mode, all customisable through CSS variables. It works with Next.js 13+ and the App Router.
- ROLE
- Author and maintainer
- WHEN
- 2025
BUILT WITH
- React
- TypeScript
- CSS variables
- tsup
- npm
SCREENS
01 / 0606 SHOTS · SWIPE →





WHAT WENT INTO IT
- 01Zero runtime dependencies, with tree-shakeable ESM and CommonJS builds of about 24 KB.
- 02Full TypeScript types, with JSDoc on every prop.
- 03Accessible: proper ARIA attributes and keyboard support, including in toggle mode.
- 04Press states tuned for touch screens.
