CSS-in-JS with Styled Components
Style React applications with Styled Components and best practices
.antigravity
# CSS-in-JS with Styled Components
## Component Styling
- Create styled components
- Use props for variants
- Implement theming
- Extend existing styles
## Theme Management
- Define theme object
- Use ThemeProvider
- Access theme in components
- Support dark mode
## Performance
- Use transient props ($)
- Implement shouldForwardProp
- Minimize runtime styles
- Use css helper
## Best Practices
- Colocate styles
- Use semantic naming
- Avoid style props
- Implement design system