Skip to content

Themeable, Customisable and Fully Accessible React Component Library from SurveySparrow

License

Notifications You must be signed in to change notification settings

abhaysparrow/twigs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,250 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twigs

Welcome to Twigs monorepo

Packages

  1. react-components (@sparrowengg/twigs-react) → React UI components
  2. react-icons (@sparrowengg/twigs-react-icons) → SVG Icons package built with React

monorepo

This repo is built with lerna to support monorepo. commands can be run from the root folder, and will be applicable for all of the packages under the monorepo

How to set-up

  1. Clone the repo
  2. install the dependencies using yarn yarn install

Development

Twigs uses Stitches and Radix for most of its components. Storybook is configured for components and icons, so you can run yarn storybook from the respective directory to start a development view.

$ git clone https://github.com/surveysparrow/twigs.git
$ cd twigs
$ yarn
$ yarn build

$ cd packages/react-components
$ yarn storybook

Other scripts

  1. build npx lerna run build

  2. build static storybook npx lerna run build-storybook

  3. To delete all node_modules folders (even from subpackages), npx lerna clean -y

  4. If you'd like to run command against one package alone, run npx lerna run build --scope=package-name

About

Themeable, Customisable and Fully Accessible React Component Library from SurveySparrow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.2%
  • MDX 10.5%
  • JavaScript 6.6%
  • CSS 2.7%