Crash Tower
Blocks stack higher with the multiplier and the tower sways more the taller it grows; your cash-out block keeps a pennant, and a crash topples the top of the stack.
blockregistry-item.json
Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
building preview…
The live preview has not been built yet.
See how it was built Installation
pnpm dlx shadcn@latest add @beui/crash-tower
Requires @beui in the registries of your components.json (shadcn adds official directory namespaces automatically).
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "Crash Tower" component (beui/crash-tower) from its shadcn registry.1. Install it with: npx shadcn@latest add @beui/crash-tower2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Files & dependencies
- components/motion/crash/crash-tower.tsx→ @components/motion/crash/crash-tower.tsx
- components/motion/casino/game-parts.tsx→ @components/motion/casino/game-parts.tsx
- components/motion/crash/crash-parts.tsx→ @components/motion/crash/crash-parts.tsx
- components/motion/crash/use-crash-game.ts→ @components/motion/crash/use-crash-game.ts
- lib/ease.ts→ @lib/ease.ts
- lib/utils.ts→ @lib/utils.ts
- components/motion/action-swap-cascade.tsx→ @components/motion/action-swap-cascade.tsx
- components/motion/button/index.tsx→ @components/motion/button/index.tsx
- components/motion/tooltip.tsx→ @components/motion/tooltip.tsx
- components/motion/number-ticker.tsx→ @components/motion/number-ticker.tsx
- components/motion/select.tsx→ @components/motion/select.tsx
- lib/presence-gate.tsx→ @lib/presence-gate.tsx
- components/motion/crash/messages.ts→ @components/motion/crash/messages.ts
- lib/game-sounds.ts→ @lib/game-sounds.ts
- lib/i18n.tsx→ @lib/i18n.tsx
- components/motion/action-swap.tsx→ @components/motion/action-swap.tsx
- components/motion/button/base.tsx→ @components/motion/button/base.tsx
- components/motion/button/magnetic.tsx→ @components/motion/button/magnetic.tsx
- components/motion/button/metallic.tsx→ @components/motion/button/metallic.tsx
- components/motion/button/stateful.tsx→ @components/motion/button/stateful.tsx
- components/motion/tooltip/grace.ts→ @components/motion/tooltip/grace.ts
- components/motion/tooltip/positioner.tsx→ @components/motion/tooltip/positioner.tsx
- components/motion/tooltip/use-position.ts→ @components/motion/tooltip/use-position.ts
- components/motion/tooltip-surface.tsx→ @components/motion/tooltip-surface.tsx
- lib/hooks/use-dismiss.ts→ @lib/hooks/use-dismiss.ts
- lib/hooks/use-hover-gesture.ts→ @lib/hooks/use-hover-gesture.ts
- lib/hooks/use-tap-gesture.ts→ @lib/hooks/use-tap-gesture.ts
- lib/merge-refs.ts→ @lib/merge-refs.ts
- components/motion/menu/menu-item-highlight.tsx→ @components/motion/menu/menu-item-highlight.tsx
- lib/hooks/use-listbox.ts→ @lib/hooks/use-listbox.ts
- lib/sound.tsx→ @lib/sound.tsx
- lib/sounds/close.ts→ @lib/sounds/close.ts
- lib/sounds/open.ts→ @lib/sounds/open.ts
- lib/sounds/select.ts→ @lib/sounds/select.ts
- lib/audio-context.ts→ @lib/audio-context.ts
- lib/sounds/press.ts→ @lib/sounds/press.ts
- components/motion/magnetic.tsx→ @components/motion/magnetic.tsx
- lib/layers.ts→ @lib/layers.ts
- lib/touch.ts→ @lib/touch.ts
- lib/hooks/use-on-open.ts→ @lib/hooks/use-on-open.ts
- lib/hooks/use-row-cursor.ts→ @lib/hooks/use-row-cursor.ts
- lib/sounds/engine.ts→ @lib/sounds/engine.ts
- lib/hooks/use-hover-capable.ts→ @lib/hooks/use-hover-capable.ts
dependencies@floating-ui/domclsxlucide-reactmotiontailwind-merge
registryDependencieshttps://beui.dev/r/theme.json
Looks similar, elsewhere
There is no screenshot of this item to compare yet.