Skip to contents

Create a InputMessage component

Usage

calcite_input_message(...)

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
iconiconSpecifies an icon to display.boolean | stringTRUE
iconFlipRtlicon-flip-rtlWhen true, the icon will be flipped when the element direction is right-to-left ("rtl").booleanTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
statusstatusSpecifies the status of the input field, which determines message and icons."idle" | "invalid" | "valid"TRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding text.

Examples

calcite_input_message()
#> <calcite-input-message></calcite-input-message>