Getting started
AI tools and MCP
AI coding tools build better UI when they know your design system. Nexub gives them the components, patterns, tokens and rules of the release you install, so they reach for Button and --color-primary instead of generic Tailwind and hex colours. Pick whichever way fits your tool; all of them are built from the same source as these docs.
MCP server
@nexub/mcp is a Model Context Protocol server. It answers from the reference of the version it was published with, and is versioned with @nexub/react.
Claude Code
claude mcp add nexub-ds -- npx -y @nexub/mcpCursor, Windsurf, VS Code and other clients
Add it to the client's mcpServers config:
{
"mcpServers": {
"nexub-ds": { "command": "npx", "args": ["-y", "@nexub/mcp"] }
}
}Tools
| Tool | Returns |
|---|---|
| get_guidelines | Setup, how to build a screen, Calm Depth, Liquid Glass and copy rules, and the review checklist |
| list_components | Every component and pattern, optionally filtered, e.g. query "chart" |
| get_component | Props, import, examples, when to use and accessibility for one component, e.g. name "BarChart" |
| get_tokens | Colour roles, type, spacing, shape, elevation and motion, with the Tailwind utilities |
| get_react_native | Mobile: @nexub/react-native setup, components, screen patterns and rules |
Claude Code plugin
The nexub-ds plugin ships the same content as a skill, so Claude Code loads the rules only when you build UI:
claude plugin marketplace add Nexub-AI/nexub-ds
claude plugin install nexub-ds@nexubllms.txt and Markdown pages
/llms.txt is the index for language models (llmstxt.org). It links each component and pattern to its Markdown version.
/llms-full.txt is everything in one file: the rules, tokens and every component. Paste it into a chat, or attach it to a project.
Every component and pattern page has a Markdown twin at the same URL plus
.md, for example /components/button.md. Use Copy as Markdown at the top of a page to paste it into any AI chat.
Prompts that work
“Build a billing settings page with Nexub: plan, payment method and invoices.”
“Add a revenue chart to this dashboard with the Nexub charts kit, monthly, this year against last year.”
“Review this screen against the Nexub checklist and fix anything that isn't a token or a Nexub component.”
“Theme this app for our brand colour #e4572e with a server-rendered stylesheet.”
Building chat or agent UI itself? See Building AI surfaces.