accordion-rs 0.2.2

↕ïļ A highly customizable accordion component for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation

ðŸŠķ Accordion RS

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

Join our Discord

logo

🎎 Demo

accordion-rs-demo

Framework Live Demo
Yew Netlify Status
Dioxus Netlify Status
Leptos Netlify Status

📜 Intro

Accordion RS is a highly customizable accordion component designed for Wasm-based frameworks like Yew, Dioxus, and Leptos. Easily create interactive, collapsible sections with rich behaviors, smooth transitions, and complete styling control.

ðŸĪ” Why Use Accordion-RS?

The following are some reasons why Accordion RS is a fantastic addition to your Wasm-based projects:

  1. ðŸŽĻ Customizable Content: Define separate content for expanded and collapsed states.
  2. ⚡ Smooth Animations: Control the transition speed and style of the opening and closing actions.
  3. 🔄 Callbacks: Attach callbacks to detect when the accordion opens or closes, giving you full control of state transitions.
  4. 🧑‍ðŸ’ŧ Easy Integration: Works seamlessly with modern Wasm frameworks like Yew, Dioxus, and Leptos.
  5. ðŸ§Đ Accessibility: Optionally include ARIA attributes to make your accordion accessible to screen readers.

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

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 Accordion RS better.

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

📜 License

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