sushi-rs 0.0.1

🍣 A highly customizable SVG sushi component for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation
<div align="center">

# 🍣 Sushi RS

[![Crates.io](https://img.shields.io/crates/v/sushi-rs)](https://crates.io/crates/sushi-rs)
[![Crates.io Downloads](https://img.shields.io/crates/d/sushi-rs)](https://crates.io/crates/sushi-rs)
![Crates.io License](https://img.shields.io/crates/l/sushi-rs)
[![made-with-rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg?logo=rust&logoColor=white)](https://www.rust-lang.org/)
[![Rust](https://img.shields.io/badge/Rust-1.89%2B-blue.svg)](https://www.rust-lang.org)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/wiseaidev)

[![Join our Discord](https://dcbadge.limes.pink/api/server/b5JbvHW5nv)](https://discord.gg/b5JbvHW5nv)

![logo](https://raw.githubusercontent.com/opensass/sushi-rs/refs/heads/main/assets/logo.webp)

</div>

## 🎬 Demo

| Framework | Live Demo |
| --------- | --------- |
| Yew       | [![Netlify Status]https://api.netlify.com/api/v1/badges/45d208ab-8b1b-4608-bcb1-f7d3d049cac5/deploy-status]https://sushi-rs.netlify.app |
| Dioxus    | [![Netlify Status]https://api.netlify.com/api/v1/badges/45d208ab-8b1b-4608-bcb1-f7d3d049cac5/deploy-status]https://sushi-dio.netlify.app |
| Leptos    | [![Netlify Status]https://api.netlify.com/api/v1/badges/45d208ab-8b1b-4608-bcb1-f7d3d049cac5/deploy-status]https://sushi-lep.netlify.app |

## 📜 Intro

**Sushi RS** is a **highly customizable**, **accessible**, and **zero-dependency** SVG sushi component library for WASM frameworks including **Yew**, **Dioxus**, and **Leptos**.

## 🤔 Why Use Sushi RS?

1. **🎨 Four Shapes**: `Circular`, `Square`, `Triangular`, and `Oval` sushi silhouettes.
1. **📷 Two Views**: `Top` (bird's-eye) and `Front` (isometric) perspectives.
1. **🥗 Rich Ingredients**: Salmon, Tuna, Avocado, Egg, Caviar, Cucumber, Crab, Shrimp, Mango, Cream Cheese, Wasabi.
1. **💥 Exploded View**: Deconstructs every component side-by-side with labels and animations.
1. **🎀 Top-Edge Decorations**: Red/Black Caviar, Sesame, Herbs, Tobiko rings on the rim.
1. **🧩 DRY Architecture**: A single `src/svg.rs` engine powers all three framework adapters.
1. **♿ WCAG Compliant**: `role="img"`, `aria-label`, `<title>` on every SVG group, full keyboard navigation.

## Yew Usage

<!-- absolute url for docs.rs cause YEW.md is not included in crate -->

Refer to [our guide](https://github.com/opensass/sushi-rs/blob/main/YEW.md) to integrate this component into your Yew app.

## 🧬 Dioxus Usage

<!-- absolute url for docs.rs cause DIOXUS.md is not included in crate -->

Refer to [our guide](https://github.com/opensass/sushi-rs/blob/main/DIOXUS.md) to integrate this component into your Dioxus app.

## 🌱 Leptos Usage

<!-- absolute url for docs.rs cause LEPTOS.md is not included in crate -->

Refer to [our guide](https://github.com/opensass/sushi-rs/blob/main/LEPTOS.md) 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 Sushi RS better.

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

## 📜 License

Sushi RS is licensed under the [MIT License](LICENSE). You are free to use, modify, and distribute this library in your projects.