Skip to contents

Create a Fab component

Usage

calcite_fab(...)

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
appearanceappearanceSpecifies the appearance style of the component."outline-fill" | "solid"TRUE
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanTRUE
iconiconSpecifies an icon to display.stringTRUE
iconFlipRtlicon-flip-rtlWhen true, the icon will be flipped when the element direction is right-to-left ("rtl").booleanTRUE
kindkindSpecifies the kind of the component, which will apply to border and background."brand" | "danger" | "inverse" | "neutral"TRUE
labellabelAccessible name for the component.stringFALSE
loadingloadingWhen true, a busy indicator is displayed.booleanTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
texttextSpecifies text to accompany the component's icon.stringFALSE
textEnabledtext-enabledWhen true, displays the text value in the component.booleanTRUE

Examples

calcite_fab()
#> <calcite-fab></calcite-fab>