For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDTabs

Creates a new set of tabs.

Synopsis

Creates a new set of tabs.

Syntax

New-UDTabs [-Tabs] <ScriptBlock> [[-Id] <String>] [-RenderOnActive] [[-Orientation] <String>] [[-Variant] <String>] [[-ScrollButtons] <String>] [-Centered] [[-ClassName] <String>] [[-SelectedTabIndex] <Int32>] [[-Style] <Hashtable>] [[-Sx] <Hashtable>] [<CommonParameters>]

Description

Creates a new set of tabs. Tabs can be used to show lots of content on a single page.

Parameters

-Tabs

The tabs to put within this container.

Required?                    true
Position?                    1
Default value
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Id

The ID of the component. It defaults to a random GUID.

-Orientation

The orientation of the tabs. Valid values are horizontal and vertical.

-Variant

The variantion of tabs. Valid values are standard, fullWidth and scrollable.

-ScrollButtons

The behavior of the scrollbuttons. Valid values are on, off, auto and desktop. On will enable scroll buttons no matter what. off will disable all scroll buttons. Auto will show scrollbuttons when necessary. Desktop will show scrollbuttons on medium and large screens.

-ClassName

The CSS class to apply to the tabs.

-SelectedTabIndex

-Style

The style to apply to the tabs.

-Sx

A theme-specific style to apply to the tabs.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?