sidebarSearchForm: Create a search form to place in a sidebar

View source: R/dashboardSidebar.R

sidebarSearchFormR Documentation

Create a search form to place in a sidebar

Description

A search form consists of a text input field and a search button.

Usage

sidebarSearchForm(
  textId,
  buttonId,
  label = "Search...",
  icon = shiny::icon("search")
)

Arguments

textId

Shiny input ID for the text input box.

buttonId

Shiny input ID for the search button (which functions like an shiny::actionButton()).

label

Text label to display inside the search box.

icon

An icon tag, created by shiny::icon().

See Also

dashboardSidebar() for example usage.

Other sidebar items: sidebarMenu(), sidebarUserPanel()


shinydashboard documentation built on June 8, 2025, 10:19 a.m.