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

Box

Fundamental layout building block.

use radix_yew_themes::Box;
use yew::prelude::*;

use crate::decorative_box::DecorativeBox;

#[function_component]
pub fn BoxExample() -> Html {
    html! {
        <Box width="64px" height="64px">
            <DecorativeBox />
        </Box>
    }
}

API Reference

TODO

See Also