yew-layout
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
- Row: A layout that align it's children horizontally.
- Column: A layout that align it's children vertically.
Features
- Reasonable Defaults: All layouts have reasonable default properties values, which work very well with most use cases.
- Rich Properties: All layouts have rich properties that can be tweaked in many different ways to fit other use cases.
- Consistent Properties: Layouts almost have the same properties, So if you
decied to change from
Row
toColumn
just do it and properties would work the same, thier behavior would change to match the currnt layout type!. - Powered By Flexbox:
Row
andColumn
uses Flexbox behind the scene, there is no black magic fortunately.
Goal
The goal for this crate is to provide you a layout types that is used to layout your views, nothing else.
Qucik Example
use ;
use ;
this would look like: