# htmlrs [](https://github.com/MNThomson/htmlrs) [](https://crates.io/crates/htmlrs) ## Usage ```console cargo add htmlrs ``` Take a look at the [`examples`](./examples/) folder! ```rust use htmlrs::{component, html, view, Children, IntoView}; #[component] fn Text(text: String) -> impl IntoView { view! {{text}} } #[component] fn TextInto(#[prop(into)] text: String) -> impl IntoView { view! {{text}} } #[component] fn Page(children: Children) -> impl IntoView { view! {