@linaria/webpack-loader
@linaria/webpack-loader
npm i @linaria/webpack-loader
@linaria/webpack-loader

@linaria/webpack-loader

Zero-runtime CSS in JS library

by callstack

4.1.8 (see all)License:MITTypeScript:Built-In
npm i @linaria/webpack-loader
Readme

Linaria

Zero-runtime CSS in JS library.


📖 Please refer to the GitHub for full documentation.

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

Why use Linaria

Installation

npm install @linaria/core @linaria/react @linaria/babel-preset

or

yarn add @linaria/core @linaria/react @linaria/babel-preset

Downloads/wk

20.5K

GitHub Stars

9.8K

LAST COMMIT

9mos ago

MAINTAINERS

4

CONTRIBUTORS

110

OPEN ISSUES

114

OPEN PRs

11
VersionTagPublished
4.1.8
latest
1mo ago
3.0.0-beta.23
beta
3mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate