Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
/ tachyons-components Public archive

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

License

Notifications You must be signed in to change notification settings

jxnblk/tachyons-components

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published