rebass
React primitive UI components built with Styled System
Last updated 7 years ago by jxnblk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rebass 
SYNC missed versions from official npm registry.

Rebass

React primitive UI components built with Styled System. https://rebassjs.org

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 =>
  <Box>
    <Heading>Hello</Heading>
    <Button>Rebass</Button>
  </Box>

Features

  • 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

Principles

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.

Documentation

CodeSandbox

Try it out: https://codesandbox.io/s/github/rebassjs/rebass/tree/master/examples/sandbox

Related

Upgrading from v3

See the Migration Guide.

Previous Versions


Contributing | MIT License

Current Tags

  • 2.0.0-1                                ...           alpha (9 years ago)
  • 2.2.0-0                                ...           beta (8 years ago)
  • 4.0.7                                ...           latest (7 years ago)
  • 3.0.0-12                                ...           next (8 years ago)

109 Versions

  • 4.0.7                                ...           7 years ago
  • 4.0.6                                ...           7 years ago
  • 4.0.5                                ...           7 years ago
  • 4.0.3                                ...           7 years ago
  • 4.0.2                                ...           7 years ago
  • 4.0.1                                ...           7 years ago
  • 4.0.0                                ...           7 years ago
  • 3.2.2                                ...           7 years ago
  • 3.2.1                                ...           7 years ago
  • 3.2.0                                ...           7 years ago
  • 3.1.3                                ...           7 years ago
  • 3.1.2                                ...           7 years ago
  • 3.1.1                                ...           7 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 3.0.0-12                                ...           8 years ago
  • 3.0.0-11                                ...           8 years ago
  • 3.0.0-10                                ...           8 years ago
  • 3.0.0-9                                ...           8 years ago
  • 3.0.0-8                                ...           8 years ago
  • 3.0.0-7                                ...           8 years ago
  • 2.3.4                                ...           8 years ago
  • 3.0.0-6                                ...           8 years ago
  • 3.0.0-5                                ...           8 years ago
  • 3.0.0-4                                ...           8 years ago
  • 3.0.0-3                                ...           8 years ago
  • 3.0.0-2                                ...           8 years ago
  • 2.3.3                                ...           8 years ago
  • 3.0.0-1                                ...           8 years ago
  • 3.0.0-0                                ...           8 years ago
  • 2.3.2                                ...           8 years ago
  • 2.3.1                                ...           8 years ago
  • 2.3.0                                ...           8 years ago
  • 2.2.0                                ...           8 years ago
  • 2.1.1                                ...           8 years ago
  • 2.2.0-0                                ...           8 years ago
  • 2.1.0                                ...           8 years ago
  • 2.0.1                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 2.0.0-10                                ...           8 years ago
  • 2.0.0-9                                ...           8 years ago
  • 2.0.0-8                                ...           8 years ago
  • 2.0.0-7                                ...           8 years ago
  • 2.0.0-6                                ...           8 years ago
  • 2.0.0-5                                ...           8 years ago
  • 2.0.0-4                                ...           8 years ago
  • 2.0.0-3                                ...           8 years ago
  • 2.0.0-2                                ...           9 years ago
  • 2.0.0-1                                ...           9 years ago
  • 2.0.0-0                                ...           9 years ago
  • 1.0.7                                ...           9 years ago
  • 1.0.6                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 1.0.0-8                                ...           9 years ago
  • 1.0.0-7                                ...           9 years ago
  • 1.0.0-6                                ...           9 years ago
  • 1.0.0-5                                ...           9 years ago
  • 1.0.0-4                                ...           9 years ago
  • 1.0.0-3                                ...           9 years ago
  • 1.0.0-2                                ...           9 years ago
  • 1.0.0-1                                ...           9 years ago
  • 1.0.0-0                                ...           9 years ago
  • 0.3.4                                ...           10 years ago
  • 0.4.0-beta.9                                ...           10 years ago
  • 0.4.0-beta.8                                ...           10 years ago
  • 0.4.0-beta.7                                ...           10 years ago
  • 0.4.0-beta.6                                ...           10 years ago
  • 0.4.0-beta.5                                ...           10 years ago
  • 0.4.0-beta.4                                ...           10 years ago
  • 0.4.0-beta.3                                ...           10 years ago
  • 0.4.0-beta.2                                ...           10 years ago
  • 0.4.0-beta.1                                ...           10 years ago
  • 0.3.3                                ...           10 years ago
  • 0.3.2                                ...           10 years ago
  • 0.3.1                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.7                                ...           10 years ago
  • 0.3.0-beta.1                                ...           10 years ago
  • 0.3.0-beta.0                                ...           10 years ago
  • 0.2.6                                ...           11 years ago
  • 0.2.5                                ...           11 years ago
  • 0.2.4                                ...           11 years ago
  • 0.2.3                                ...           11 years ago
  • 0.2.2                                ...           11 years ago
  • 0.2.1                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.2.0-beta8                                ...           11 years ago
  • 0.2.0-beta7                                ...           11 years ago
  • 0.2.0-beta6                                ...           11 years ago
  • 0.2.0-beta4                                ...           11 years ago
  • 0.2.0-beta3                                ...           11 years ago
  • 0.2.0-beta2                                ...           11 years ago
  • 0.2.0-beta1                                ...           11 years ago
  • 0.1.5                                ...           11 years ago
  • 0.1.4                                ...           11 years ago
  • 0.1.3                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
  • 0.0.4                                ...           12 years ago
  • 0.0.3                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 184
Today 0
This Week 19
This Month 169
Last Day 0
Last Week 13
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE