RinteRface / argonDash

argon dashboard template
https://rinterface.github.io/argonDash/
138 stars 37 forks source link

I cannot add an argonCard in Shiny tabItem #18

Closed anaidv57 closed 4 years ago

anaidv57 commented 5 years ago

Hi,

I was trying to add an argonCard in Shiny tabItem. Is it not possible?

Kind regards, Ana

anaidv57 commented 5 years ago

I was trying to do something like this:

    tabItem(tabName = "other",
            h2("other"),
            argonDashPage(
              body = argonDashBody(
                argonRow( argonCard(
                  title = "New project using one file",
                  src = "http://www.google.com",
                  hover_lift = TRUE,
                  shadow = TRUE,
                  shadow_size = NULL,
                  hover_shadow = FALSE,
                  border_level = 0,
                  icon = "app",
                  status = "info",
                  background_color = NULL,
                  gradient = FALSE, 
                  floating = FALSE,
                  width = 2,
                  "This is the content"
                )
                )
              )
            )
    )
DivadNojnarg commented 5 years ago

Hi, can you provide my the whole code please? Thanks