Socket
Socket
Sign inDemoInstall

stylable

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylable

CSS for Components


Version published
Weekly downloads
989
increased by149.12%
Maintainers
3
Weekly downloads
 
Created
Source

Stylable CSS for Components

npm version Build Status

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.
  • 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

Install Stylable as a dependency in your local project.

Using npm:

npm install stylable --save

Using yarn:

yarn add stylable

While the stylable package includes a programmatic API and can be used directly, we strongly suggest using the stylable-integration package that powers and enables using the .st.css files in your project's build cycle: stylable-integration package

Component Library

Stylable includes a rich component library for out-of-the-box use.

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.

FAQs

Package last updated on 25 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc