# With default house icon
fields <- list(
list(
list(label = "Empreendimento", value = "CAIARA II", with_icon = TRUE)
)
)
# With custom icon
custom_icon <- ''
fields <- list(
list(
list(label = "Projeto", value = "Meu Projeto", with_icon = custom_icon)
)
)
badges <- list(
list(label = "UH", value = "192"),
list(label = "Recurso Federal", value = "36,4 milhões")
)
# With file paths for logos
svg_card("FAR", badges, fields,
bg_color = "#fab255",
logos = c("path/to/logo1.svg", "path/to/logo2.svg"),
bottom_logos = c("path/to/gov_logo.svg"))
Run the code above in your browser using DataLab