Retro Pixel
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-retro-pixelAbout this component
8-bit game-style button with a chunky pixel border (outline + box-shadow), scanline overlay via repeating-linear-gradient, monospace font, and a stepped jitter shake animation on press. The outer wrapper uses a black frame to simulate a cartridge slot border. No dependencies.
Triggers
- Click
Techniques
- Keyframes
- Transform only
Difficulty
Beginner
Accessibility
Reduced motion
Shake animation disabled under prefers-reduced-motion; button still depresses via translateY.
Use it in anything you build, commercial and client work included. Licence