Image
A picture with required alt text and size.
Example
Show code
use zeyn::prelude::*;
pub fn overview(_ctx: &Ctx) -> Node {
Image::new(crate::data::picture(5))
.alt("A soft green gradient with a circle")
.size(240, 240)
.into()
}