Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

React AI Controls

React AI controls component with zoom and pan buttons for ReactFlow canvas navigation

Canvas too zoomed in? Can't see all your nodes? These are your zoom controls. You get the standard ReactFlow buttons—zoom in, zoom out, fit view, toggle interactivity—but styled to match your shadcn/ui design. Drop them in the corner of your Canvas and users can navigate around. We override the default ReactFlow styling with card backgrounds and proper hover states so everything looks cohesive. Position them wherever makes sense (bottom-left is the default, but you've got options).

Controls preview

Scroll to load preview

Installation

FAQ