# Check draw toggle

https://fieldbook.lizardi.mx/components/check-draw-toggle

Category: Inputs
![Still of the Check draw toggle component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/check-draw-toggle.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/check-draw-toggle-db86877286.mp4 (5 s, silent)

Check draw toggle: A square checkbox whose checkmark draws itself stroke by stroke when checked, with a soft press and hover scale.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| checked | boolean | false | No additional limit in the metadata. |
| size | select | medium | Options: small, medium, large |
| variant | select | outline | Options: outline, filled |
| accentColor | color | #38BDF8 | No additional limit in the metadata. |

## Usage notes

Check draw toggle uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Check draw toggle?

Check draw toggle is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Check draw toggle depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

### What accessibility details are visible in Check draw toggle?

The React source for Check draw toggle includes: attributes and handlers (aria-checked, aria-disabled, aria-hidden); explicit roles (checkbox). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Check draw toggle handle reduced motion?

Check draw toggle reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: delay: reduceMotion ? 0 : 0.1; delay: reduceMotion ? 0 : filled ? 0 : 0.1; duration: reduceMotion ? 0 : 0.06. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "check-draw-toggle",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Latching square toggle](https://fieldbook.lizardi.mx/components/latching-square-toggle)
- [Settings Toggle Row](https://fieldbook.lizardi.mx/components/press-stretch-switch)
- [Icon crossfade switch](https://fieldbook.lizardi.mx/components/icon-crossfade-switch)
- [Select All Checklist](https://fieldbook.lizardi.mx/components/indeterminate-select-all)
- [Multi select toggle row](https://fieldbook.lizardi.mx/components/multi-select-toggle-row)
- [Sliding Thumb Switch](https://fieldbook.lizardi.mx/components/sliding-thumb-switch)
