Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

SliderOptions

Options of a slider.

optional decimals?: number

Shown decimals; 2 by default.


optional disabled?: boolean

Shows the widget grayed out; it ignores the user.

WidgetOptions.disabled


optional error?: string | null

Why the field’s value is wrong, shown under it in red; empty or absent for none. See Ui.form for forms that keep refused input. Needs the "formValidation" feature.

WidgetOptions.error


optional id?: string

Identifies the widget within its section, tab or column instead of its label.

WidgetOptions.id


optional integer?: boolean

Only whole numbers.


optional max?: number

1 by default.


optional min?: number

0 by default.


optional suffix?: string

Text after the value, such as "%".


optional tip?: string

Shown while the widget is hovered.

WidgetOptions.tip