Skip to contents

Create a Tabs component

Usage

calcite_tabs(...)

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
borderedborderedWhen true, the component will display with a folder style menu.booleanFALSE
layoutlayoutSpecifies the layout of the calcite-tab-nav, justifying the calcite-tab-titles to the start ("inline"), or across and centered ("center")."center" | "inline"TRUE
positionpositionSpecifies the position of calcite-tab-nav and calcite-tab-title components in relation to the calcite-tabs."bottom" | "top"TRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-tabs.
title-groupA slot for adding a calcite-tab-nav.

Examples

calcite_tabs()
#> <calcite-tabs></calcite-tabs>