Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Flex

Component for creating flex layouts.

use radix_yew_themes::{Box, Flex}; use yew::prelude::*; use crate::decorative_box::DecorativeBox; #[function_component] pub fn FlexExample() -> Html { html! { <Flex gap=3> <Box width="64px" height="64px"> <DecorativeBox /> </Box> <Box width="64px" height="64px"> <DecorativeBox /> </Box> <Box width="64px" height="64px"> <DecorativeBox /> </Box> <Box width="64px" height="64px"> <DecorativeBox /> </Box> <Box width="64px" height="64px"> <DecorativeBox /> </Box> </Flex> } }

API Reference

TODO

See Also