Create sortable grids and lists to rearrange the order of its elements
UIkitSortable(...)
... | Slot for UIkitSortableItem. |
---|
if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitSortable( lapply(X = 1:4, FUN = function(i) { UIkitSortableItem( UIkitCard( width = NULL, height = "medium", title = paste0("My card ", i), hover = TRUE, horizontal = FALSE, body = "This is the body" ) ) }) ) ), server = function(input, output) {} ) }