Lumeo

Segmented

An iOS-style segmented control for switching between options.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Segmented />

API Reference

Segmented

Density falls back to an ancestor DensityScope, then Comfortable. See the Density guide.

SegmentedItem

Alternative to the Options list — declare segments as child markup instead. See "SegmentedItem Children" above.

SegmentedOption

Property Type Default Description
Labelstring""Display text.
Valuestring""Selection value.
IconContentRenderFragment?nullOptional icon before the label. Named IconContent to avoid shadowing the <Icon> component.
DisabledboolfalseDisable this option.