Robot components for shadcn/ui

Arms, cells and machines that solve their own kinematics in the browser. Install the source into your project, theme it with CSS variables, and set its size with a prop.

pnpm dlx shadcn@latest add https://robocn.dev/r/robot-arm.json
RC-01

move your pointer

28
registry items
0
dependencies in the solver
8
end effectors
2D + 3D
same kinematics

The machines

All components

Four ways to draw one

variant changes how a machine is painted, never where its joints are. Blueprint adds the grid, the dimensions and the joint angles, because a drawing is what you want when you are explaining a mechanism rather than selling one.

solid

Painted machine.

outline

Line art.

J1 100°J2 -73°J3 -21°27, 54

blueprint

Grid, dimensions, joint angles.

wire

Skeleton.

Kinematics, not keyframes

Two links solve with the law of cosines; longer chains run FABRIK, seeded with the previous frame. Out-of-reach targets stretch toward the target instead of breaking the pose.

Themed like the rest of your UI

Four colour roles resolve prop first, then CSS variable, then a built-in default. Set --robot-shell once and every machine on the page follows.

Quiet when nothing moves

The animation loop stops once a pose settles, so a parked arm costs no renders. Reduced-motion settings skip the easing entirely.