heading_text: Heading Text Function

View source: R/heading_text.R

heading_textR Documentation

Heading Text Function

Description

This function creates heading text

Usage

heading_text(text_input, size = "xl", id, level = 1)

Arguments

text_input

Text to display

size

Text size, one of "xl", "l", "m", "s". Defaults to "xl". Any other value throws an error.

id

Custom header id

level

Heading level, integer between 1 and 6. Defaults to 1

Value

a heading text HTML shiny tag object

See Also

Other Govstyle text types: date_Input(), gov_list(), input_field(), text_Input(), text_area_Input()

Examples

shinyGovstyle::heading_text("This is great text")
shinyGovstyle::heading_text("This is great text", size = "l", level = 2)

shinyGovstyle documentation built on Oct. 16, 2026, 1:07 a.m.