Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

essence-slider

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

essence-slider

Essence Slider - Slider component

latest
Source
npmnpm
Version
1.0.11
Version published
Maintainers
3
Created
Source

Essence Slider - Slider component

Options:

  • start: integer value to set the initial value - values: 0 to 100
  • fill: return a colored track to indicate the current value position
  • discrete: true it uses the discrete class name to render a indicator for the current value
  • disabled: true it uses the disabled class name to render a non-editable component
  • onChange: callback function returns current value of slider
  • lowerColor: default e-background-indigo-400 or a background color for left side of slider
  • upperColor: default e-background-grey-100 or a background color for right side of slider

How to use

import Slider from 'essence-slider';

<Slider step={1} fill={false} />
<Slider step={10} start={10}/>
<Slider discrete={true} step={1} start={20}/>
<Slider discrete={true} step={10} start={30}/>
<Slider discrete={true} step={10} start={40} disable={true}/>

Keywords

color palette

FAQs

Package last updated on 07 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts