Controls played on a pool table: balls that roll, knock, bank off cushions and drop into pockets.
Six controls played on billiard cloth, all on one small physics engine: balls roll and slow on the cloth, knock into each other, bank off cushions and drop into pockets, and the number on each ball turns as it rolls. The table is drawn once with walnut rails, rubber cushions, worsted cloth under a lamp and leather pockets. Cue Button: hold to draw the cue back, let go to strike, and your action runs when the object ball drops. Pocket Delete: a list printed on the cloth; a deleted row has its ball struck into a corner pocket while the rows below roll up. Rack Loader breaks a full rack, then re-racks every ball and breaks again. Cushion Tabs play a bank shot that stops dead under the tab you picked, its speed solved with the same physics. Spin Picker sets follow, draw or side by dragging the chalk mark on a cue ball, with the path traced on a small table. Ball Counter counts with balls in the return rail that knock into line. The featured ball takes your colour. Light and dark pages, keyboard and screen reader ready, reduced motion, zero dependencies.
Type: Component packs. Price: $2. Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Tags: physics button, pool table animation, billiards UI, canvas physics, animated tabs, delete animation, loader animation, number stepper.
What is inside (6 billiards components)
Cue Button: Hold to draw the cue back, let go to strike: the object ball is cut into the corner pocket and your action runs as it drops.
Pocket Delete: Delete a row and its ball is struck across the cloth into a corner pocket; the rows below roll up to close the gap.
Rack Loader: A full rack is broken with real collisions, some balls drop, then every ball rolls home into the triangle and it breaks again.
Cushion Tabs: The marker ball is played as a bank shot that comes off the far cushion and stops dead under the tab you picked.
Spin Picker: Drag the chalk mark on the cue ball face; a small table traces the cue ball path and replays the shot with follow, draw or side.
Ball Counter: Each added ball rolls down the return rail and knocks into the line; each removed one is lifted out.