bulma_navbar: Bulma Navigation Bar

Description Usage Arguments Functions See Also

View source: R/bulma-navbar.R

Description

A responsive horizontal navbar that can support images, links, buttons, and dropdowns. The navbar component is a responsive and versatile horizontal navigation bar with the following structure:

Navbar

Usage

 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
36
37
38
bulma_navbar(
  ...,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark"),
  transparent = FALSE,
  spaced = FALSE,
  shadow = FALSE,
  fixed = c("top", "bottom"),
  tag = tags$nav
)

bulma_navbar_brand(..., tag = tags$div)

bulma_navbar_burger(target_id = NULL, ..., tag = tags$a)

bulma_navbar_menu(..., active = FALSE, tag = tags$div)

bulma_navbar_start(..., tag = tags$div)

bulma_navbar_end(..., tag = tags$div)

bulma_navbar_item(
  ...,
  dropdown = FALSE,
  expanded = FALSE,
  dropdown_hoverable = FALSE,
  dropdown_active = FALSE,
  dropdown_right = FALSE,
  dropdown_dropup = FALSE,
  tab = FALSE,
  tag = if (dropdown) tags$div else tags$a
)

bulma_navbar_divider(tag = tags$hr)

bulma_navbar_link(..., arrow = TRUE, tag = tags$a)

bulma_navbar_dropdown(..., boxed = FALSE, tag = tags$div)

Arguments

...

(tags) content

color

(string) color

transparent

(flag) transparent navbar to seamlessly integrate the navbar in any visual context

spaced

(flag) adds extra spacing around the navbar

shadow

(flag) adds a small amount of shadow around the navbar

fixed

(string) whether the navbar is fixed to the top or bottom of the screen. This also adds a property to the body so that the viewport contains an adjustment.

tag

default HTML tag

target_id

(string) ID target that this burger will make more visible

active

(flag) whether or not this is visible all the time

dropdown

(flag) dropdown

expanded

(flag) extend to full width

dropdown_hoverable

(flag) activate dropdown on hover

dropdown_active

(flag) is dropdown activated

dropdown_right

(flag) is dropdown right aligned

dropdown_dropup

(flag) is dropdown going up (for bottom navbar)

tab

(flag) whether this appears like a tab.

arrow

(flag) whether or not the arrow should exist

boxed

(flag) boxed appearance for the dropdown

Functions

See Also

Other Bulma Components: bulma_breadcrumb(), bulma_card(), bulma_dropdown(), bulma_menu(), bulma_message(), bulma_modal(), bulma_pagination(), bulma_panel(), bulma_tabs()


tjpalanca/bulma.R documentation built on Dec. 23, 2021, 10:58 a.m.