Skip to content

Spoiler

Content hidden until the reader opens it.

Example

Show the answer

Water at about 80 degrees and two minutes of steeping.

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    Spoiler::new("Show the answer")
        .add(Paragraph::new("Water at about 80 degrees and two minutes of steeping."))
        .into()
}