Split Button
A primary action plus a chevron menu of alternates that updates the primary with a spring.
Deployments
One default action, a menu of the rest. The library cycles picks so you can feel the motion.
Default actionDeploy to Production
Usage: paste this file into your project (e.g.
components/split-button.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.