Build an UIkit accordion which can contain UIkitAccordionItem.

UIkitAccordion(..., multiple = FALSE)

Arguments

...

slot for UIkitAccordionItem.

multiple

Whether to enable multiple collapsible events.

Examples

if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitContainer( size = "large", UIkitGrid( child_width = "1-2", UIkitAccordion( UIkitAccordionItem( title = "Item 1", opened = TRUE, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua" ), UIkitAccordionItem( title = "Item 2", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua" ), UIkitAccordionItem( title = "Item 3", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua" ) ) ) ) ), server = function(input, output) {} ) }