Cipher

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-cipher

About this component

An amber CRT screen with scanlines and glowing type. On hover the letters churn through random glyphs and lock back in one by one from the left; a press flares the screen.

Triggers

  • Hover
  • Focus
  • Glow
  • Ambient

Techniques

  • Interval
  • Text animation
  • Keyframes
  • Pseudo elements

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button named by aria-label ("Reveal key"); the churning text and the caret are aria-hidden, so a screen reader never hears the scramble. Focus and click also run it.

Reduced motion

The scramble does not run and the flicker and caret stop.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
ClayGet code
CourierGet code
DecoGet code
E-inkGet code