Basiiik
v0.8.0Design system for coding agents: component specs, rules, tokens, icons and checked React snippets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_design_system_guide Design system guide
The rules for generating UI with Basiiik: components first, tokens only, theming, accessibility. Read this before writing UI code.
list_components List components
List Basiiik components (88). Filter by category (actions, agents, data-display, feedback, inputs, navigation, overlays) or implementation status.
| Parameter | Type | Description |
|---|---|---|
category | string | |
status | string |
search_components Search components
Find the right component for a need, e.g. "confirm destructive action" or "show progress". Ranks by name, summary and when-to-use guidance.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
get_component Get component spec
Full spec for one component: when to use it, when not to, React props and their allowed values, accessibility rules, Figma variants and the tokens it uses. Accepts a slug, name or React component name.
| Parameter | Type | Description |
|---|---|---|
component | string | e.g. "button", "Text Field", "TextField" |
id | string | Alias of "component" |
name | string | Alias of "component" |
slug | string | Alias of "component" |
get_component_snippet Get component snippet
Generate an import and JSX usage snippet. Props are validated against the real component API, so invalid props or values return an error listing what is allowed, and a required prop you leave out (such as aria-label on IconButton) is filled with its example value and listed in the notes, so you always get code to adapt.
| Parameter | Type | Description |
|---|---|---|
children | string | Text content, for components that take children |
component | string | e.g. "modal", "Text Field" |
id | string | Alias of "component" |
name | string | Alias of "component" |
props | object | |
slug | string | Alias of "component" |
search_icons Search icons
Find an icon for a need or a word, e.g. "delete", "go back" or "warning" (52 icons, 16px outline). Matches names, synonyms and use text. Use this instead of drawing or inventing SVGs. Leave query empty and pass a category (actions, navigation, objects, status) to list one category.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | Default 8 for a query; with no query, every icon (or every icon of the category) |
query | string |
get_icon Get icon
One icon: its SVG, React import and usage, when to use it and when not to, and accessibility notes. Accepts a name ("trash"), a component name ("TrashIcon") or a loose phrase.
| Parameter | Type | Description |
|---|---|---|
icon | string | e.g. "trash", "TrashIcon", "arrow right" |
id | string | Alias of "icon" |
name | string | Alias of "icon" |
slug | string | Alias of "icon" |
list_tokens List design tokens
List tokens with their CSS variable and Light and Dark values. Filter by layer (semantic tokens are what product code should use), type, dotted-name prefix such as "color.text", or free-text search.
| Parameter | Type | Description |
|---|---|---|
layer | string | |
limit | integer | |
prefix | string | |
search | string | |
type | string |
get_token Get one token
One token by dotted name ("color.text.primary") or CSS variable ("--color-text-primary" or "var(--color-text-primary)").
| Parameter | Type | Description |
|---|---|---|
id | string | Alias of "token" |
name | string | Alias of "token" |
slug | string | Alias of "token" |
token | string | e.g. "color.text.primary" or "--color-text-primary" |