adapter sdk
DSUI's UI primitives for building adapter pages.
DSUI ships 28 builtin components. Adapters compose them in render functions — no React, HTML, or CSS crosses the server boundary.
| Component | Purpose |
|---|---|
| Grid | CSS grid with 1-6 columns |
| Columns | Multi-column weighted layout |
| Flex | Flexbox row or column |
| Stack | Vertical stack with gap |
| SplitPane | Sidebar + content + inspector |
| Component | Purpose |
|---|---|
| Table | Data table with rows, actions, filters |
| Value | Single field from a data source |
| KeyValue | Key-value pairs |
| Meter | Horizontal bar chart |
| Badge | Status indicator |
| Icon | Named icon |
| Collection | Iterate over a data source |
| ResourceTree | Hierarchical tree navigator |
| Component | Purpose |
|---|---|
| Card | Versatile container with title, badge, link |
| Section | Titled content block |
| PageHeader | Page-level header |
| Tabs | Tabbed interface |
| Resource | Data-binding wrapper |
| Component | Purpose |
|---|---|
| Button | Clickable action trigger |
| Form | Zod-driven form |
| Select | Dropdown input |
| TextInput | Text input field |
| Component | Purpose |
|---|---|
| CodeBlock | Read-only syntax-highlighted code |
| CodeEditor | Editable code editor (browser only) |
| QueryEditor | Query editor with explorer sidebar |
| Component | Purpose |
|---|---|
| Notebook | Full notebook with markdown + code blocks |
| NotebookCatalog | Notebook listing view |
| Link | Navigational link |