Skip to contents

Create a Tab component

Usage

calcite_tab(...)

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
selectedselectedWhen true, the component's contents are selected. Only one tab can be selected within the calcite-tabs parent.booleanTRUE
tabtabSpecifies a unique name for the component. When specified, use the same value on the calcite-tab-title.stringTRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding custom content.

Examples

calcite_tab()
#> <calcite-tab></calcite-tab>