% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heading_text.R
\name{heading_text}
\alias{heading_text}
\title{Heading Text Function}
\usage{
heading_text(text_input, size = "xl", id)
}
\arguments{
\item{text_input}{Text to display}

\item{size}{Text size using xl, l, m, s.  Defaults to xl.}

\item{id}{Custom header id}
}
\value{
a heading text html shiny object
}
\description{
This function create a heading text
}
\examples{
if (interactive()) {
  ui <- fluidPage(
    shinyGovstyle::header(
      main_text = "Example",
      secondary_text = "User Examples",
      logo="shinyGovstyle/images/moj_logo.png"),
    shinyGovstyle::gov_layout(size = "two-thirds",
      shinyGovstyle::heading_text("This is great text", "m")
    ),
    shinyGovstyle::footer(full = TRUE)
  )

  server <- function(input, output, session) {}
  shinyApp(ui = ui, server = server)
}
}
\keyword{heading}
