Skip to contents

A container the model can place other components into: create the row, then create children with parent_id set to the row's instance id. Children lay out in a responsive grid inside the row's card. Removing the row removes its children. Add it to your genui_catalog() alongside genui_components_bslib() (or your own components) to let the model group related views.

Usage

genui_card_row()

Value

A genui_component() object with container = TRUE.

Examples

catalog <- genui_catalog(
  genui_card_row(),
  genui_component(
    name = "note_card",
    description = "A card showing a short note.",
    args = list(text = "The note text."),
    ui = function(id, args) htmltools::p(args$text)
  )
)