Skip to content
MCP ThesaurusMCP Thesaurus

useVyre Context

CommunityIncomplete39/100Claim

npm @usevyre/mcp-serverstdioMITupdated 1mo ago

AI-native design system for humans and agents. Built on semantic CSS variables โ€” no runtime magic, no hallucinations.

SourceWebsiteDocs7

What can you do with useVyre Context?

useVyre

AI-native design system for humans and agents. Built on semantic CSS variables โ€” no runtime magic, no hallucinations.

MIT License npm usevyre.com


Why useVyre?

Most design systems were built for humans reading documentation. useVyre is built for both โ€” every naming convention, token structure, and component API is designed so that AI coding agents (Claude, Cursor, Copilot, Windsurf) can generate correct, consistent UI without guessing.

Problem useVyre solution
AI hallucinates component props Every component has an inline AI context block
AI uses raw color values Semantic tokens replace all raw colors
AI generates inconsistent spacing 4px grid enforced via spacing tokens
AI doesn't know valid variants data-variant API is explicit and enumerated
Design system only works in one framework CSS variables work everywhere

Packages

Core

Package Version Downloads Description
@usevyre/tokens npm downloads DTCG-compliant design tokens โ†’ CSS variables, JS/TS, JSON
@usevyre/react npm downloads React + TypeScript components
@usevyre/vue npm downloads Vue 3 + TypeScript components
@usevyre/init npm downloads One-command setup CLI (npx @usevyre/init)
@usevyre/all ยท react-all ยท vue-all โ€” โ€” Convenience meta-packages (tokens + components in one install)

AI tooling

Package Version Downloads Description
@usevyre/ai-context npm downloads Machine-readable component schema for LLM system prompts
@usevyre/mcp-server npm downloads MCP server โ€” gives agents live access to the component schema
@usevyre/eslint-plugin npm downloads Lints for invalid variants, raw colors, hallucinated props
@usevyre/validate-ai-context npm downloads CI check that the AI context stays in sync with components
@usevyre/prompt-templates npm downloads Ready-made prompts for generating UI with useVyre

Components

40+ production-ready components for React and Vue โ€” buttons, forms (Input, Field, Radio, Checkbox, Select), overlays (Modal, Sheet, Popover, Tooltip), data (DataGrid, Table, Pagination), layout (Sidebar/AppLayout, Card, Tabs), and richer pieces like Kanban, Conversation (chat), DateRangePicker, and a zero-dependency RichTextEditor โ€” plus more on the way.

Every component ships with an inline AI-context block, a machine-readable schema entry, and documented anti-patterns.

Browse the full list with live demos โ†’ usevyre.com/docs/components


Quick Start

# React
npm install @usevyre/tokens @usevyre/react

# Vue 3
npm install @usevyre/tokens @usevyre/vue
// Import once at your app entry point
import "@usevyre/react/styles";   // tokens + component styles (one import)

import { Button, Card, DataGrid } from "@usevyre/react";

Full setup guide โ†’ usevyre.com/docs/installation


Examples

Real, multi-page layouts built entirely from useVyre components:


Design Principles

  1. Semantic over primitive โ€” --vyre-color-semantic-accent not --amber-400
  2. Explicit over implicit โ€” every valid value is documented inline
  3. Zero runtime โ€” pure CSS variables, works in any framework
  4. AI-first naming โ€” token names describe intent, not appearance
  5. Copy-paste friendly โ€” no mandatory build setup, just import CSS and go

Monorepo Structure

usevyre/
โ”œโ”€โ”€ packages/
โ”‚   โ”œโ”€โ”€ tokens/                @usevyre/tokens
โ”‚   โ”œโ”€โ”€ react/                 @usevyre/react
โ”‚   โ”œโ”€โ”€ vue/                   @usevyre/vue
โ”‚   โ”œโ”€โ”€ all/ react-all/ vue-all/   convenience meta-packages
โ”‚   โ”œโ”€โ”€ ai-context/            @usevyre/ai-context
โ”‚   โ”œโ”€โ”€ mcp-server/            @usevyre/mcp-server
โ”‚   โ”œโ”€โ”€ eslint-plugin/         @usevyre/eslint-plugin
โ”‚   โ”œโ”€โ”€ validate-ai-context/   @usevyre/validate-ai-context
โ”‚   โ””โ”€โ”€ prompt-templates/      @usevyre/prompt-templates
โ”œโ”€โ”€ apps/
โ”‚   โ””โ”€โ”€ docs/                  usevyre.com documentation site
โ””โ”€โ”€ README.md

Local Development

Run the docs site locally to browse all component examples and live demos.

Prerequisites: Node.js โ‰ฅ 18, pnpm โ‰ฅ 9

# 1. Clone and install
git clone https://github.com/gapra/usevyre.git
cd usevyre
pnpm install

# 2. Build design tokens (required โ€” components import CSS variables from here)
pnpm --filter @usevyre/tokens build

# 3. Start the docs dev server
pnpm --filter @usevyre/docs dev

Open http://localhost:4321 in your browser.

Shortcut โ€” tokens build + dev server in one command:

pnpm dev:docs

Contributing

This project is in early development. Feedback, ideas, and bug reports are very welcome โ€” open an issue to get started.


License

MIT ยฉ Gapra