Glitter

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-glitter

About 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

More inputs

See all
HighlightGet code
HoneyGet code
KintsugiGet code
Long shadowGet code