Memphis

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-memphis

About this component

A cobalt pill on a dotted offset shadow, with a yellow triangle, a pink disc and a teal squiggle bobbing round it. Hover scatters the shapes outward; a press snaps them back in.

Triggers

  • Hover
  • Click
  • Ambient
  • Spring

Techniques

  • clip-path
  • Keyframes
  • SVG stroke
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button named by its label; every shape is aria-hidden and :focus-visible outlines the pill.

Reduced motion

The shapes hold still.

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

More buttons

See all
OathGet code
OrbitGet code
OverprintGet code
PatchGet code