styled-components
SolidStyled Components theming, variants, SSR support, and patterns.
Web & Frontend 814 stars
53 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Styled Components Skill
Expert assistance for CSS-in-JS with styled-components.
## Capabilities
- Create styled components
- Implement theming
- Handle SSR
- Create variants
- Extend components
## Patterns
```typescript
import styled, { css } from 'styled-components';
const Button = styled.button<{ $variant?: 'primary' | 'secondary' }>`
padding: 0.5rem 1rem;
border-radius: 0.25rem;
${({ $variant }) =>
$variant === 'primary' &&
css`
background: ${({ theme }) => theme.colors.primary};
color: white;
`}
`;
// Theming
const theme = {
colors: { primary: '#3b82f6' },
};
<ThemeProvider theme={theme}>
<Button $variant="primary">Click me</Button>
</ThemeProvider>
```
## Target Processes
- react-application-development
- theming-implementation
- component-library
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Related Skills
Web & Frontend Featured
antigravity-design-expert
Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.
38,979 Updated today
sickn33 Web & Frontend Featured
frontend-design
You are a frontend designer-engineer, not a layout generator.
38,979 Updated today
sickn33 Web & Frontend Featured
ui-component
Generate a new UI component that follows StyleSeed Toss conventions for structure, tokens, accessibility, and component ergonomics.
38,979 Updated today
sickn33