React UI components powered by Tachyons with a styled-components like API
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit aa3e157 Aug 13, 2017
Permalink
Failed to load latest commit information.
scripts Init Aug 13, 2017
src Init Aug 13, 2017
storybook Init Aug 13, 2017
test Init Aug 13, 2017
.babelrc Init Aug 13, 2017
.gitignore Init Aug 13, 2017
.npmignore Init Aug 13, 2017
.travis.yml Edit readme Aug 13, 2017
LICENSE.md Init Aug 13, 2017
README.md Edit readme Aug 13, 2017
package.json Add repo to package Aug 13, 2017

README.md

tachyons-components

Build Status Coverage Experimental

React UI components powered by Tachyons with a styled-components like API.

npm install tachyons-components
import styled from 'tachyons-components'

const Button = styled('button')`
  f6 f5-ns fw6 dib ba
  b--black-20 bg-blue white
  ph3 ph4-ns pv2 pv3-ns br2
  grow no-underline
`
<Button mr2>
  Hello
</Button>

Functional styles

const Heading = styled('h2')`
  m0
  ${props => props.big ? 'f1' : 'f2'}
`

MIT License