Box Kite
v2.4.2Box Kite's React styling engine as tools: props, components, and whether a value writes CSS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_docs Search Box Kite
Find the prop, component, nesting key or rule for what you are trying to build. Ranked across all four, so a goal ("fade in on mount", "sticky header", "right-to-left") finds the answer without knowing its name. Start here.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the UI should do, a CSS property, or a name you half-remember. |
kind | string | Narrow to one corpus. Leave out to search all four. |
limit | integer | How many hits (default 12). |
get_props Box style props
The full record for named style props: the CSS they write, every value they accept, and a measured example — plus, for a numeric prop, the scale measured at 1/2/4/8, because the dividers differ per prop (238 props in all). Nesting keys are answered here too: hover, focus, focusVisible, hasFocus, active, valid, hasValid, invalid, hasInvalid, optional, hasChecked, hasRequired, hasDisabled, visited, target, open, placeholderShown, autofill, inRange, outOfRange, inert, rtl, ltr, indeterminate, checked, required, disabled, selected, before, after, placeholder, selection, marker, firstLine, firstL…
| Parameter | Type | Description |
|---|---|---|
names * | array | Prop names, e.g. ["fontSize", "borderRadius", "bgColor"]. |
get_component Box Kite component
One component's whole contract: its props and their defaults, its sub-parts, its keyboard map and the ARIA it writes. Ask before composing a Dialog, Menu, Tabs, Combobox, DataGrid or any other behaviour component — the accessible mechanics are already in it.
| Parameter | Type | Description |
|---|---|---|
name * | string | Component name, e.g. "Tabs", "DataGrid", "Popover". A part name works too ("Tabs.Tab"). |
include | array | Only these sections. Leave out for all of them. |
check_styles Check props against the engine
Run a prop bag through the real styling engine and get back the CSS each prop writes — or why it wrote none. This is the only way to be sure: an unknown prop and an unaccepted value both produce no rule and no class name, with no warning anywhere. Use it on any prop bag you were not certain about, especially numbers and colour tokens.
| Parameter | Type | Description |
|---|---|---|
props * | object | The props as JSON, exactly as written: {"p": 4, "bgColor": "blue-550", "hover": {"opacity": 1}}. |
get_rules Box Kite rules
The 56 rules this library is written by — where the element comes from, where HTML attributes go, how a layer is anchored, how a theme scopes. With no arguments it lists all 56 headings; pass numbers for the ones you need in full.
| Parameter | Type | Description |
|---|---|---|
numbers | array | Rule numbers to read in full. Leave out for the index. |
get_blocks Installable blocks
Whole sections rather than atoms — a data-grid page, a settings form, a dashboard shell — installed by the shadcn CLI, which also installs the package. Reach for one before composing a large surface by hand.
| Parameter | Type | Description |
|---|---|---|
name | string | A block name for its files and dependencies. Leave out to list them. |