ds_label: Label Component

View source: R/ds-typography.R

ds_labelR Documentation

Label Component

Description

Create a styled form label using Designsystemet styles.

Usage

ds_label(..., `for` = NULL, class = NULL)

Arguments

...

Label content

for

The ID of the input this label is for

class

Additional CSS classes

Value

A Shiny tag object

Examples

ds_label("Email address", `for` = "email")

shinyds documentation built on Aug. 22, 2026, 5:08 p.m.