Mekari Pixel 3 is a comprehensive design system for building consistent, accessible user interfaces in Vue.js applications. It provides a complete set of components, design tokens, and styling utilities following Mekari's design principles.
Implementation Guide
You are an expert design engineer specializing in implementing complex designs with the Mekari Pixel 3 design system. Follow this step-by-step guide to implement designs accurately and consistently.
Important:
Before coding, agents should check
Pixel already set up in the project
Theme configuration (Design Token 2.1 vs 2.4)
If unclear, start by using the Pixel MCP tools (get-docs) to gather getting started documentation and design token information.
Stack
- Nuxt 4 + TypeScript +
@mekari/pixel3
- Vue 3 Composition API + TypeScript +
@mekari/pixel3
Core Topics
| Topic |
Description |
Reference |
| Styling |
CSS Props, CSS Function, and stling rules |
styling |
| Components |
Pixel component catalog and usage patterns |
components |
| Design Tokens |
Color, spacing, and typography system |
design-tokens |
| Code Structure |
Vue SFC organization and best practices |
code-structure |
Step 1: Analyze Design
For Figma Designs (if working with Figma designs)
Use Figma MCP tools to extract design details:
Extract node ID from Figma URL
- Format:
https://figma.com/design/file-key?node-id=1-2 → Node ID: 1:2
- Replace hyphens with colons:
1-2 becomes 1:2
Use Figma MCP tools:
- Use
get_design_context(nodeId: "1:2") to get structured design data
- Use
get_screenshot(nodeId: "1:2") to get visual reference
Analyze design details:
- Visual hierarchy and layout structure
- Colors, typography, spacing values
- Interactive elements and their states
- Responsive behavior
For General Designs (if using natural language or other design sources)
- Analyze the design requested (ex: create a login form)
- Analyze visual hierarchy, layout, colors, spacing, typography
- Identify all components needed to implement the design (ex: buttons, inputs, modals, etc.)
Step 2: Get Pixel 3 Component Documentation
Use Pixel MCP tools to get components documentantion:
- Use
get-docs to setup Pixel design system if needed (ex: installation, theme setup, etc.)
- Use
get-component to identified component (ex: buttons, inputs, modals, etc.)
- Use
get-docs to get design tokens and additional context (ex: colors, spacing, typography, etc.)
Step 3: Implement Pixel 3 Components
See components reference for:
- Component mapping table (Figma elements to Pixel components)
- Common usage patterns (forms, cards, modals, icons)
- Prop validation guidelines
Step 4: Apply Styling
See styling reference for:
- Use Pixel CSS Props (primary for MpFlex, Pixel.div)
- Use Pixel CSS Function (secondary for other components)
- Use Design Token 2.4 (all values must use semantic tokens)
Step 5: Follow Code Structure
See code-structure reference for:
- Vue 3 SFC implementation
- Script setup code organization
- TypeScript best practices
Output Format
Provide complete implementation with:
- Vue Component Code (following code structure rules)
- Pixel Components Used (list all imported components)
- Design Tokens Applied (colors, spacing, typography used)
- Implementation Notes (decisions, assumptions, limitations)
MCP Reference
Pixel MCP Tools
get-docs - Get Pixel setup, tokens, and general docs
get-component - Get Pixel component documentation
Pixel MCP Prompts
implement-figma-to-pixel - Implement Figma designs with Pixel components
create-deisgn-to-pixel - Create designs using Pixel components
Figma MCP Tools (if working with Figma designs)
get_design_context - Extract structured design data from Figma
get_screenshot - Get visual reference from Figma node
get_metadata - Get high-level node map for large designs
Additional Resources
1---2name: pixel-2026-2-183description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill to implement designs from Figma nodes or natural language to Vue 3 component or Nuxt pages using Mekari Pixel 3 design system. Requires a working Pixel MCP server connection.4---56Mekari Pixel 3 is a comprehensive design system for building consistent, accessible user interfaces in Vue.js applications. It provides a complete set of components, design tokens, and styling utilities following Mekari's design principles.78# Implementation Guide910You are an expert design engineer specializing in implementing complex designs with the Mekari Pixel 3 design system. Follow this step-by-step guide to implement designs accurately and consistently.1112**Important:**13Before coding, agents should check1415- Pixel already set up in the project16- Theme configuration (Design Token 2.1 vs 2.4)1718 If unclear, start by using the Pixel MCP tools (`get-docs`) to gather getting started documentation and design token information.1920## Stack2122- Nuxt 4 + TypeScript + `@mekari/pixel3`23- Vue 3 Composition API + TypeScript + `@mekari/pixel3`2425## Core Topics2627| Topic | Description | Reference |28| -------------- | ------------------------------------------ | ---------------------------------------------- |29| Styling | CSS Props, CSS Function, and stling rules | [styling](references/styling.md) |30| Components | Pixel component catalog and usage patterns | [components](references/components.md) |31| Design Tokens | Color, spacing, and typography system | [design-tokens](references/design-tokens.md) |32| Code Structure | Vue SFC organization and best practices | [code-structure](references/code-structure.md) |3334---3536## Step 1: Analyze Design3738### For Figma Designs (if working with Figma designs)3940**Use Figma MCP tools to extract design details:**41421. **Extract node ID** from Figma URL43 - Format: `https://figma.com/design/file-key?node-id=1-2` → Node ID: `1:2`44 - Replace hyphens with colons: `1-2` becomes `1:2`45462. **Use Figma MCP tools:**47 - Use `get_design_context(nodeId: "1:2")` to get structured design data48 - Use `get_screenshot(nodeId: "1:2")` to get visual reference49503. **Analyze design details:**51 - Visual hierarchy and layout structure52 - Colors, typography, spacing values53 - Interactive elements and their states54 - Responsive behavior5556### For General Designs (if using natural language or other design sources)57581. Analyze the design requested (ex: create a login form)592. Analyze visual hierarchy, layout, colors, spacing, typography603. Identify all components needed to implement the design (ex: buttons, inputs, modals, etc.)6162## Step 2: Get Pixel 3 Component Documentation6364**Use Pixel MCP tools to get components documentantion:**65661. Use `get-docs` to setup Pixel design system if needed (ex: installation, theme setup, etc.)672. Use `get-component` to identified component (ex: buttons, inputs, modals, etc.)683. Use `get-docs` to get design tokens and additional context (ex: colors, spacing, typography, etc.)6970## Step 3: Implement Pixel 3 Components7172See [components reference](references/components.md) for:73741. Component mapping table (Figma elements to Pixel components)752. Common usage patterns (forms, cards, modals, icons)763. Prop validation guidelines7778## Step 4: Apply Styling7980See [styling reference](references/styling.md) for:81821. Use Pixel CSS Props (primary for MpFlex, Pixel.div)832. Use Pixel CSS Function (secondary for other components)843. Use Design Token 2.4 (all values must use semantic tokens)8586## Step 5: Follow Code Structure8788See [code-structure reference](references/code-structure.md) for:89901. Vue 3 SFC implementation912. Script setup code organization923. TypeScript best practices9394---9596# Output Format9798Provide complete implementation with:991001. **Vue Component Code** (following code structure rules)1012. **Pixel Components Used** (list all imported components)1023. **Design Tokens Applied** (colors, spacing, typography used)1034. **Implementation Notes** (decisions, assumptions, limitations)104105---106107# MCP Reference108109## Pixel MCP Tools110111- `get-docs` - Get Pixel setup, tokens, and general docs112- `get-component` - Get Pixel component documentation113114## Pixel MCP Prompts115116- `implement-figma-to-pixel` - Implement Figma designs with Pixel components117- `create-deisgn-to-pixel` - Create designs using Pixel components118119## Figma MCP Tools (if working with Figma designs)120121- `get_design_context` - Extract structured design data from Figma122- `get_screenshot` - Get visual reference from Figma node123- `get_metadata` - Get high-level node map for large designs124125## Additional Resources126127- [Mekari Pixel 3 Documentation](https://docs.mekari.design/)128- [Figma MCP Server Documentation](https://developers.figma.com/docs/figma-mcp-server/)129- [Figma MCP Server Tools and Prompts](https://developers.figma.com/docs/figma-mcp-server/tools-and-prompts/)