| ds_field | R Documentation |
A container for form field elements with proper spacing and layout.
ds_field(..., size = NULL, class = NULL)
... |
Child elements (label, input, validation message, etc.) |
size |
Size variant ("sm", "md", "lg") |
class |
Additional CSS classes |
A Shiny tag object
ds_field(
ds_label("Email", `for` = "email"),
ds_input("email", type = "email", placeholder = "your@email.com"),
ds_validation_message("Please enter a valid email")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.