We aim to create a hub for UI components that can be reusable throughout our Assemble projects.
🔖 Using The Library
🔖 Getting Started
🔖 Contributing
🔖 Publishing
🔖 Maintainers
🔖 License
🔖 Other Packages
Assemble UI takes a BYOS ("bring your own styles") approach to styling the components. To make this possible, all components come equipped with at least one default but overwritable className prop you can use to style them.
Each component has a default class name formatted like asm-<component-name>
i.e. asm-button
View the list of available components here.
To add or update a component, you'll need to start development locally:
git clone https://github.com/assembleinc/asm-ui
cd /path/to/asm-ui
yarn
to install devDependenciesyarn build
to create builds of all packages
- Clone this repo
- Create a branch:
git checkout -b developer-name/component-name
- Make some changes
- Push your branch and open a Pull Request
- Let the team know in #asm-component-libraries
Then every time you make an update to the library, republish it to npm:
- Run
yarn publish
. - Bump version according to semver best practices.
📝 Note: In order to publish, you will need to log into your NPM account first.
Assemble Frontend Team
This code is open source software licensed under the MIT License.
We also package Utilities and React Hooks in this repo.