Welcome Contributors
Thank you for your interest in contributing to Svelte 5 Animations! We welcome contributions from the community and appreciate your help in making this project better.Ways to Contribute
Reporting Issues
Reporting Issues
Before submitting a new issue:
- Check if the issue already exists in GitHub Issues
- Provide a clear description of the problem
- Include reproduction steps if applicable
- Add relevant error messages or screenshots
Suggesting Features
Suggesting Features
Have an idea for a new animation component or feature?
- Open a GitHub issue with the “enhancement” label
- Describe the use case and expected behavior
- Include examples or mockups if possible
- Explain how it benefits the community
Creating Components
Creating Components
Want to contribute a new animation component?See our detailed Creating Components guide for the complete step-by-step process.
Getting Started
Create a Branch
Create a new branch for your contribution:Use descriptive branch names like
feat/, fix/, or docs/ prefixes.Make Your Changes
Follow the project’s coding standards:
- Use TypeScript for type safety
- Follow the existing code style
- Test your changes thoroughly
Component Guidelines
Animation Best Practices
When creating animation components:- Use motion-sv: Leverage
motion-svfor animations when possible - Customization: Allow users to override animation timings and easing
- Responsive: Test on different screen sizes
- Performance: Consider performance on lower-end devices
- Accessibility: Respect
prefers-reduced-motionsettings
Documentation Requirements
Every component must include:- Clear description of what the component does
- Complete list of props with types and defaults
- At least one working example
- Installation instructions
- Usage examples with code snippets
Good documentation helps users understand and implement your component quickly.
Pull Request Review Process
After submitting your PR:- Automated Checks: CI/CD pipeline will run tests and type checking
- Code Review: Maintainers will review your code for quality and consistency
- Feedback: Address any requested changes or questions
- Approval: Once approved, your PR will be merged
- Release: Your contribution will be included in the next release
The review process may take a few days. Be patient and responsive to feedback.
Code of Conduct
We are committed to providing a welcoming and inclusive environment for all contributors.Our Pledge
We pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.Expected Behavior
- Demonstrate empathy and kindness toward other people
- Be respectful of differing opinions, viewpoints, and experiences
- Give and gracefully accept constructive feedback
- Accept responsibility and apologize for mistakes
- Focus on what is best for the overall community
Unacceptable Behavior
- Sexualized language or imagery, and sexual attention or advances
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others’ private information without permission
- Other conduct inappropriate in a professional setting
Reporting Issues
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to:- Twitter: @Sikandar_Bhide
- GitHub: Report an issue