Flaps

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/loader-flaps

About this component

Four tiles on a rail flip over one after another, each showing a second colour on its back, then flip on round to the first.

Triggers

  • Loop
  • 3D
  • Delay stagger

Techniques

  • preserve-3d
  • Perspective
  • Keyframes
  • Stagger

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The root has role="status" and aria-label "Loading"; the tiles are aria-hidden.

Reduced motion

The animations stop and the tiles rest with the first two flipped.

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

More loaders

See all
FoilGet code
FrostGet code
GyroGet code
HatchGet code