hero 0.0.3

🦸 A highly customizable hero sections templates for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation
<div align="center">

# 🦸 Hero

[![Crates.io](https://img.shields.io/crates/v/hero)](https://crates.io/crates/hero)
[![Crates.io Downloads](https://img.shields.io/crates/d/hero)](https://crates.io/crates/hero)
![Crates.io License](https://img.shields.io/crates/l/hero)
[![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.85%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)

<!-- absolute url for docs.rs cause assets is excluded from crate -->

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

</div>

## 🎬 Demo

| Framework | Live      |
| --------- | --------- |
| Yew       | [![Netlify Status]https://api.netlify.com/api/v1/badges/a0efc7e9-f20e-4dd9-93e1-c8f4fde7506f/deploy-status]https://hero-rs.netlify.app |
| Dioxus    | TODO |
| Leptos    | TODO |

## 📜 Intro

**Hero** is a highly customizable hero sections components for WASM Frameworks like **Yew**, **Leptos**, and **Dioxus**. It helps you build beautiful, responsive hero sections with minimal setup and maximum customization. 

## 🤔 Why Use Hero?

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

1. **🎨 Easy to Customize**: Configure layout, alignment, spacing, images, call-to-actions, and more using straightforward props.

1. **🧩 Pluggable Content Areas**: Drop in your own headings, subheadings, images, buttons, or components with slot-like flexibility.

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

1. **⚙️ Framework Friendly**: Designed for seamless integration with **Yew**, **Leptos**, **Dioxus**, or any other WASM-based UI framework.

## Yew Usage

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

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

## 🧬 Dioxus Usage (TODO)

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

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

## 🌱 Leptos Usage (TODO)

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

Refer to [our guide](https://github.com/opensass/hero/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 Hero better.

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

## 📜 License

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