{"repo":"callstack/linaria","free":true,"listed":false,"github":"https://github.com/callstack/linaria","clone":"git clone https://github.com/callstack/linaria.git","description":"Zero-runtime CSS in JS library","language":"TypeScript","stars":12344,"topics":["css","css-in-js","css-in-react","react"],"license":"MIT","category":"ui-components","readme_excerpt":"Zero-runtime CSS in JS library. --- [![Build Status][build-badge]][build] [![Code Coverage][coverage-badge]][coverage] [![Version][version-badge]][package] [![MIT License][license-badge]][license] [![All Contributors][all-contributors-badge]](#contributors) [![PRs Welcome][prs-welcome-badge]][prs-welcome] [![Chat][chat-badge]][chat] [![Code of Conduct][coc-badge]][coc] [![Greenkeeper][greenkeeper-badge]][greenkeeper] [![Sponsored by Callstack][callstack-badge]][callstack] [![tweet][tweet-badge]][tweet] Features - Write CSS in JS, but with zero runtime , CSS is extracted to CSS files during build - Familiar CSS syntax with Sass like nesting - Use dynamic prop based styles with the React bindings, uses CSS variables behind the scenes - Easily find where the style was defined with CSS sourcemaps - Lint your CSS in JS with stylelint - Use JavaScript for logic , no CSS preprocessor needed - Optionally use any CSS preprocessor such as Sass or PostCSS - Supports atomic styles with @linaria/atomic Why use Linaria Learn how Airbnb improved both developer experience and web performance with Linaria Installation or Setup Linaria is now built on top of wyw-in-js.dev. It supports various bundlers to extract the CSS at build time. To configure your bundler, check the following guides on the wyw-in-js.dev site: - webpack - esbuild - Rollup - Vite - Svelte See Configuration to customize how Linaria processes your files. Stability Linaria relies on WyW ( @wyw-in-js/ ) to evaluate your modules","default_branch":null,"files":null,"tree":[],"storefront":"/r/callstack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/callstack/linaria/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}