# Blind Pull Toggle

Blind Pull Toggle is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

A dark/light mode toggle styled as a window-blind pull cord. Click to yank the cord and watch the icon swap through a venetian-blind slat animation.

- Category: Buttons & Toggles
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/blind-pull-toggle

## Install

```bash
npx shadcn@latest add @aicanvas/blind-pull-toggle
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/blind-pull-toggle.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import BlindPullToggle from '@/components/aicanvas/blind-pull-toggle'

<BlindPullToggle />
```

It takes no props.

## About

Blind Pull Toggle reframes the dark mode switch as a window-blind cord: click to yank it and watch the icon swap through a horizontal slat animation that mimics venetian blinds opening and closing. The pull-and-spring is Motion-driven so the cord weight feels physical, and the slats reveal the destination icon by the time the animation settles. It is a small but memorable replacement for the standard sun/moon button in site headers, footers, and settings drawers.

Use cases: Settings, Theme switcher, Footer.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Blind Pull Toggle rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/blind-pull-toggle.

## Related

- [Glass Toggle](https://aicanvas.me/components/glass-toggle.md): On/off toggles with glass housing and liquid-feel spring animation. Track color transitions smoothly.
- [Pill Toggle](https://aicanvas.me/components/pill-toggle.md): A minimal iOS-style slider toggle: thumb glides between off (grey) and on (green) with a snappy spring. Fully responsive.
- [Mark Toggle](https://aicanvas.me/components/mark-toggle.md): An iOS-style pill toggle in warm earth and sand tones: the thumb carries a small icon that morphs from X to checkmark as it slides across.
- [Delete Button](https://aicanvas.me/components/delete-button.md): A red button that starts a five-second delete countdown, with a one-tap undo.
- [Taga Toggle](https://aicanvas.me/components/taga-toggle.md): A playful pill toggle with an expressive face on the thumb: dead (×× eyes, flat mouth) when off, happy (arc eyes, big smile) when on. Track warms from grey to yellow.
