Pillar

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-pillar

About this component

A volt file drop panel: six hex studs ring an empty socket at rest; drag a file over and they wake and crackle into the socket; drop it and beams lock on, a column of light fires and the file comes back as a crystal with its name. Click to pick a file.

Triggers

  • State change
  • Glow
  • Hover

Techniques

  • clip-path
  • Radial gradient
  • Keyframes
  • requestAnimationFrame

Difficulty

Advanced

Accessibility

Keyboard and screen readers

A <label> wrapping a native file input named "Drop your build", so clicking or pressing Enter on it opens the file picker; the file name is announced through role="status".

Reduced motion

The column and bursts are skipped.

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

More cards

See all
AgendaGet code
ClimbGet code
DialGet code
FrostGet code