Stylable icon
Stylable icon

Stylable

At Wix, we agree. We ? CSS. It’s simple, declarative syntax that is native in browsers is easily the fastest way to add styles to web pages and web apps. But when writing CSS that is scoped to individual components, developers have to maintain highly-specific selectors, using...

Cost / License

  • Free
  • Open Source

Platforms

  • Self-Hosted
  • CSS
-
No reviews
0likes
0comments
0news articles

Features

Suggest and vote on features
  1.  CSS Framework

 Tags

Stylable News & Activities

Highlights All activities

Recent activities

No activities found.

Stylable information

  • Developed by

    IL flagWix Engineering
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    5 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  1,275 Stars
  •  62 Forks
  •  117 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Stylable was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is Stylable?

At Wix, we agree. We ? CSS. It’s simple, declarative syntax that is native in browsers is easily the fastest way to add styles to web pages and web apps. But when writing CSS that is scoped to individual components, developers have to maintain highly-specific selectors, using elaborate conventions to fake namespacing. Writing and maintanining CSS across large teams and large projects can be tricky.

We want to extend CSS so that it is easier to use in a component ecosystem, but without losing the aspects of CSS that make it great: declarative, familiar, static and fast. So we created Stylable.

Stylable is a preprocessor that allows you to write style rules in CSS syntax, with some extensions that we believe adhere to the spirit of CSS.

So what does Stylable do?

Stylable enables you to build reusable, highly-performant components. Each component exposes a style API that maps its internal parts so you can reuse components across teams without sacrificing stylability.

Scopes styles to components so they don’t “leak” and clash with other styles. Enables custom pseudo-classes and pseudo-elements that abstract the internal structure of a component. These can then be styled externally. For example, you can style the label inside a button, or style the play button of a video player from outside these components. Uses themes so you can apply different look and feel across your web application, for example, the same component can use a Wix theme or a Bootstrap theme depending on the page. At build time, the preprocessor converts the Stylable CSS into flat, static, valid, vanilla CSS that works cross-browser.

Viva CSS, and welcome Stylable. We hope you like it.

Official Links