Socket
Book a DemoInstallSign in
Socket

pss

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pss

Prop styles system for styled components

5.0.1
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

Design system utils for component based CSS-in-JS libraries

📦 Install

$ yarn add pss

🤔 Why?

Because css-in-js and design systems are all the hype right now! But seriously, we want to:

  • Define our styling system (grid, colors, fonts, sizes, breakpoints, etc.) once and reuse it throughout the project
  • Style our components using concise and easy-to-memorize props
  • Have a convenient way to define alternative styles for different screen sizes

📖 API

🌍 Components & Demo

Sites

Packages

  • pss-components — Components created with pss
  • polished — "A lightweight toolset for writing styles in JavaScript"

Alternatives

  • styled-system — "Design system utilities for styled-components and other css-in-js libraries." Similiar project and probably better.
  • prop-styles — "Utility to create flexible React components which accept props to enable/disable certain styles."

MIT © John Grishin

FAQs

Package last updated on 29 Sep 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.