File: panel.md | Updated: 11/15/2025
Slash Forward
Docs Cookbook Providers Playground AI ElementsAI ElementsLeft sparkleRight sparkle AI GatewayGateway
Search...⌘KFeedback GitHub Vercel LogoSign in with Vercel
Workflow
A styled panel component for React Flow-based canvases to position custom UI elements.
The Panel component provides a positioned container for custom UI elements on React Flow canvases. It includes modern card styling with backdrop blur and flexible positioning options.
The Panel component is designed to be used with the Canvas component. See the Workflow demo for a full example.
AI Elements
shadcn CLI
Manual
npx ai-elements@latest add panel
<Panel />Prop
Type
position?'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
className?string
...props?ComponentProps<typeof Panel>
Node
A composable node component for React Flow-based canvases with Card-based styling.
Toolbar
A styled toolbar component for React Flow nodes with flexible positioning and custom actions.
On this page
Installation
Features
Props
<Panel />
GitHubEdit this page on GitHub Scroll to topCopy pageOpen in chat