# wix/stylable

Stylable - CSS for components

Repository: https://github.com/wix/stylable
Canonical: https://ross.abutalabs.com/products/stylable
Homepage: https://stylable.io
Language: TypeScript
License: MIT
License Family: permissive
Topics: css, components, style, theme, design-system, preprocessor, web-components, webpack
Last push: 2025-04-12T12:36:43+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 16, release rhythm 8, longevity 100
- inputs: {"age_days": 3356, "days_push": 508, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1274, forks 61 (observed 2026-08-28T04:04:12.707437+00:00)

## What it is
Stylable is a CSS preprocessor and type system from Wix that scopes styles to components, exposing a style API so components can be reused across teams without style clashes. It compiles at build time to flat, valid vanilla CSS and integrates via a webpack plugin with any component framework.

## Use cases
- scope css styles to components so they don't leak
- build a design system with reusable styled components
- add a type system to css with build-time errors
- reduce css bundle size with rule-shaking
- style components externally via pseudo-classes and pseudo-elements
- use css variables and mixins at build time

## When to choose
- you're building a large component library or design system on webpack
- you want scoped, clash-free CSS with a style API per component
- you want build-time validation and IDE intelligence for styles

## When to avoid
- your project doesn't use webpack or a supported bundler integration
- you just need simple global or utility CSS
- you prefer runtime CSS-in-JS solutions

## Facets
- artifact type: library
- maturity: active
- function: css-framework, build-tool, templating, theme
- domain: frontend, web-development, web-design
- platform: cross-platform
- tags: css-preprocessor, scoped-css, design-system, webpack-plugin, style-api, component-styling, type-safe-css, nodejs, web-server

## Member repositories
- wix/stylable (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.707437+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:10.286584+00:00, confidence not recorded.
  - readme: https://github.com/wix/stylable (fetched 2026-08-28T04:04:12.707437+00:00, sha a5512c83ec02)
  - homepage: https://stylable.io (fetched 2026-08-29T12:14:28.199078+00:00, sha f617f0563fa3)
  - site_page: https://stylable.io/docs/getting-started/intro (fetched 2026-08-29T12:14:28.208375+00:00, sha f5862e016199)
  - site_page: https://stylable.io/docs/guides/handbook/intro (fetched 2026-08-29T12:14:28.210206+00:00, sha 03b4dd5d541f)
  - site_page: https://stylable.io/docs/references/cheatsheet (fetched 2026-08-29T12:14:28.211904+00:00, sha b04143b1b80b)
  - site_page: https://stylable.io/docs/style-guide (fetched 2026-08-29T12:14:28.213472+00:00, sha 9cac4469b7ff)
  - site_page: https://stylable.io/docs/attributions (fetched 2026-08-29T12:14:28.215271+00:00, sha 0fd90a8b589e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
