Component Patterns Skill
UI component patterns with style-specific implementations and accessibility.
Overview
This skill provides comprehensive component patterns with multiple design style implementations, accessibility features, and best practices for modern frontend development.
Claude-Inspired Component Guidance
When the selected style is claude, keep component visuals calm and semantic:
- Use
surface.canvasfor the page,surface.raisedfor cards and fields,ink.strongandink.mutedfor text, andedge.subtlefor 1px boundaries. - Use the selected palette's semantic contract (the generator defaults to
brand) for coral actions and selected states; pair itssolidtoken withcontrastand use itsfgtoken for text links. - Prefer
radii.surfaceandshadows.surface, generous spacing, sentence-case labels, and readable 60-70ch content measures. - Avoid gradients, glass effects, decorative noise, oversized shadows, and motion that ignores
prefers-reduced-motion. - For Chakra UI v3 token and
colorPaletteAPI details, follow the canonical