7 releases
0.2.5 | Dec 26, 2024 |
---|---|
0.2.4 | Dec 26, 2024 |
0.0.0 | Dec 22, 2024 |
#1480 in Web programming
500 downloads per month
56KB
572 lines
🎬 Demo
Framework | Live Demo |
---|---|
Yew | |
Dioxus | |
Leptos |
📜 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:
- 🎨 Customizable Content: Define separate content for expanded and collapsed states.
- ⚡ Smooth Animations: Control the transition speed and style of the opening and closing actions.
- 🔄 Callbacks: Attach callbacks to detect when the accordion opens or closes, giving you full control of state transitions.
- 🧑💻 Easy Integration: Works seamlessly with modern Wasm frameworks like Yew, Dioxus, and Leptos.
- 🧩 Accessibility: Optionally include ARIA attributes to make your accordion accessible to screen readers.
Y 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.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- 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.
Dependencies
~0–12MB
~127K SLoC