Learn R Programming

tabler (version 0.1.0)

menu_dropdown: Create a Dropdown Menu Item

Description

Create a nav-item with a dropdown menu using columns like the example

Usage

menu_dropdown(text, icon = NULL, href = NULL, items = list())

Value

An HTML tag representing the dropdown nav item

Arguments

text

Title of the dropdown

icon

Icon name (optional)

href

Link for the dropdown toggle (optional)

items

A list of character vectors or tags representing dropdown links; each element can be a character vector of length 2: c(text, href)