This package has been deprecated

Author message:

Use https://www.npmjs.com/package/@stylable/core instead, see https://www.stylable.io for the latest documentation

stylable
TypeScript icon, indicating that this package has built-in type declarations

5.4.11 • Public • Published

Stylable CSS for Components

npm version Build Status

Stylable enables you to write 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.
  • Uses themes so you can apply different look and feel across your web application.

At build time, the preprocessor converts the Stylable CSS into flat, static, valid vanilla CSS that works cross-browser.

Learn more in our Documentation Center.

Installation

There are two options for installing Stylable:

  • Write your own project based on a Stylable stylable-scripts, using create-react-app
  • Install Stylable and its webpack plugin to an existing webpack based project

For details on both options, see Install & Configure.

Contributing

Read our contributing guidelines for details on our code of conduct, and the process for submitting pull requests.

License

Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a BSD license.

Dependents (19)

Package Sidebar

Install

npm i stylable

Weekly Downloads

409

Version

5.4.11

License

BSD-3-Clause

Unpacked Size

1.26 MB

Total Files

337

Last publish

Collaborators

  • avi.vahl
  • baraki
  • idoros
  • tomrav