# NOT RUN {
### Simple modal
modal(
title = "Title",
body = "Cras placerat accumsan nulla.",
footer = buttonInput(
id = "closeModal",
label = "Close"
) %>%
background("blue")
)
### Modal with container body
modal(
size = "large",
title = "More complex",
body = container(
columns(
column("Cras placerat accumsan nulla."),
column("Curabitur lacinia pulvinar nibh."),
column(
"Aliquam posuere.",
"Praesent fermentum tempor tellus."
)
)
)
)
# }
Run the code above in your browser using DataLab