Slide
A slide game: set a bet and a target, then a reel of colour-coded multiplier cards races past two tabs at the center of the stage, turning in 3D as they pass, slows through the last few and clicks the round's result into place between them. Cards that would beat your target carry a pip, the tabs turn primary on a win and red on a miss, and recent rounds collect in a history strip. Server-decided results, optional tick and win sounds, reduced-motion safe.
Installation
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.
Use the "Slide" component (beui/slide-game) from its shadcn registry.1. Install it with: npx shadcn@latest add @beui/slide-game2. 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/slide-game.tsx→ @components/motion/slide-game.tsx
- components/motion/casino/game-parts.tsx→ @components/motion/casino/game-parts.tsx
- components/motion/button/index.tsx→ @components/motion/button/index.tsx
- components/motion/select.tsx→ @components/motion/select.tsx
- lib/ease.ts→ @lib/ease.ts
- lib/game-sounds.ts→ @lib/game-sounds.ts
- lib/i18n.tsx→ @lib/i18n.tsx
- lib/tick-sound.ts→ @lib/tick-sound.ts
- lib/utils.ts→ @lib/utils.ts
- components/motion/action-swap-cascade.tsx→ @components/motion/action-swap-cascade.tsx
- components/motion/tooltip.tsx→ @components/motion/tooltip.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/menu/menu-item-highlight.tsx→ @components/motion/menu/menu-item-highlight.tsx
- lib/hooks/use-dismiss.ts→ @lib/hooks/use-dismiss.ts
- 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
- components/motion/action-swap.tsx→ @components/motion/action-swap.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-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
- lib/sounds/press.ts→ @lib/sounds/press.ts
- components/motion/magnetic.tsx→ @components/motion/magnetic.tsx
- lib/layers.ts→ @lib/layers.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/touch.ts→ @lib/touch.ts
- lib/hooks/use-hover-capable.ts→ @lib/hooks/use-hover-capable.ts
Looks similar, elsewhere
There is no screenshot of this item to compare yet.