Coder Social home page Coder Social logo

thangnvse / rebass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rebassjs/rebass

0.0 2.0 0.0 10.39 MB

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

Home Page: https://rebassjs.org

License: MIT License

JavaScript 100.00%

rebass's Introduction

Rebass

React primitive UI components built with styled-system. https://rebassjs.org

Build Status Coverage Downloads Version MIT License

npm i rebass@next

Getting Started

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

export default props =>
  <Box>
    <Heading>Hello</Heading>
    <Button>Rebass</Button>
  </Box>

To use Rebass with emotion, import from rebass/emotion:

import { Box } from 'rebass/emotion'

Features

  • 8 core UI components to serve as the basis for design systems
  • Super small (~1KB)
  • Responsive, themeable style props from styled-system
  • Flexbox grid with the Box and Flex components
  • Support for styled-components & emotion
  • Extensible base components
  • Design-system based consistency
  • Built for responsive web design

"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 built with the following principles in mind.

  • Minimal
  • Useful
  • Unopinionated
  • Flexible
  • Consistent
  • Extensible
  • Themeable
  • Do one thing well

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-v3

Related

Previous Versions


Contributing | MIT License

rebass's People

Contributors

jxnblk avatar gregwym avatar maxbeatty avatar kikobeats avatar greenkeeperio-bot avatar lachlanjc avatar trysound avatar corygibbons avatar 1800joe avatar johno avatar ptgolden avatar gribnoysup avatar pungggi avatar chadedrupt avatar bhageena avatar boristian avatar connorholyday avatar steida avatar dburles avatar queckezz avatar felipeleusin avatar hosmelq avatar praxxis avatar namuol avatar windkomo avatar emmatown avatar firedev avatar nfcampos avatar rileytomasek avatar youfoundron avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.