use_daisyui | R Documentation |
See also: https://daisyui.com/ and https://daisyui.com/components/
use_daisyui(version = "2.17.0", ...)
version |
the version of 'daisyUI' to use, default is 2.17.0 |
... |
additional arguments passed to |
Note that this uses the CDN version, which is not recommended for production by 'daisyUI'.
the required HTML-head tags to use 'daisyUI' as shiny.tag
library(shiny) ui <- div( class = "h-full w-full", use_daisyui(), div( class = "text-sm breadcrumbs", tags$ul( tags$li(tags$a("Home")), tags$li(tags$a("Documents")), tags$li(tags$a("Add Documents")) ) ) ) if (interactive()) shiny::shinyApp(ui, function(input, output) {})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.