8 primitive UI components built with styled-system.
Box | Flex | Text | Heading | Link | Button | Image | Card
import { Box } from 'rebass'
width
fontSize
flex
color
bg
import { Flex } from 'rebass'
alignItems
justifyContent
flexWrap
flexDirection
import { Text } from 'rebass'
color
bg
fontSize
fontFamily
fontWeight
textAlign
lineHeight
letterSpacing
import { Heading } from 'rebass'
import { Link } from 'rebass'Link
fontSize
color
bg
import { Button } from 'rebass'
import { Image } from 'rebass'
import { Card } from 'rebass'
All components include the following props:
color
bg
css