pride-rs 0.1.0

🏳️‍🌈 A highly customizable pride flags for WASM frameworks like Yew, Dioxus, and Leptos.
docs.rs failed to build pride-rs-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: pride-rs-0.0.2

🏳️‍🌈 Pride RS

Crates.io Crates.io Downloads Crates.io License made-with-rust Rust Maintenance

Join our Discord

logo

🎬 Demo

Framework Live
Yew Netlify Status
Dioxus Netlify Status
Leptos TODO

📜 Intro

Pride RS is a highly customizable pride flags component library for WASM frameworks like Yew, Leptos, and Dioxus. It helps you build beautiful, responsive pride flags with minimal setup and maximum customization.

🤔 Why Use Pride RS?

  1. 📱 Responsive by Default: Automatically adapts to different screen sizes with clean mobile-first layout support.

  2. 🎨 Easy to Customize: Configure layout and more using straightforward props.

  3. 🌈 Theming & Styling Freedom: Comes unopinionated; style it using Tailwind CSS, regular classes, or inline styles.

  4. 🔒 Compile-Time Feature Gates: Use the haram feature to opt-in to gender-identity-related flag types, excluded by default for zero-overhead compliance.

Default (Halal) Edition

pride-rs = { version = "0.1.0", features = ["yew"] }

Includes: Rainbow, Bisexual, Lesbian, Pansexual, Asexual, Aromantic, Demisexual, Polysexual, Omnisexual, Demiromantic, Graysexual.

Full Edition (with haram)

pride-rs = { version = "0.1.0", features = ["yew", "haram"] }

Adds: Transgender, NonBinary, Genderfluid, Agender.

Yew Usage

Refer to our guide to integrate this component into your Yew app.

🧬 Dioxus Usage

Refer to our guide to integrate this component into your Dioxus app.

🌱 Leptos Usage (TODO)

Refer to our guide to integrate this component into your Leptos app.

🤝 Contributions

Contributions are welcome! Whether it's bug fixes, feature requests, or examples, we would love your help to make Pride RS better.

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Submit a pull request for review.

📜 License

Pride RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.