Layouts

Panel

The agent docked to the side of the page, which stays usable beside it.

npx shadcn@latest add https://loom.mkhonta.com/r/panel.json

Usage

const [panel] = useState(createLoomPanelController);

<LoomPanelTrigger controller={panel}>Ask support</LoomPanelTrigger>
<LoomPanel chat={chat} controller={panel} />

Props and details are in the docs.

Installs

  • components/loom/panel.tsx
  • @ui-sdk/react@0.1.0-beta.6
  • @ui-sdk/core@0.1.0-beta.6
  • lucide-react
NextWidget →