# dynamic button, 21st-dqnamo component by dqnamo

An animated button that smoothly resizes its width to fit new content and crossfades its label and icon whenever the action or state changes. Built with motio

> Page: https://ui.eneawork.it/comp/21st-dqnamo/dynamic-button
> Markdown: https://ui.eneawork.it/comp/21st-dqnamo/dynamic-button.md

- Library: [21st-dqnamo](/components/lib/21st-dqnamo)
- HTML page: https://ui.eneawork.it/comp/21st-dqnamo/dynamic-button

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-dqnamo/dynamic-button.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
