Skip to content
/ ui Public

Tetrahedron UI ▲ React UI Library powered by styled-components.

License

Notifications You must be signed in to change notification settings

tetrahedron/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetrahedron Logo

Join the community on Spectrum

Tetrahedron

Tetrahedron is a React UI library that is built to be as unopinionated and flexible as possible.

Concepts

  • Nothing should be assumed about the use-case of any components
  • No values should be hard-coded, instead, use defaultProps so they can be overridden
  • Compound Components should be used everywhere that is appropriate.

Packages

Contributing

If you'd like to contribute to Tetrahedron UI, please follow the steps below to prepare for development.

Cloning

Since Tetrahedron UI uses submodules, you must run the following command to clone the entire repo

git clone --recursive [email protected]:tetrahedron/ui tetrahedron-ui
cd tetrahedron-ui

Compiling

make

You can also compile individual packages like so

cd packages/grid
yarn build

Now you're all setup.

Developing

Typically when working on a package locally, I create a secondary react project that I can use to test out the package in a real environment. To do this, I use yarn link. If I was going to work on the grid system, I would do the following

cd packages/grid
yarn link

Then cd into your react app, and run

yarn link @tetrahedron/grid

Now the package is linked. So everytime you either run make from the master dir or yarn build from inside the packages/grid dir, you will see the changes in your react app.

Credits

Tetrahedron is a project by Garet McKinley

License

MIT

About

Tetrahedron UI ▲ React UI Library powered by styled-components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published