Letters

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-letters

About this component

A bubblegum candy pill with a hard sugar highlight. On hover each letter of the label hops in turn from left to right; a press squashes the candy onto its base.

Triggers

  • Hover
  • Click
  • Delay stagger
  • Keyframe

Techniques

  • Keyframes
  • Transition delay stagger
  • CSS variables
  • Transform only

Difficulty

Beginner

Accessibility

Keyboard and screen readers

A native button named by aria-label ("Try it free"); the split letters are aria-hidden so a screen reader hears the phrase once.

Reduced motion

The letters stay still.

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

More buttons

See all
MemphisGet code
OathGet code
OrbitGet code
OverprintGet code