lcarsButton {lcars} | R Documentation |
LCARS button
Description
An LCARS wrapper around shiny::actionButton
with additional color
control.
Usage
lcarsButton(
inputId,
label,
icon = NULL,
color = "atomic-tangerine",
hover_color = "red-damask",
...
)
Arguments
inputId |
The input slot that will be used to access the value. |
label |
The contents of the button or linkâusually a text label, but you could also use any other HTML, like an image. |
icon |
An optional icon to appear on the button. |
color |
button color. Can be any color given in hex format. Named
colors must be LCARS colors. See |
hover_color |
Named colors must be LCARS colors. Other arbitrary colors
are not supported for hovering. If |
... |
Named attributes to be applied to the button. |
Value
HTML
See Also
Examples
lcarsButton("btn", "A button")
[Package lcars version 0.3.8 Index]