| Framework | Live Demo |
|---|---|
| Yew | |
| Dioxus | |
| Leptos |
A highly customizable, accessible card component for WASM frameworks: Yew, Dioxus, and Leptos. Supports semantic prominence variants, composable sub-components (header, title, description, content, footer), and full WCAG compliance.
- π¨ Fully Customizable: Control variant, class, style, ARIA labels, and every sub-component attribute.
- π§© Composable API: Use
Card,Header,Title,Description,Content, andFooterindependently or together. - π·οΈ Semantic Variants:
transparent,default,secondary,tertiary, themes interpret prominence without hard-coded colors. - βΏ Accessible by Default:
role="article",aria-labelledby, andaria-labelwired up automatically. - π§ Framework Agnostic: Same API semantics across Yew, Dioxus, and Leptos.
Refer to our guide to integrate this component into your Yew app.
Refer to our guide to integrate this component into your Dioxus app.
Refer to our guide to integrate this component into your Leptos app.
Contributions are welcome! Whether it's bug fixes, feature requests, or examples, we would love your help to make Card RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Card RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.
