Glitter
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldGlitter(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/input-glitterAbout this component
A message field written in glitter gel pen on black card: pink-to-violet-to-teal glitter ink that slowly shimmers across the word, inside a fine silver glitter border. Every letter you add lands with a four-point twinkle.
Triggers
- Focus
- Continuous
- Glow
- State change
Techniques
- SVG filter
- Keyframes
- Gradient
- Text animation
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native text input named by aria-label ("Message"); the rim, letters, stars and caret are aria-hidden. Focus draws a pink ring with a soft glow.
Reduced motion
The shimmer, stars and pop are off and the caret stays solid.
Use it in anything you build, commercial and client work included. Licence