Aura
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/toggle-auraAbout this component
An assistant switch whose thumb is a living orb of colour: off it is a still grey pearl; on, it rolls across, its colours wake and swirl, it breathes, and its aura spills back along the track behind it.
Triggers
- Click
- State change
- Glow
- Gradient
- Ambient
Techniques
- Filter
- Keyframes
- mix-blend-mode
- CSS transition
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native checkbox with role="switch" inside a <label>, named by aria-label ("Assistant"); the track and orb are aria-hidden, and :focus-visible on the input outlines the track.
Reduced motion
The orb jumps and its colours stay still.
Use it in anything you build, commercial and client work included. Licence