Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic

AI, MCP & CLI

Prismora is designed so coding agents can build correct UI on the first try: one predictable API, machine-readable manifests, and tools that validate their output.

Machine-readable sources

ResourceContents
/llms.txtA short index of the docs and the core rules for agents.
/llms-full.txtEvery component with its attributes, enums, events, slots, parts and examples.
@prismora/elements/components.jsonThe same API as JSON: the source for wrappers, docs and the MCP server.
custom-elements.jsonThe standard Custom Elements Manifest (IDE and Storybook tooling).

MCP server

Give Claude Code, Cursor or any MCP client direct access to the design system:

claude mcp add prismora -- npx -y @prismora/mcp # or in an mcp.json { "mcpServers": { "prismora": { "command": "bunx", "args": ["@prismora/mcp"] } } }
ToolDoes
list_componentsLists every component with a one-line summary.
get_componentReturns the full API plus a usage snippet for a framework (html, react, vue, svelte, solid, angular).
search_tokensFinds design tokens by name or purpose.
generate_themeSeed and options → theme CSS plus a contrast report.
import_theme_urlTurns a generator share link into a config and CSS.
validate_markupFlags unknown tags, invalid attribute values and missing labels.
scaffold_pageA whole page from any template (see Templates), in your framework. Templates with working controls also return their data and behaviour files.
scaffold_app_shellThe app shell as a layout component: sidebar, app bar and the place for your pages.
ai_ui_kitFor an app with its own AI chat: the prompt and tool that let its model answer with components.
validate_ai_uiChecks the components of such an answer against the catalogue.

CLI

npx @prismora/cli init # interactive: framework, theme, files to change npx @prismora/cli theme generate --seed "#0ea5e9" --surface glass -o theme.css npx @prismora/cli theme build prismora.theme.ts -o theme.css npx @prismora/cli theme import "https://prismora.design/generator#t=1.…" -o theme.css npx @prismora/cli doctor # contrast audit of your theme

Drop-in agent instructions

Paste this into your project's AGENTS.md or CLAUDE.md:

## UI: Prismora - Use Prismora components (<pm-*> / @prismora/<framework>) and tokens (--pm-*); never hard-code colours, radii or shadows. - Shared props on every component: variant (solid|soft|outline|ghost|link), tone (accent|secondary|neutral|success|warning|danger|info), size (xs–xl), surface (flat|outline|gradient|glass|neumorphic), radius, density, motion. - Every form control needs a label (label="…"); icon-only buttons need label="…". - Before writing a component, read its API: MCP get_component, or /llms-full.txt. - Validate generated markup with MCP validate_markup.