MCPcopy
hub / github.com/rebassjs/rebass

github.com/rebassjs/rebass @v4.0.7 sqlite

repository ↗ · DeepWiki ↗ · release v4.0.7 ↗
30 symbols 135 edges 40 files 0 documented · 0%
README

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

Core symbols most depended-on inside this repo

render
called by 14
packages/reflexbox/test/index.js
render
called by 10
packages/space/test/index.js
renderJSON
called by 7
packages/forms/test/index.js
render
called by 6
packages/rebass/test/index.js
heading
called by 5
packages/docs/src/gatsby-plugin-theme-ui/components.js
getProps
called by 3
packages/forms/src/index.js
babel
called by 3
packages/bundler/index.js
px
called by 1
packages/layout/src/index.js

Shape

Function 30

Languages

TypeScript100%

Modules by API surface

packages/space/src/index.js3 symbols
packages/reflexbox/src/index.js3 symbols
packages/layout/src/index.js3 symbols
packages/docs/src/components/header.js3 symbols
packages/docs/src/components/code.js3 symbols
packages/forms/src/index.js2 symbols
packages/space/test/index.js1 symbols
packages/reflexbox/test/index.js1 symbols
packages/rebass/test/index.js1 symbols
packages/forms/test/index.js1 symbols
packages/docs/src/gatsby-plugin-theme-ui/components.js1 symbols
packages/docs/src/components/wrapper.js1 symbols

Dependencies from manifests, versioned

@babel/cli7.5.5 · 1×
@babel/core7.5.5 · 1×
@babel/preset-env7.5.5 · 1×
@babel/preset-react7.0.0 · 1×
@emotion/core10.0.0 · 1×
@emotion/styled10.0.0 · 1×
@jxnblk/react-live2.1.2-1 · 1×
@mdx-js/mdx1.1.4 · 1×
@mdx-js/react1.1.4 · 1×
@rebass/forms4.0.6 · 1×
@rebass/layout4.0.6 · 1×
@rebass/preset4.0.5 · 1×

For agents

$ claude mcp add rebass \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact