Skip to content

Slider ​

Native range

One value on a scale where the rough position matters more than the exact number — volume, zoom, a price ceiling. For an exact number use InputNumber; for a span, Range.

Basic
35%
3×
  • A native range: arrows, Page keys and Home/End all work, and phones use their own drag.
  • showValue prints the value beside the label; format sets what's shown and read (35%).
  • Inside a Field it gets the field's id, description and error.

Usage ​

ts
import { BlessSlider } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
idstring—
minnumber0
maxnumber100
stepnumber1
disabledboolean—
showValueboolean—show current value bubble
format((v: number) => string)—
labelstring—
modelValuenumber0

Events

NamePayloadDescription
update:modelValue[value: number]

Released under the MIT License. Character names and artwork belong to their owners.