Skip to contents

The label() is a component used to represent a label for elements like input, textarea, select.

See the official documention for label, for all the correct props.

Examples

htmltools::tagList(
  label("An input"),
  input("input")
)
An input
htmltools::tagList(
  label("An input", `show-colon` = TRUE),
  input("input")
)
An input