Getting Started

Components

Themes

Please understand this website is built in react, the components are in react native. There may be slight differences!

Slider/Range

Slider or range type of input

React native version needs some fixes. Need helps:)
1
Install by running this command!
npx uni-ui-kit install slider
2
Import the component!
import Slider from '../lib/ui/slider';
Properties table
defaultValue?
number
Default value
max?
number
Maximum value
min?
number
Minimum value
onChange?
(value)=>void
Callback function when the value is changed
variant?
variant
Variant of the slider
width?
number
Width of the slider
Library data types
Variants
primary, secondary, tertiary, success, warning, error, ghost
Colors will change according to theme(light, dark). Use when it is intended.