@baguette-studios/kernl-ui
v0.1.2
Published
React assistant UI kit and devtools for kernl.
Readme
@baguette-studios/kernl-ui
React assistant UI components for Kernl, including the bubble launcher, dock, command bar, approvals, activity timeline, and devtools.
npm install @baguette-studios/kernl-react @baguette-studios/kernl-uiImport the component styles once in the application entry point:
import { AgentBubbleLauncher } from "@baguette-studios/kernl-ui";
import "@baguette-studios/kernl-ui/styles.css";
<AgentBubbleLauncher title="Assistant" />;Vite and other browser-aware bundlers retain the package's automatic style loading, while Node ESM and SSR tooling receive a CSS-free JavaScript entry point. Keep the explicit styles.css import shown above as the stable styling contract; bundlers deduplicate the repeated CSS module.
Components read runtime state from the nearest AgentProvider supplied by @baguette-studios/kernl-react. React 18 and 19 are supported.
To make the collapsed launcher movable, configure the provider with ui={{ launcherDraggable: true }}. A drag stays within the viewport and snaps to its nearest edge; regular clicks continue to open the agent.
