Skip to content

RadioButtonTile

import { RadioButtonTile, Vertical } from "@material";
export component Example inherits Window {
width: 140px;
height: 300px;
background: transparent;
property <int> selected-index: 0;
Vertical {
RadioButtonTile {
text: "Option 1";
checked: selected-index == 0;
radio_button_clicked => {
selected-index = 0;
}
}
RadioButtonTile {
text: "Option 2";
checked: selected-index == 1;
radio-button-clicked => {
selected-index = 1;
}
}
}
}
slint

RadioButtonTiles let people select one option from a set of options.

bool (in) default: false

Whether the radiobutton is checked.

bool default: true

Whether the radiobutton is enabled and can be interacted with.

Invoked when the radiobutton is clicked.


© 2025 SixtyFPS GmbH