Learn R Programming

calcite (version 0.1.0)

calcite_icon: Create a Icon component

Description

Create a Icon component

Usage

calcite_icon(...)

Value

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

Arguments

...

named attributes passed to htmltools::tag()

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
flipRtlflip-rtlWhen true, the icon will be flipped when the element direction is right-to-left ("rtl").booleanTRUE
iconiconDisplays a specific icon.stringTRUE
preloadpreloadWhen true, it loads preloads the icon data.booleanTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
textLabeltext-labelAccessible name for the component. It is recommended to set this value if your icon is semantic.stringFALSE

References

Official Documentation

Examples

Run this code
calcite_icon()

Run the code above in your browser using DataLab