Checkbox input component
tuiInputCheckbox.RdA focusable checkbox. Toggling it updates input$<id> and triggers
a server update.
Usage
tuiInputCheckbox(
label,
id,
value = FALSE,
width = NULL,
height = NULL,
minHeight = NULL,
maxHeight = NULL,
widthPercent = NULL,
heightPercent = NULL
)Arguments
- label
A character string shown as the checkbox label.
- id
A character string used as the input key (
input$<id>).- value
A single logical value used as the initial/default checkbox value.
- width, height
Optional fixed width/height in terminal cells.
- minHeight, maxHeight
Optional min/max height in terminal cells.
- widthPercent, heightPercent
Optional relative size between
0and1.widthPercentis interpreted bytuiRow()andheightPercentbytuiColumn()for strict main-axis percentages.