Label
Description
A <label> carrying the Basecoat label class.
Usage
bc_label(...)
Arguments
| Argument | Description |
|---|---|
... |
Content and attributes. A backticked for attribute names another control. |
Value
A <label> tag.
Details
bc_checkbox() and bc_switch() write this pairing already.
See Also
bc_checkbox(), bc_switch(), bc_field()
Examples
bc_label("Your email address", `for` = "email")
bc_label(
htmltools::tags$input(type = "checkbox", class = "input"),
"Accept terms and conditions"
)