Block Stack
gamesProEt selvspillende bræt med faldende klodser som levende pixelgitter-baggrund: autospilleren scorer hver tur og kolonne, hele rækker blinker og falder sammen, og en stak, der når toppen, opløses og starter forfra.
Introduktionspris til og med 31. december 2026. Derefter 79 €.
Preview
Live demo. Temaet skifter selve demoen.
Kode
Koden er låst
Block Stack er en del af Manniche UI Pro. En nøgle åbner kildekoden til alle 66 effekter.
Køb · 49 €49 € · Introduktionspris til og med 31. december 2026. Derefter 79 €.
- Engangsbetaling
- Én udvikler
- Log ind og opret din nøgle med det samme
- Ingen moms (§ 19 UStG)
Har du en nøgle? Hent koden med CLI eller MCP.
Nøglen ligger i MANNICHE_PRO_KEY, aldrig i koden eller i adressen. Sådan sætter du den op
npx shadcn@latest add @manniche-pro/block-stackclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
BlockStackProps
| Prop | Type | Standard | Hvad den gør |
|---|---|---|---|
cellSize | number | 14 | Width and height of one cell in CSS pixels. The board has as many columns and rows as fit. |
gap | number | 2 | Space between cells in CSS pixels. |
radius | number | 0.35 | Corner rounding from 0 (square) to 1 (circle). |
palette | string[] | – | Piece colours, any CSS colour including var(--token). Each of the seven piece shapes takes one in turn. Defaults to the theme tokens (primary, success, destructive, accent); a value that is not a colour falls back to a built-in swatch. |
boardColor | string | – | Colour of the empty cells. Defaults to the foreground token at a few percent, so it works on light and dark. |
dropSpeed | number | 7 | How fast pieces fall, in rows per second while they are still turning and sliding. Aligned pieces drop faster. |
laneWidth | number | 12 | Widest a single game gets, in columns. Wider boards are split into side by side games that clear and reset on their own. 0 keeps one board. |
ghost | boolean | false | Show a faint outline where the player has decided to land. |
seed | number | 7 | Seed for the piece order and the player's slips, so the same seed plays the same game. |
children | ReactNode | – | Content layered above the board. |
className | string | – | Classes for the root. Give it a size, or let the parent provide one. |
A11y
Skærmlæser
Decorative only: the canvas is aria-hidden and ignores pointer and keyboard input.
Mindre bevægelse
Under reduced motion a still, half-played board is drawn and nothing moves.