rebass

:atom_symbol: React primitive UI components built with styled-system.

Github星跟蹤圖

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

Upgrading from v3

See the Migration Guide.

Previous Versions


Contributing, MIT License

主要指標

概覽
名稱與所有者rebassjs/rebass
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2015-02-11 14:48:09
推送於2023-07-27 03:42:53
最后一次提交2021-08-03 19:54:17
發布數77
最新版本名稱v4.0.7 (發布於 2019-10-28 15:08:39)
第一版名稱v0.1.1 (發布於 2015-07-02 15:42:24)
用户参与
星數7.9k
關注者數59
派生數652
提交數2k
已啟用問題?
問題數477
打開的問題數46
拉請求數434
打開的拉請求數51
關閉的拉請求數196
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?