Contributing to Morpheus
July 8, 2026 ยท View on GitHub
Thank you for your interest in contributing to Morpheus, the web component UI kit! This guide will help you get started.
Reporting Bugs
If you find a bug, please open an issue and include:
- A clear description of the problem and steps to reproduce the issue.
- Browser and its version.
- Ideally, a link to reproduction repo or codepen (or similar), or a short screen recording (most useful for visual bugs).
- Expected vs. actual behavior.
- Relevant error messages or (browser console) logs.
- Go version and OS (if the bug is related to the static site generation).
Proposing Changes
Before starting work on a new feature or significant change, please open an issue first to discuss your idea. This helps avoid duplicate effort and ensures your contribution aligns with the project's direction. Minor bug fixes and small improvements can go straight to a pull request.
Getting Started
- Fork the repository and clone your fork.
- Create a feature branch from
main. - Make your changes.
- Run
make gen(this runs linting, formatting checks, and tests). - Commit and push your branch.
- Open a pull request against
main.
For development setup, commands, code style, testing conventions, and commit message format, see the Developing section in the README.
Development
Prerequisites
- Go (see version in
go.mod) - Templ
- golangci-lint
License
By contributing, you agree that your contributions will be licensed under the MIT License.