Awesome Open Source
Awesome Open Source

glamorous-primitives 💄

Build Status

style primitive React interfaces with glamorous

Table of contents


You cannot use glamorous together with react-primitives to style the components.


Combine glamorous with react-primitives by removing implicit dependencies to render the same code across the targets.

Use this package only when you want to share the same code across multiple platforms. If you're looking to style the components for a specific platform use glamorous-native for React Native or glamorous for React


npm install glamorous-primitives --save

This also depends on react and react-primitives. Make sure you have them installed.


You can find all the examples here.



Renders on Sketch, Web and Mobile


There are no breaking changes in glamorous-primitives except for one thing which means you can do everything you used to do with glamorous and glamorous-native 😄

What's more ?

I am working on 👇🏼

  • [ ] className as prop using babel transform
  • [ ] css prop (like glamorous)


glamorous-primitives does not export the "tiny" version of glamorous like glamorous and glamorous-native.


Below is the list of resources where you can learn more about primitive interfaces, rendering process across multiple platform and styling the components



Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,065
css (7,202
react (5,164
react-native (1,472
js (510
css-in-js (133
style (79
stylesheet (31

Find Open Source By Browsing 7,000 Topics Across 59 Categories