# motion use animation frame, 21st-motiondotdev component by motiondotdev

An example of using Motion for React's useAnimationFrame hook to animate a 3D cube.

> Page: https://ui.eneawork.it/comp/21st-motiondotdev/motion-use-animation-frame
> Markdown: https://ui.eneawork.it/comp/21st-motiondotdev/motion-use-animation-frame.md

- Library: [21st-motiondotdev](/components/lib/21st-motiondotdev)
- HTML page: https://ui.eneawork.it/comp/21st-motiondotdev/motion-use-animation-frame

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-motiondotdev/motion-use-animation-frame.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`.
