Film
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-filmAbout this component
A frame of film in the projector gate, with the grain, flicker and the odd scratch of a projected print: hover runs it through with gate weave; press and it stops in the lamp and burns, a blister flaring, then a ragged hole with a charred rim eating outward to a black CUT card before the next frame advances in.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- Click
- Hover
- State change
Techniques4
- SVG filter
- Keyframes
- State machine
- Pseudo elements
Accessibility
Keyboard and screen readers
A native button whose label follows the frame (Action, then Cut); the film is aria-hidden.
Reduced motion
The frame switches to CUT without the burn and the film does not run.
Use it in anything you build, commercial and client work included. Licence