Thank you for your interest in contributing to Drag UI! We welcome all contributions, whether they are bug fixes, new features, documentation improvements, or suggestions.
-
Fork the Repository
Click the "Fork" button at the top right of this repository page to create your own copy. -
Clone Your Fork
git clone https://github.com/<your-username>/drag-ui.git cd drag-ui
-
Create a Branch
Use a descriptive branch name:git checkout -b feature/your-feature-name
-
Install Dependencies
npm install
-
Make Your Changes
- Follow the existing code style and conventions.
- Add or update tests as needed.
- Update documentation if your changes affect usage.
-
Run Build
npm run build
-
Commit Your Changes
Use clear and descriptive commit messages:git add . git commit -m "Add: short description of your change"
-
Push to Your Fork
git push origin feature/your-feature-name
-
Open a Pull Request
- Go to the original repository on GitHub.
- Click "Compare & pull request".
- Fill in the PR template and describe your changes.
- Use Prettier for code formatting.
- Use ESLint for linting.
- Write clear, concise, and well-documented code.
- Use TypeScript for all components.
- Use Conventional Commits:
feat:for new featuresfix:for bug fixesdocs:for documentation changesrefactor:for code refactoringtest:for adding or updating testschore:for maintenance
If you find a bug or have a feature request, please open an issue and provide as much detail as possible.
Thank you for helping make