Gong

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-gong

About this component

A bronze gong on cords with a mallet: hover and the mallet draws back, press and it strikes; the face shivers, rings ripple out from the boss and the whole gong swings on its cords while the note dies away.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • Click
  • Hover
  • Spring

Techniques3

  • Keyframes
  • Radial gradient
  • 3D transform

Accessibility

Keyboard and screen readers

A native button named "Ring the gong"; the gong and mallet are aria-hidden.

Reduced motion

The ripples sit still and nothing swings.

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

More buttons

See all
GuillocheGet code
HazardGet code
HazeGet code
Key fobGet code