A comprehensive design system and component library optimized for Claude AI artifact generation. This project provides standardized UI patterns, design tokens, and implementation guidelines for creating consistent, professional interfaces across all Claude platforms.
View the complete style guide: https://jcmrs.github.io/claude-visual-style-guide/
This Visual Style Guide serves as the primary design system reference for Claude AI when generating UI artifacts. It follows Anthropic's clean, minimal aesthetic and provides:
- Machine-readable design tokens and component specifications
- Comprehensive component library with shadcn/ui foundation
- Responsive layouts and dark mode support
- Cross-platform optimization for Claude Code, Desktop, Web, iOS, and Android
/
├── src/
│ ├── components/ # React components demonstrating patterns
│ ├── CLAUDE_DESIGN_SYSTEM_GUIDE.md # Comprehensive implementation guide
│ ├── COMPONENT_SPECIFICATIONS.md # Technical component specs
│ └── claude-design-tokens.json # Machine-readable design tokens
├── CLAUDE.md # Claude Code project configuration
├── CLAUDE_DESKTOP_CUSTOM_INSTRUCTIONS.md # Desktop/Web/iOS/Android guide
├── CUSTOM_INSTRUCTIONS.txt # Compressed Custom Instructions
├── CLAUDE_DESKTOP_TEST_INSTRUCTION.md # Validation test instruction
└── test-artifact-sample.html # Working validation example
-
Install dependencies:
npm install
-
Start development server:
npm run dev
-
Build for production:
npm run build
- The repository is ready for Claude Code with comprehensive documentation in
CLAUDE.md - All design patterns are accessible through the project files
-
Apply Custom Instructions:
- Copy content from
CUSTOM_INSTRUCTIONS.txt - Paste into your Claude platform's Custom Instructions settings
- Copy content from
-
Validate Installation:
- Use the test instruction from
CLAUDE_DESKTOP_TEST_INSTRUCTION.md - Generate a test artifact to verify all components work correctly
- Compare results with the live demo
- Use the test instruction from
- Semantic color system with light/dark mode support
- Consistent typography scale and spacing patterns
- Border radius and shadow definitions
- CSS custom properties for maximum flexibility
- Built on shadcn/ui foundation
- Full TypeScript support
- Responsive design patterns
- Accessibility considerations
- Claude Code: Full repository access with comprehensive tooling
- Other Platforms: Token-optimized Custom Instructions for single-artifact generation
- CDN-ready: Self-contained components using React, Tailwind, and Lucide via CDN
| File | Purpose | Target Platform |
|---|---|---|
CLAUDE.md |
Project configuration and best practices | Claude Code |
CLAUDE_DESKTOP_CUSTOM_INSTRUCTIONS.md |
Detailed implementation guide | Desktop/Web/iOS/Android |
CUSTOM_INSTRUCTIONS.txt |
Compressed Custom Instructions | Desktop/Web/iOS/Android |
CLAUDE_DESKTOP_TEST_INSTRUCTION.md |
Validation test generator | Desktop/Web/iOS/Android |
src/CLAUDE_DESIGN_SYSTEM_GUIDE.md |
Complete design system documentation | All platforms |
src/COMPONENT_SPECIFICATIONS.md |
Technical component specifications | All platforms |
src/claude-design-tokens.json |
Machine-readable design tokens | All platforms |
- Reference the comprehensive documentation in project files
- Use the build tools and development environment for testing
- Follow patterns established in the component examples
- Apply the Custom Instructions from
CUSTOM_INSTRUCTIONS.txt - Use the test instruction to validate functionality
- Generate UI artifacts using the established patterns
- Always implement dark mode support
- Use CSS custom properties for theming
- Apply consistent spacing patterns
- Follow responsive design principles
- Use Lucide React for all iconography
- Frontend: React 18 + TypeScript
- Build System: Vite
- Styling: Tailwind CSS + CSS Custom Properties
- Components: shadcn/ui
- Icons: Lucide React
- Deployment: GitHub Actions + GitHub Pages
The design system follows established patterns and guidelines. When contributing:
- Maintain consistency with existing component patterns
- Ensure dark mode compatibility
- Follow the spacing and typography scales
- Test across different screen sizes
- Update documentation as needed
This implementation is based on the Figma design available at: https://www.figma.com/design/iwggjmSRjVzeXnEibszMHD/Visual-Style-Guide
This project serves as a reference implementation for Claude AI artifact generation and follows established open-source component library patterns.