Skip to contents

Create a shiny.tag.list of bs4SidebarMenuItems with an input tibble

Usage

ui_tabs(tabs)

Arguments

tabs

tbl similar to the following:


tabs <- tibble::tribble(
  ~ text, ~ icon, ~ dots,
  "Welcome", "house", list(),
  "Education", "chalkboard", list(),
  "Performance", "flag-checkered", list(),
  "Robustness", "circle", list(),
  "Vulnerabilty", "bomb", list()
  ) |>
    dplyr::mutate(tabName = snakecase::to_snake_case(text))

where dots is a list of additional arguments to bs4SidebarMenuItem

Value

shiny.tag.list

See also

tabs

Other ui: acc_list(), add_sass(), box_list(), bs4Alert(), bs_extract_status(), bs_statuses, col_10(), col_11(), col_12(), col_1(), col_2(), col_3(), col_4(), col_5(), col_6(), col_7(), col_8(), col_9(), col_auto(), copyright(), css_props(), dynamic_row(), enurl(), fa_arrow_icon(), icon_sb(), infoIcon(), jq_hide(), list_to_li(), list_to_p(), make_action_button(), make_columns(), rep_br(), tagRemoveAttributes(), ui_row(), undisplay(), with_red_star()