Overview of Griffel features
mainGriffel is a CSS-in-JS library designed with near-zero runtime and SSR support. Key features include:
- Zero config start: Supports both runtime and build-time implementations.
- Performance: Optional build-time transforms (e.g., via Webpack loader) are available to improve performance.
- Type-safety: Styles are type-safe via
csstype. - Atomic CSS: Uses Atomic CSS to maximize style reuse and prevent CSS specificity issues.
- CSS Extraction: Experimental CSS extraction is available via a Webpack plugin.
- Debugging: Supports the Griffel DevTools browser extension for debugging styles.