Cryptex

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-cryptex

About this component

Five coloured rings between knurled brass caps spin up together, then lock one after another until their gold stars line up between the rails. The row glows, then they spin again.

Triggers

  • Loop
  • Delay stagger
  • Glow
  • Keyframe

Techniques

  • Keyframes
  • Gradient
  • CSS variables
  • mix-blend-mode
  • Pseudo elements

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label "Unlocking"; the drawing is aria-hidden.

Reduced motion

The rings rest on the aligned row of stars.

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

More loaders

See all
FloatGet code
FountainGet code
HeatGet code
LED ringGet code