react-impl-styling
Installation
SKILL.md
react-impl-styling
Quick Reference
Styling Approach Decision Tree
Need to style a React component?
├── Is it a dynamic value computed at runtime (e.g., position, color from props)?
│ └── YES → Use inline styles with React.CSSProperties
├── Is the project using Tailwind CSS?
│ └── YES → Use Tailwind utility classes with cn() helper
├── Do you need scoped, file-level styles?
│ └── YES → Use CSS Modules (.module.css)
├── Do you need a component library with runtime theming?
│ └── YES → Consider CSS-in-JS (styled-components / Emotion)
└── DEFAULT → Use CSS Modules (safest, zero-runtime, best performance)
Related skills