use_daisyui {shiny.tailwind} | R Documentation |
Allows you to use 'daisyUI' elements
Description
See also: https://daisyui.com/ and https://daisyui.com/components/
Usage
use_daisyui(version = "2.17.0", ...)
Arguments
version |
the version of 'daisyUI' to use, default is 2.17.0 |
... |
additional arguments passed to |
Details
Note that this uses the CDN version, which is not recommended for production by 'daisyUI'.
Value
the required HTML-head tags to use 'daisyUI' as shiny.tag
Examples
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) {})
[Package shiny.tailwind version 0.2.2 Index]