Baize

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)

Good for: Skeuomorphic UI.

More like this

More component packs