Cut-in
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardCutin(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-cutinAbout 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