← ReferenceAttribute referenceEvery attribute on every View, Button, Collection, TabView, etc. Structured from the same `attribute_definitions.json` the MCP server serves, so what you read here is what the agents, the validator, and the generator all see.auto-generated
How the index is structuredTwo axes: component → attribute. Each attribute row carries name, type (one of string / number / boolean / array / binding / a union), required flag, default, and a short description. Union types collapse to the most restrictive intersection when a binding is one of the options (practically: binding always works where the non-binding form works).
Where the data comes fromThe canonical source is `shared/core/attribute_definitions.json` in jsonui-cli. That file is what the MCP server's lookup_component / lookup_attribute tools serve, what `jui verify` validates against, and what the generator consults when emitting platform-specific code. Changing an attribute in three places would create drift; we keep exactly one authoritative file.
How to searchSite-wide search is built in: hit ⌘K (Ctrl-K on Windows / Linux) from any page. It runs a FlexSearch index over every page title, lead, and section heading — including every component and category page of this reference — and jumps straight to the anchor. Within a single page, Ctrl-F still works: each category page is one document, so the browser search sees every attribute row on it at once.
Adding a new attributeEdit `shared/core/attribute_definitions.json` in jsonui-cli with the new entry, rebuild the rjui_tools spec that generates this page, and `jui sync_tool` into your project. The rule: never hand-author reference prose that duplicates the schema — if it belongs in the reference, it belongs in the schema.
All attribute categoriesCommon attributes grouped into nine categories. Tap any card to see all attributes in that category.
LayoutComponent size and axis behavior: width, height, weight, aspectRatio./reference/attributes/layout
SpacingInner (padding) and outer (margin) empty space around components./reference/attributes/spacing
AlignmentA component's position relative to its parent and siblings./reference/attributes/alignment
StateVisibility, enabled, alpha — interaction and rendering gates./reference/attributes/state
Binding@{value}, @string/key, @event — wire JSON to ViewModel fields./reference/attributes/binding
EventonClick, onLongPress, onAppear — bind user interactions to the ViewModel./reference/attributes/event
StyleBackground, border, cornerRadius, shadow, and style presets./reference/attributes/style
ResponsiveBreakpoint-specific overrides and per-platform rendering filters./reference/attributes/responsive
MiscIdentity, metadata, composition, and debug attributes that don't fit elsewhere./reference/attributes/misc
Keep reading
Component referenceThe other axis of the same index./reference/components
JSON SchemaThe formal schema for Layout JSON + screen_spec./reference/json-schema