|
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/layout.R
- \name{bulma_level}
- \alias{bulma_level}
- \title{Bulma Level}
- \usage{
- bulma_level(..., left = NULL, right = NULL, is_mobile = TRUE,
- type = c("item", "header"), container_tag = c("div", "nav"),
- class = NULL, style = NULL, level_class = NULL,
- level_style = NULL)
- }
- \arguments{
- \item{...}{Items to be wrapped in a \code{"level-item"} \code{<div>} and included in the
- main level container. If only one argument is provided and that argument is
- a list, the items inside the list will be treated as individual level items.}
-
- \item{left}{A list of items to be placed in the left side of the level in a
- \code{"level-left"} container.}
-
- \item{right}{A list of items to be placed in the right side of the level in a
- \code{"level-right"} container.}
-
- \item{type}{One of \code{"item"} or \code{"header"}. The default (\code{"item"}) places level
- items in the standard \code{"level-item"} container. Use \code{"header"} to use the
- names of the arguments in \code{...} as headers over their elements to create a
- large single-row pseudo-table. See examples for more details.}
-
- \item{container_tag}{Which tag should be used for the main \code{"level"} container?
- One of \code{"div"} or \code{"nav"}.}
-
- \item{class}{Additional classes applied to level container}
-
- \item{style}{Additional style parameters applied to level container}
-
- \item{level_class}{Additional classes applied to all level item containers (except
- for manually created level items).}
-
- \item{level_style}{Additional style arguments applied to all level item containers
- (except for manually create level items).}
- }
- \description{
- A multi-purpose horizontal level that can contain almost any other element.
- }
- \examples{
- bulma_level("Home", "Menu", "Bulma", "Reservations", "Contact")
- bulma_level("Tweets" = 3456, Following = 123, Followers = "456K", Likes = 789, type = "header")
-
- iris_vals <- lapply(iris, function(x) length(unique(x)))
- bulma_level(iris_vals, type = "header")
-
- }
- \references{
- \url{https://bulma.io/documentation/layout/level/}
- }
- \seealso{
- Other Bulma layouts: \code{\link{bulma_level_item_header}},
- \code{\link{bulma_level_items_header}},
- \code{\link{bulma_level_item}}
- }
- \concept{Bulma layouts}
|