Skip to contents

Create a Avatar component

Usage

calcite_avatar(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

an object of class calcite_component which is a subclass of shiny.tag

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
fullNamefull-nameSpecifies the full name of the user. When label and thumbnail are not defined, specifies the accessible name for the component.stringTRUE
labellabelSpecifies alternative text when thumbnail is defined, otherwise specifies an accessible label.stringFALSE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
thumbnailthumbnailSpecifies the src to an image (remember to add a token if the user is private).stringTRUE
userIduser-idSpecifies the unique id of the user.stringTRUE
usernameusernameSpecifies the username of the user.stringTRUE

Examples

calcite_avatar()
#> <calcite-avatar></calcite-avatar>