Create a box widget with optional border
Usage
box(
child,
border = c("none", "round", "heavy", "double"),
title = NULL,
id = NULL,
classes = NULL
)
Arguments
- child
A child widget spec.
- border
Border style: one of "none", "round", "heavy", "double".
- title
Optional box title.
- id
Optional widget id.
- classes
Optional CSS classes (character vector).
Examples
if (FALSE) { # \dontrun{
# Box with a border and title
quick_app(
layout = vstack(
box(text("Important notice"), border = "round", title = "Alert"),
box(text("Heavy border"), border = "heavy"),
box(text("Double border"), border = "double", title = "Info"),
id = "root"
)
)
} # }