Cymatics
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderCymatics(el) on the mounted element instead.
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/slider-cymaticsAbout this component
A frequency slider on a vibrating plate scattered with sand: behind the thumb the plate rings, the grains dance and gather on its nodal lines, more lines the higher the pitch, and they migrate to the new pattern as you sweep. Ahead of the thumb the sand lies where it fell.
- Dependencies
- None
- Difficulty
- Advanced
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Continuous
- Fill
Techniques4
- CSS transition
- Keyframes
- CSS variables
- Transform only
Accessibility
Keyboard and screen readers
A native range input named Frequency with hertz as its value text; the plate is aria-hidden.
Reduced motion
The grains jump to their lines and do not buzz.
Use it in anything you build, commercial and client work included. Licence