Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Window | 14,512 | 357 | 1,492 | a month ago | 43 | April 17, 2023 | 237 | mit | JavaScript | |
React components for efficiently rendering large lists and tabular data | ||||||||||
Css In Js | 5,194 | 3 years ago | 7 | mit | JavaScript | |||||
React: CSS in JS techniques comparison | ||||||||||
Qrcode.react | 3,481 | 1,254 | 847 | 20 days ago | 26 | June 25, 2022 | 29 | other | TypeScript | |
A <QRCode/> component for use with React. | ||||||||||
React Animations | 3,040 | a year ago | 12 | mit | JavaScript | |||||
🎊 A collection of animations for inline style libraries | ||||||||||
Reactcss | 1,574 | 3,818 | 231 | 4 years ago | 26 | September 07, 2017 | 6 | mit | JavaScript | |
:lipstick: Inline Styles in JS | ||||||||||
Awesome Editorjs | 1,486 | 9 days ago | cc0-1.0 | |||||||
🤩 A curated list of awesome Editor.js tools, libraries and resources. | ||||||||||
React Html Email | 820 | 48 | 16 | 3 years ago | 15 | September 27, 2017 | 31 | mit | JavaScript | |
Create elegant HTML email templates using React. | ||||||||||
React Pdf Highlighter | 800 | 1 | 4 | 2 months ago | 20 | March 22, 2022 | 77 | mit | TypeScript | |
Set of React components for PDF annotation | ||||||||||
Markdown In Js | 780 | 3 years ago | 15 | JavaScript | ||||||
inline markdown for react/jsx | ||||||||||
React Code Blocks | 511 | 2 | 21 | 12 days ago | 11 | June 13, 2021 | 28 | mit | TypeScript | |
React code blocks and code snippet components |
npm install reactcss --save
Define a default styles for your elements:
import reactCSS from 'reactcss'
const styles = reactCSS({
'default': {
card: {
background: this.props.background,
boxShadow: '0 2px 4px rgba(0,0,0,.15)',
},
},
})
Pass style definitions via inline styles:
<div style={ styles.card } />
Activate additional classes by passing down objects as additional parameters to reactCSS
:
const styles = reactCSS({
'default': {
card: {
background: '#fff',
boxShadow: '0 2px 4px rgba(0,0,0,.15)',
},
},
'zIndex-2': {
card: {
boxShadow: '0 4px 8px rgba(0,0,0,.15)',
},
},
}, {
'zIndex-2': props.zIndex === 2,
})
See the Full Documentation
Examples and projects built with reactCSS:
Felony - Next Level PGP Desktop App React Color - Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more Buffer App Components - A shared set of UI Components React Reactions - Use Reactions from Slack, Facebook, Pokemon, Github and Youtube