Blocks
4nodes
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardBlocks(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-blocksAbout this component
A node count drawn as glowing isometric blocks on a drifting wire grid. Press a wire block and it drops in full of cyan light with a squash and bounce while the count rolls up; press a lit one to switch it back to wire.
Triggers
- Card
- Click
- Glow
- 3D
- Spring
- State change
- Ambient
Techniques
- clip-path
- Keyframes
- CSS transition
- Radial gradient
- SVG
- State machine
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Every block is a native button with aria-pressed and a label, reachable with Tab and toggled with Space or Enter; the count sits in an aria-live region. Focus shows a cyan outline.
Reduced motion
Reduced motion stops the drift, glow and bounce.
Use it in anything you build, commercial and client work included. Licence