Stylable logo

Stylable

Encapsulate component styles to avoid collisions. Leverage themes to apply consistent look and feel. Generate static, cross-browser CSS at build time.

Made by Wix Engineering

  • components

  • CSS / Stylesheets

  • css3

What is Stylable?

Stylable is a powerful CSS preprocessor that aims to enhance the usability of CSS in component-based web development environments. It preserves the inherent strengths of CSS, such as its declarative syntax and native browser support, while addressing the challenges that arise when managing styles for large-scale, modular web applications

Highlights

  • Enables Reusable, Highly-Performant Components: Stylable allows you to build components with a well-defined style API, enabling reuse across teams without compromising stylability
  • Scoped Styles: Stylable ensures that styles are scoped to their respective components, preventing unintended style "leaks" and conflicts with other styles in the application
  • Custom Pseudo-Classes and Pseudo-Elements: Stylable introduces custom pseudo-classes and pseudo-elements that abstract the internal structure of components, allowing you to style them from the outside
  • Theming Capabilities: Stylable provides a theming system that allows you to apply different look and feel across your web application, enabling the same component to use different themes (e.g., Wix theme or Bootstrap theme) depending on the page
  • Static, Cross-Browser Compatible Output: At build time, Stylable converts the preprocessor-specific syntax into flat, static, and valid vanilla CSS that works across browsers.

Platforms

  • Web
  • Self-Hosted
  • CSS

Languages

  • English

Social

Features

    • CSS Framework