Getting started

chipInput(
  .style %>% width(50),
  id = "chips",
  choices = paste("Option number", 1:10),
  values = 1:10,
  inline = TRUE
)
chipInput(
  .style %>%
    width(50) %>%
    background("primary"),
  id = "chips",
  choices = c(
    "A rather long option, isn't it?",
    "Shorter",
    "A middle-size option",
    "One more"
  ),
  values = 1:4,
  fill = FALSE
)
chipInput(
  id = "chip1",
  choices = c("Choice 1", "Choice 2", "Choice 3",
              "Choice 4", "Choice 5"),
  selected = c("Choice 3", "Choice 4")
)


nteetor/dull documentation built on June 10, 2022, 11:30 a.m.