yew-layout

master docs · crate info · pipeline · rustc version · unsafe forbidden

This crate provides you a layouts components based on Yew Framwork, those components are used to build your view. See API Docs

NOTE: yew-layout is not (yet) prodction ready but is good for use in side projects and internal tools.

Available Layouts

Features

Goal

The goal for this crate is to provide you a layout types that is used to layout your views, nothing else.

Qucik Example

```rust use yewlayout::{Align, AlignRows, Column, CrossAlign, Row, RowProps}; use cssstyle::{unit::px, Gap, Margin, Padding};

impl Component for App { fn view(&self) -> Html { html! {

iter() .map(|| html!{
}).collect::() }

{ "This is another row" }

} }

// other code is omitted for brevity

} ```

this would look like: master docs