Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Access runtime config in React apps.
useSidebarConfig
import { useSidebarConfig } from 'sidenetai-sdk'; function MyComponent() { const config = useSidebarConfig(); return <div>Greeting: {config.text.greeting.title}</div>; }
Sidebar
import { Sidebar } from 'sidenetai-sdk'; <Sidebar config={{ position: 'right', width: '400px', userId: 'user-123', copilotId: 'copilot-456', }} onWidthChange={(width) => console.log(width)} onAgentChange={(agentId) => console.log(agentId)} />