Babylon Core UI
React library
This repository has been archived and moved to the Babylon Toolkit monorepo.
The Babylon Core UI package is now maintained as part of the Babylon Toolkit monorepo.
For the latest updates, issues, and contributions, please visit the new location.
To install the package, run the following command:
npm i @babylonlabs-io/core-ui
This project uses Conventional Commits and semantic-release to automate versioning, changelog generation, and npm publishing.
- All commits must follow the Conventional Commits format.
- When changes are merged into the
main
branch:semantic-release
analyzes commit messages- Determines the appropriate semantic version bump (
major
,minor
,patch
) - Tags the release in Git with release change log
- Publishes the new version to npm
feat: add support for slashing script
fix: handle invalid staking tx gracefully
docs: update README with commit conventions
refactor!: remove deprecated method and cleanup types
Note: For breaking changes, add a
!
after the type ( e.g.feat!:
orrefactor!:
) and include a description of the breaking change in the commit body.
Just commit your changes using the proper format and merge to main
.
The CI pipeline will handle versioning and releasing automatically — no manual
tagging or version bumps needed.
To view the component library, run:
npm run storybook
Provide examples of how to use the library in a project. Include code snippets and explanations.
import { ComponentName } from "@babylonlabs-io/core-ui";
function App() {
return <ComponentName prop="value" />;
}