avatar
UI
Components
Changelog
LobeHub UI
Antd Components
Lucide Icons
CSSinJS
Ctrl
K
Chat
ChatInputArea
ChatItem
EditableMessage
Data Display
Card
ChatMarkdown
CollapseGroup
Descriptions
Highlighter
JsonViewer
LogViewer
ProCard
RichTextEditor
Status
Table
Tree
Data Entry
CodeEditor
Form
Mentions
MonacoEditor
SelectCard
SliderInput
Feedback
Alert
DragPanel
Drawer
Modal
Notification
General
Breadcrumb
Typography
WaveformIcon
Layout
Divider
Page
Navigation
ButtonGroup
Dropdown
Theme
ConfigProvider
Logo
TTS
useSpeechSynthes
Utils
FormHelper

SliderInput

A Slider and Input component for displaying current value and intervals in range.

import { SliderInput } from '@yuntijs/ui';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
Source
Edit
Previous
SelectCard
Next
Alert

Resources

Lobe UI-AIGC Components
Lobe Icon-AI / LLM Icon Collection
Lobe Charts-Modern Charts
Lobe TTS-TTS / STT Library

Community

Report Bug
Request Feature

Help

GitHub
Changelog

More Products

🤯 Lobe Chat-AI / LLM Chat Framework
🧸 Lobe Vidol-Virtual Idols for EveryOne
🅰️ Lobe Theme-Stable Diffusion Extension
🌐 Lobe i18n-AI i18next CLI
Copyright © 2022-2026
Made with ☁️ by YuntiJS
LobeHub

A Slider and Input component for displaying current value and intervals in range.

Usage

Simple usage

Form usage

Playground

API

NameDescriptionTypeDefault
valueThe current valuenumber--
defaultValueThe initial valuenumber--
minThe min valuenumber--
maxThe max valuenumber--
stepThe number to which the current value is increased or decreased. It can be an integer or decimalnumber--
gutterSpacing between grids, could be a number or a object like { xs: 8, sm: 16, md: 24}. Or you can use array to make horizontal and vertical spacing work at the same time [horizontal, vertical]number--
sliderColSlider layout, like <Col> component. Set span offset value like {span: 3, offset: 12} or sm: {span: 3, offset: 12}ColProps{"span":12}
inputColThe layout for input controls, same as sliderCol, see https://ant.design/components/grid#row for detailColProps{"span":5}
addonAfterThe label text displayed before (on the left side of) the input fieldReactNode--
addonBeforeThe label text displayed before (on the left side of) the input fieldReactNode--
placeholderplaceholderstring--
onChangeThe callback triggered when the value is changed(value:number)=>void--
stylestyle{}--
classNameclassNamestring--
sliderPropsthe props of slider, see https://ant.design/components/slider#api for detailSliderSingleProps{}
inputPropsthe props of input, see https://ant.design/components/input-number#api for detailInputNumberProps{}
核
核
GB
颗
Form values
{}
核