# Todo List Item

> A reusable animated todo list item component with swipe actions and strike-through animation. Inspired by the original non-reusable implementation by @alirdev and @sekachov design.  Features: - Smooth strike-through animation on completion - Swipe gestures for actions - Action buttons for complete/delete - Theme support using shadcn/ui colors - Fully typed props

- Author: [Serafim](https://21st.dev/@serafimcloud)
- License: mit
- Tags: List, Animation, Toggle
- npm dependencies: lucide-react, framer-motion
- Live preview: https://21st.dev/@serafimcloud/components/to-do-item

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/serafimcloud/to-do-item?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/list.md
