# Custom Checkbox

> The CustomCheckbox component is a versatile and customizable checkbox element designed for React applications. It supports multiple styles, including default, gradient shadow, transformer, and animated variants. Each variant offers unique visual effects, such as gradient shadows or animations, to enhance user interaction. The component utilizes forwardRef for better integration with React's ref system and is styled using Tailwind CSS classes. This component is ideal for creating interactive and visually appealing checkbox elements in modern web applications.

- Author: [Edil Ozi](https://21st.dev/@Edil-ozi)
- Library: [Edil Ozi](https://21st.dev/@Edil-ozi/library/edil-ozi)
- License: mit
- Tags: Checkbox
- Live preview: https://21st.dev/@Edil-ozi/components/custom-checkbox

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/Edil-ozi/custom-checkbox?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/checkbox.md
