{"library":"style9","type":"library","category":null,"description":"style9 is a compile-time CSS-in-JS library inspired by Facebook's Stylex, extracting atomic CSS strings during build with near-zero runtime overhead. Version 0.18.2 ships TypeScript types and supports Webpack, Rollup, Next.js, Gatsby, and Vite via dedicated plugins. It uses a style.create() pattern similar to styled-components but outputs deterministic class names and minimal runtime (just a single function that maps conditions to pre-computed class strings). Unlike runtime-heavy alternatives, style9 shifts all style computation to build time, making it suitable for performance-critical applications. The library is framework-agnostic and actively maintained on GitHub.","language":"javascript","status":"active","version":"0.18.2","tags":["javascript","styles","css","css-in-js","babel","babel-plugin","gatsby","gatsby-plugin","next","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install style9","imports":["import style9 from 'style9'","const Style9Plugin = require('style9/webpack');","import style9 from 'style9'; style9.keyframes({ from: { opacity: 0 }, to: { opacity: 1 } });"]},{"cmd":"yarn add style9","imports":[]},{"cmd":"pnpm add style9","imports":[]}],"homepage":null,"github":"https://github.com/johanholmerin/style9","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/style9","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}