React primitive UI components built with Styled System. https://rebassjs.org
npm i rebass
import React from 'react'
import { Box, Heading, Button } from 'rebass'
export default props =>
<Box>
<Heading>Hello</Heading>
<Button>Rebass</Button>
</Box>
- Foundation for building design systems
- First-class support for theming
- Tiny footprint (~1KB) TK
- Best-in-class developer ergonomics with style props from Styled System
- Fast, mobile-first responsive styles
- Reflexbox: flexbox layout with the Box and Flex components
- Easy to extend and customize
- Consistency through design constraints and user-defined scales
"One of the best React component libs out there"
"Rebass is the Bootstrap of React."
"A whopper component library built on styled-components. Responsive, systematic, scalable...the business!"
Rebass is intended to be:
- Minimal
- Useful
- Unopinionated
- Flexible
- Consistent
- Extensible
- Themeable
Do one thing, and do it well
See Patterns for Style Composition in React for more on some of the thought behind Rebass.
TK
Try it out: https://codesandbox.io/s/github/rebassjs/rebass/tree/master/examples/sandbox
- TK v3.2.1
- v2.3.2 – Docs for Rebass v2
- v1.0.7