Motion/Action Swap

Action Swap

Buttons whose label and icon roll, blur or cascade between states.

Installation

$npx shadcn@latest add @opendraft/action-swap

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.