Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

⚛️ React primitive UI components built with styled-system.

License

NotificationsYou must be signed in to change notification settings

rebassjs/rebass

Repository files navigation

Rebass

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

Build StatusCoverageDownloadsVersionMIT License

npm i rebass

Getting Started

importReactfrom'react'import{Box,Heading,Button}from'rebass'exportdefaultprops=><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 withStyled System props
  • First-class support for theming &fully compatible withTheme 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

SeePatterns for Style Composition in Reactfor 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 theMigration Guide.

Previous Versions


Contributing |MIT License


[8]ページ先頭

©2009-2025 Movatter.jp