Contributing Guide
How to make focused, useful contributions to LoveUI.
Thank you for helping improve LoveUI.
The best contributions are focused, easy to review, and clear about the user problem they solve.
What you can contribute
You can help by:
- Fixing bugs.
- Improving docs.
- Adding new UI components.
- Adding examples.
- Improving accessibility.
Before you start
Open an issue or discussion for large changes. Small fixes, docs edits, and example improvements can usually go straight to a pull request.
Good first changes include:
- Fixing unclear docs.
- Adding a missing example state.
- Improving labels or keyboard behavior.
- Cleaning up a component prop or class name.
- Fixing a bug with a small reproduction.
Quick steps
- Fork the repo and clone it.
- Create a new branch.
- Make a small, focused change.
- Run formatting and build checks.
- Open a pull request with a clear description.
Commands to run before you open a PR
bun run format:write
bun run registry:buildIf you changed core UI components, also run:
bun run ui:propagateIf you changed docs, check that the docs site still builds and the changed pages render correctly.
Write clear pull requests
Please include:
- What changed.
- Why you changed it.
- Screenshots if UI changed.
- Any breaking changes.
- The checks you ran.
Small pull requests are easier to review and merge quickly.
Component contribution checklist
When adding or changing a component, check:
- The default example is useful.
- Important states are documented.
- The component works with keyboard navigation.
- Labels, descriptions, and errors are connected where needed.
- The manual installation block lists required dependencies and CSS variables.
- The component source and examples use the same import style as the rest of the registry.
Docs contribution checklist
When changing docs, use simple language.
Prefer short paragraphs and specific examples. Explain when to use a component, when not to use it, and what each example demonstrates.
Need more details?
For the full technical process, file conventions, and registry details, see: