Mines

A mines board: pick tiles to find gems, each one raising the multiplier, and cash out before you hit a mine. Each gem you find is numbered in pick order, an odds ring shows the chance the next pick is safe, and the round's end reveals every tile in a ripple from your last pick before a ticket-stub result card rises with the outcome, stats and a miniature of your run. Distinct synthesized sounds for gems, streaks, mines and cash outs; keyboard playable, reduced-motion safe.

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/mines

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 "Mines" component (beui/mines) from its shadcn registry.1. Install it with: npx shadcn@latest add @beui/mines2. 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/mines.tsx→ @components/motion/mines.tsx
  • components/motion/casino/game-parts.tsx→ @components/motion/casino/game-parts.tsx
  • components/motion/action-swap-cascade.tsx→ @components/motion/action-swap-cascade.tsx
  • components/motion/adaptive-stepper.tsx→ @components/motion/adaptive-stepper.tsx
  • components/motion/button/index.tsx→ @components/motion/button/index.tsx
  • components/motion/number-ticker.tsx→ @components/motion/number-ticker.tsx
  • components/motion/tooltip.tsx→ @components/motion/tooltip.tsx
  • lib/ease.ts→ @lib/ease.ts
  • lib/game-sounds.ts→ @lib/game-sounds.ts
  • lib/i18n.tsx→ @lib/i18n.tsx
  • lib/presence-gate.tsx→ @lib/presence-gate.tsx
  • lib/utils.ts→ @lib/utils.ts
  • components/motion/action-swap.tsx→ @components/motion/action-swap.tsx
  • components/motion/liquid.tsx→ @components/motion/liquid.tsx
  • lib/merge-refs.ts→ @lib/merge-refs.ts
  • 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/audio-context.ts→ @lib/audio-context.ts
  • lib/sound.tsx→ @lib/sound.tsx
  • 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/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.