Basiiik

v0.8.0
io.github.shubhankarsd/basiiik Checked 3 days ago Published 1 month ago

Design 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.

ParameterTypeDescription
categorystring
statusstring

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.

ParameterTypeDescription
query *string
limitinteger

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.

ParameterTypeDescription
componentstringe.g. "button", "Text Field", "TextField"
idstringAlias of "component"
namestringAlias of "component"
slugstringAlias 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.

ParameterTypeDescription
childrenstringText content, for components that take children
componentstringe.g. "modal", "Text Field"
idstringAlias of "component"
namestringAlias of "component"
propsobject
slugstringAlias 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.

ParameterTypeDescription
categorystring
limitintegerDefault 8 for a query; with no query, every icon (or every icon of the category)
querystring

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.

ParameterTypeDescription
iconstringe.g. "trash", "TrashIcon", "arrow right"
idstringAlias of "icon"
namestringAlias of "icon"
slugstringAlias 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.

ParameterTypeDescription
layerstring
limitinteger
prefixstring
searchstring
typestring

get_token Get one token

One token by dotted name ("color.text.primary") or CSS variable ("--color-text-primary" or "var(--color-text-primary)").

ParameterTypeDescription
idstringAlias of "token"
namestringAlias of "token"
slugstringAlias of "token"
tokenstringe.g. "color.text.primary" or "--color-text-primary"