Cut-in

SavedYour changes are live.
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-cutin

About this component

A fire notification that lands like a finishing move: the area dims, a cut-in band slams across with speed lines and a glint, then the toast drops in burning; the close key slices it in half and the halves fall away.

Triggers

  • State change
  • Glow
  • Click

Techniques

  • clip-path
  • Keyframes
  • Radial gradient
  • requestAnimationFrame

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The toast is role="status", so its title and message are announced; the close key is a native <button> named "Dismiss".

Reduced motion

It simply appears and disappears.

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

More cards

See all
PillarGet code
AgendaGet code
ClimbGet code
DialGet code