Frontend UI Design System

Standardized guidelines and patterns for Frontend Ui Design System.

valec3 321ca26 1.1 KB Updated

File contents

Frontend Ui Design System

When to use this skill

  • Creating a design system
  • Maintaining component library
  • Ensuring design consistency

Workflow

  • Define design tokens (colors, spacing, typography)
  • Create base components
  • Document component usage
  • Version design system
  • Establish contribution guidelines

Instructions

Design Tokens

// tokens/colors.ts
export const colors = {
  primary: {
    50: '#eff6ff',
    500: '#3b82f6',
    900: '#1e3a8a'
  },
  semantic: {
    success: '#10b981',
    error: '#ef4444',
    warning: '#f59e0b'
  }
};

Component Structure

design-system/
├── tokens/
│   ├── colors.ts
│   ├── spacing.ts
│   └── typography.ts
├── components/
│   ├── Button/
│   ├── Input/
│   └── Card/
└── docs/
    └── [component].stories.tsx

Resources

  • Document all components
  • Version with semantic versioning
  • Use Storybook for documentation

valec3/Agents.skills.md/tree/main/.agent/skills/frontend-ui-design-system commit 321ca26116

Frequently asked questions

npx skillmds add valec3/frontend-ui-design-system