| ds_checkbox | R Documentation |
Create a styled checkbox using Designsystemet styles.
ds_checkbox(inputId, label, value = FALSE, size = NULL, disabled = FALSE, ...)
inputId |
The input slot for Shiny reactivity |
label |
The checkbox label |
value |
Initial checked state |
size |
Size variant ("sm", "md", "lg") |
disabled |
If TRUE, disables the checkbox |
... |
Additional attributes |
A Shiny tag object
ds_checkbox("agree", "I agree to the terms", value = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.