Components / ReleaseNotes

ReleaseNotes

An app's versions and what each one brought.

Example

The component itself, running in WebAssembly, beside its code in a playground. Try it.

Code

use ravenrs::prelude::*;

fn release_notes() -> impl View {
    let selected = State::new(0);
    ReleaseNotes::new(
        vec![
            ReleaseNote::new("Version 27.2", "Status bars and release notes")
                .date("Nov 1, 2026")
                .badge("New", Tone::Success)
                .changes(["A line at the foot of the window", "What each version brought"])
                .section("Why update", "Tell people about new versions without getting in their way."),
            ReleaseNote::new("Version 27.1", "The first of the year").badge("Installed", Tone::Neutral),
        ],
        selected.binding(),
    )
}

Open in the playground, with every example →

Full API of ReleaseNotes →