Skip to content
⚛️ React primitive UI components built with styled-system.
Branch: master
Clone or download

Latest commit

jxnblk Merge pull request #940 from rebassjs/dependabot/npm_and_yarn/gatsby-…

Bump gatsby-plugin-catch-links from 2.1.26 to 2.2.1
Latest commit ba46104 Apr 2, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add circleci config Aug 4, 2019
examples v4.0.7 Oct 28, 2019
packages Adjust sidebar Jan 31, 2020
.eslintignore Add basic docs setup Aug 1, 2019
.gitignore Add basic docs setup Aug 1, 2019
.npmignore Setup yarn workspaces Aug 1, 2019
.travis.yml Adjust travis config Aug 4, 2019 Edit changelog Dec 2, 2019 Create Oct 20, 2018 Adjust ignore files Sep 8, 2018 Add tests and edit docs Aug 3, 2019 Edit readme Aug 3, 2019
babel.config.js Add styled-components build for forms package Aug 21, 2019
lerna.json v4.0.7 Oct 28, 2019
package.json Bump jest from 24.9.0 to 25.2.4 Apr 1, 2020
yarn.lock Merge pull request #940 from rebassjs/dependabot/npm_and_yarn/gatsby-… Apr 2, 2020


React primitive UI components built with Styled System.

Build Status Coverage Downloads Version MIT License

npm i rebass

Getting Started

import React from 'react'
import { Box, Heading, Button } from 'rebass'

export default props =>


  • Start your design system without boiling the ocean
  • Build consistent UI with design constraints and user-defined scales
  • Best-in-class developer ergonomics with Styled System props
  • First-class support for theming & fully compatible with Theme UI
  • Quick, mobile-first responsive styles with array-based syntax
  • Flexbox layout with the Box and Flex components
  • Flexibility built in for high design & development velocity
  • Minimal footprint at about 4KB

"One of the best React component libs out there"

Max Stoiber

"Rebass is the Bootstrap of React."

Jori Lallo

"A whopper component library built on styled-components. Responsive, systematic, scalable...the business!"

Colm Tuite


Rebass is intended to be:

  • Minimal
  • Useful
  • Unopinionated
  • Flexible
  • Consistent
  • Extensible
  • Themeable

Do one thing, and do it well

Unix philosophy

See Patterns for Style Composition in React for more on some of the thought behind Rebass.



Try it out:


Upgrading from v3

See the Migration Guide.

Previous Versions

Contributing | MIT License

You can’t perform that action at this time.