Description Usage Arguments Note Author(s) Examples
Build an argon section container
1 2 3 4 5 6 7 8 9 10 |
... |
Any UI element. |
size |
Section size. NULL by default. |
status |
Section status. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html. |
gradient |
Section gradient effect. FALSE by default. |
separator |
Section bottom separator. FALSE by default. |
separator_color |
Separator color. "secondary" by default. See https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html. |
shape |
Whether to include shape in the background. FALSE by default. |
cascade |
Whether to enable a cascade effect. FALSE by default. |
Do not use with the argonDash package. Only for argonR.
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | if (interactive()) {
library(argonR)
argonSection(
size = "lg",
status = "default",
gradient = TRUE,
separator = TRUE,
separator_color = "white",
shape = TRUE,
argonColumn(
argonRow(
argonColumn(
width = 6,
argonH1(
display = 3,
"ArgonR, HTML static template for R",
htmltools::span("completed with examples")
) %>% argonTextColor(color = "white"),
argonLead(
"Argon is a great free UI package based on Bootstrap
4 that includes the most important components and features"
) %>% argonTextColor(color = "white")
),
argonColumn(
width = 6,
argonImage(
src = "inst/images/imac.svg",
floating = TRUE
) %>% argonPersp(side = "right")
%>% argonBlur()
)
)
)
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.