smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Fields · Components

ModeSwitch

A Basic/Advanced toggle built on SegmentedControl.

Public export

typescript
import { ModeSwitch } from '@happyvertical/smrt-fields/svelte';
Import path
@happyvertical/smrt-fields/svelte
Props
2
Props described
2 of 2
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
labelstringNoAccessible label for the segmented control.
classstringNoAdditional class.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation