DynamicUI
Context-aware component that reads from AssistantProvider:Props
| Prop | Type | Description |
|---|---|---|
className | string | Additional CSS class names |
DynamicButtonRenderer
Custom renderer for individual buttons:DynamicButtonGroupRenderer
Custom renderer for button groups:Button Properties
Buttons created by the AI have these properties:Button Groups
Buttons can be organized in groups:Complete Example
Styling
Buttons use standard variants you can style:default— Primary actiondestructive— Dangerous action (red)outline— Bordered, transparent backgroundsecondary— Muted appearanceghost— Minimal, text only