Skip to content

turretcss/react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@turretcss/react

unstable

React components to use with turretcss

Stability

This package is currently in development and is likely to evolve.

Install from npm

npm install @turretcss/react

or

yarn add @turretcss/react

Usage

import { Button } from '@turretcss/react'

<Button label="Click me" onClick={() => console.log('clicked!')} />

Components

  • Button
  • ButtonLink
  • ButtonGroup
  • Checkbox
  • CheckboxGroup
  • Switch
  • Radio
  • RadioGroup
  • RadioButtonGroup
  • Select

Options and Examples

Clone the repo and launch the storybook or look at the tests

git clone https://github.com/turretcss/react turretcss-react
cd turretcss-react
yarn && yarn storybook