Mark ToggleAn 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.

Buttons & TogglesSettingsFormsOnboarding

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/mark-toggle
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Mark Toggle

Mark Toggle is a warm-toned variation on the iOS pill switch with one extra detail: the thumb carries a tiny mark that morphs from an X into a checkmark as it slides across. The track lives in earthy sand colors, the icon swap is animated with Motion, and the spring settles cleanly without bounce artifacts. Because the moving glyph confirms the new state, it is a more reassuring choice for settings rows, onboarding choices, and consent-style forms where users want to be certain a switch flipped.

Built with

MotionTailwind CSS

More like this