允许用户从一系列值中进行选择。
¥API Reference
¥This component inherits props from the Slider primitive and supports common margin props.
¥Examples
¥Size
使用 size
属性控制大小。
¥Use the size
prop to control the size.
¥Variant
使用 variant
属性控制视觉样式。
¥Use the variant
prop to control the visual style.
¥Color
使用 color
属性指定特定的 color。
¥Use the color
prop to assign a specific color.
¥High-contrast
使用 highContrast
属性增加亮色模式下的色彩对比度。
¥Use the highContrast
prop to increase color contrast in light mode.
¥Radius
使用 radius
属性指定特定的圆角值。
¥Use the radius
prop to assign a specific radius value.
¥Range
提供多个值以创建范围滑块。
¥Provide multiple values to create a range slider.