Specify a "checkbox" input
See also
Other inputtypes:
input_multiselect(),
input_number(),
input_radio(),
input_select(),
input_text()
Examples
library(ggplot2)
library(dplyr)
panel_dat <- (
  ggplot(gap, aes(year, life_exp)) +
    geom_point() +
    facet_panels(vars(country, continent))
  ) |>
  as_panels_df()
trell <- panel_dat |>
as_trelliscope_df() |>
add_inputs(
  input_checkbox(
    name = "Checkbox Input",
    label = "A space to add custom button inputs",
    options = c("yes", "no")
  )
)
if (FALSE) { # \dontrun{
view_trelliscope(trell)
} # }