Components / RadioGroup
RadioGroup
One choice among several, shown as radio buttons.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn radio_group() -> impl View {
let plan = State::new(1);
RadioGroup::new(plan.binding(), ["Starter", "Team", "Enterprise"]).label("Plan")
}