Skip to content
Aihio v2.3.0
Search
GitHub
Search Describe what you are building, or name a component, intent, or token. Components and patterns are ranked the way the MCP server's find tool ranks them for an agent.

27 intents

Intents

An intent names what a piece of UI is for: primary-action, selection, modal. Every component and pattern declares the intents it serves, so a request can be matched to a component by meaning before anything is said about how it looks. This is the map an agent reads from the prompt fragment and the MCP server's find tool, as a page.

From intent to component

Mark up an element with data-aihio-intent to say which one it serves. The linter checks the annotation against the component's schema, so a claim it cannot back is an error.

action
Any user-triggerable action.
primary-action
The dominant action in a given context (e.g. submit, confirm).
destructive-action
An action with irreversible or data-losing consequences.
toggle-state
Toggles a binary state without navigating or submitting.
selection
Lets the user pick one item from a set.
form-field
Collects a single value from the user as part of a form.
text-entry
A form field specifically for free-form text.
status
Displays current state (badges, pills, counts).
informational
Non-blocking guidance or context.
alert
Important message that requires attention.
error
Communicates a failure or invalid state.
No component of its own: compose it.
container
Groups related content without imposing meaning.
surface
A raised or bordered region that frames content (card, panel).
overlay
Content that renders on top of the page (dialog, popover).
identity
Represents a person or entity (avatar, name chip).
labeling
Short label or tag attached to other content.
metadata
Ancillary descriptive text (titles, descriptions, captions).
tabs
Switches between sibling panels using a row of triggers.
tabular-data
Records laid out in rows and columns, compared by scanning down a column (a data table).
dismissible
Can be closed or hidden by the user.