A collection of small reusable and lightweight React components
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
I find most component frameworks to overly complex and large for most of my needs, so I decided to start publishing encapsulated, small and reusable components that have a clean and easily stylable design.
The packages all use a template called react-component-publish, and they only ever use eachother as dependencies
To get a local test environment up and running follow these simple steps.
You need to clone both imp-dance/components and imp-dance/components-serve.
- components-serve is your test environment, and essentially a local copy of haakon.underbakke.net/components, where you will be doing most of your work.
- components is where you will add your changes or components and create a pull request.
mkdir hu-components
cd hu-components
git clone https://github.com/imp-dance/components.git
cd ../
mkdir hu-components-test
cd hu-components-test
git clone https://github.com/imp-dance/components-serve.git
Assuming you are still in ./hu-components-test
, run the follwing commands
cd components-serve/components
npm install
After the packages have finished installing, you can start the test environment
npm run start
From components-serve/components, you can load in the examples from src/components/reusable instead of directly from NPM, then you can edit them directly to see the live changes.
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.
Håkon Svennes Underbakke - @impedansen - haakon@underbakke.net
Project Link: https://github.com/imp-dance/components