Skip to content

jxnblk/tachyons-components

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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