# Dreamy UI

> Building any sort of frontend in React Use when this capability is needed.

- Skill: `tomevault-io/dreamy-ui` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/dreamy-ui`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/dreamy-ui/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/dreamy-ui

---


# Dreamy UI React Rule

## Scope

This skill applies to **all React UI development** (pages, components, layouts, widgets, forms, dashboards, etc.), EXCEPTS stuff like React Email and similar.

## Rule

Whenever building any React-based user interface, you MUST use **Dreamy UI** as the primary and default UI component library.

You MUST NOT use other UI libraries (e.g. Material UI, Chakra, Radix, shadcn/ui, Ant Design, Mantine, Tailwind component kits) unless the user explicitly requests otherwise.

---

## Dreamy UI MCP Server (Required)

Dreamy UI provides a **Model Context Protocol (MCP) server** that exposes authoritative component data.

Before generating React UI code, you MUST:

1. Query the Dreamy UI MCP server to discover available components.
   - Use the MCP tool that lists components (e.g. `get_components`).

2. For each component you intend to use:
   - Fetch detailed component metadata (props, variants, types) (`get_component` tool).
   - Fetch at least one official usage example (`get_component_example` tool).

3. Treat MCP responses as the **single source of truth** for:
   - Component APIs
   - Props
   - Variants
   - Example usage patterns

Do not guess component APIs when MCP data is available.

---

## Panda CSS MCP Server (Design Tokens)

Dreamy UI depends on Panda CSS, so you SHOULD use the **Panda CSS MCP server** to get the correct design-system values instead of guessing.

- Use it to look up **design tokens** (including semantic tokens), **recipes**, **patterns**, **conditions/breakpoints**, keyframes, and usage reports.
- Treat Panda MCP responses as the **single source of truth** for token names/values and available recipe variants.

### Setup

- Initialize MCP config: `pnpm panda init-mcp`

### Useful Panda MCP Tools (Examples)

- `get_tokens`, `get_semantic_tokens`, `get_color_palette`
- `get_recipes`, `get_patterns`
- `get_conditions`
- `get_usage_report` (audit unused/missing tokens/recipes)

---

## Documentation Source

You MUST treat the following file as canonical documentation context:

https://dreamy-ui.com/llms.txt

Use it for:

- Installation guidance
- Component descriptions
- Design patterns
- Theming conventions
- Best practices

---

## Code Generation Requirements

- Import components from components folder that Dreamy UI cli generates. There SHOULD be a path setup currently. Example: `import { Button, EmptyState } from "@/ui";`
- Compose interfaces using Dreamy UI primitives if no single high-level component exists.
- Follow patterns shown in MCP examples whenever possible.

---

## Fallback Policy

If a requested UI pattern is not directly available in Dreamy UI:

1. Attempt to recreate it using existing Dreamy UI components and primitives. For example there is a <Modal /> component, but there ain't <Header />, but it can be easily crafted from current Dreamy UI components like <Flex />. 
2. If still not possible, ask the user for clarification **before** introducing any external UI library.

---

## Summary (Non-Negotiable)

- React UI → **Dreamy UI only**
- Component data → **Dreamy UI MCP**
- Documentation → **dreamy-ui.com/llms.txt**
- No alternative UI libraries without explicit user approval

---
> Source: [dreamy-ui/dreamy-ui](https://github.com/dreamy-ui/dreamy-ui) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-24 -->

