Learn R Programming

lcars (version 0.4.1)

lcarsHeader: LCARS header

Description

An LCARS header panel.

Usage

lcarsHeader(
  title = NULL,
  color = "golden-tanoi",
  title_color = color,
  background_color = "#000000",
  title_right = TRUE,
  title_invert = FALSE,
  round = c("both", "right", "left", "none"),
  width = "100%"
)

lcarsh1( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

lcarsh2( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

lcarsh3( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

lcarsh4( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

lcarsh5( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

lcarsh6( title = NULL, color = "atomic-tangerine", title_color = color, background_color = "#000000", title_align = c("center", "right", "left"), title_invert = FALSE, width = "auto" )

Value

HTML

Arguments

title

character, optional title.

color

header color. Any hex color or a named LCARS color.

title_color

text color. Any hex color or a named LCARS color.

background_color

color behind text.

title_right

logical, right align title.

title_invert

logical, invert the color and background color for the title rectangle.

round

character, sides of header to round. The default is to present the header in LCARS full pill style.

width

a valid CSS unit.

title_align

character, for the heading replacers: center, right or left.

Details

In addition to lcarsHeader() there are also some LCARS style heading replacers, lcarsh1() through lcarsh6(). These default to centered text, whereas lcarsHeader() is strictly right or left.

See Also

lcarsdata.

Examples

Run this code
lcarsHeader("A title")

Run the code above in your browser using DataLab