tablerProfileCard: Create a Boostrap 4 profile card

Description Usage Arguments Author(s) Examples

Description

Build a tabler profile card

Usage

1
2
tablerProfileCard(title = NULL, subtitle = NULL, background = NULL,
  src = NULL, socials = NULL, width = 4)

Arguments

title

Profile title.

subtitle

Card subtitle.

background

Card background url or path.

src

User profile image.

socials

Slot for tablerSocialLinks and tablerSocialLink.

width

Card width. 4 by default.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
if(interactive()){
 library(shiny)
 library(tablerDash)

 shiny::shinyApp(
   ui = tablerDashPage(
    navbar = NULL,
    footer = NULL,
    title = "test",
    body = tablerDashBody(
     tablerProfileCard(
      title = "Peter Richards",
      subtitle = "Big belly rude boy, million
      dollar hustler. Unemployed.",
      background = "https://preview.tabler.io/demo/photos/ilnur-kalimullin-218996-500.jpg",
      src = "https://preview.tabler.io/demo/faces/male/16.jpg",
      tablerSocialLinks(
       tablerSocialLink(
        name = "facebook",
        href = "https://www.facebook.com",
        icon = "facebook"
       ),
       tablerSocialLink(
        name = "twitter",
        href = "https://www.twitter.com",
        icon = "twitter"
       )
      )
     )
    )
   ),
   server = function(input, output) {}
 )
}

tablerDash documentation built on May 2, 2019, 9:58 a.m.