tachyons-components

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tachyons-components

Weekly Downloads

219

Version

1.0.1

License

MIT

Unpacked Size

191 kB

Total Files

6

Last publish

Collaborators

  • jxnblk