Interactive Inputs Demo
  • Select
  • Slider
  • Switch
  • Checkbox
  • Combined
  • About

Checkbox

Checkbox Input

The checkbox input allows multiple selections with all options visible. Great for 3-6 options.

add_input(
  input_id = "segment_filter",
  label = "Show Sectors",
  type = "checkbox",
  filter_var = "segment",
  options = c("Research", "Industry", "Government"),
  default_selected = c("Research", "Industry", "Government"),
  inline = TRUE
)
Check/uncheck to show/hide sectors in the chart.

Publications by Sector

 
 

Powered by dashboardr logodashboardr