Socket
Socket
Sign inDemoInstall

@s-ui/react-atom-slider

Package Overview
Dependencies
Maintainers
79
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-atom-slider

`AtomSlider` is a component that works as an input that provides a slider a number or a set of two numbers (range)


Version published
Weekly downloads
1.2K
decreased by-38.24%
Maintainers
79
Weekly downloads
 
Created
Source

AtomSlider

AtomSlider is a component that works as an input that provides a slider a number or a set of two numbers (range)

Installation

$ npm install @s-ui/react-atom-slider --save

Usage

import AtomSlider from '@s-ui/react-atom-slider'

Basic usage

<AtomSlider/>

Basic usage with custom markers (only first and last position)

<AtomSlider
  min={1}
  max={9}
  marks={['1 km', '9 km']}
/>

Step 25 and default value 50

<AtomSlider step={25} value={50}/>

Disabled

<AtomSlider step={25} value={25} disabled />

Range Basic

<AtomSlider range />

Range Step 10

<AtomSlider range step={10} />

Capturing Value Change

<AtomSlider onChange={ (e, {value}) => console.log(value)} />

Find full description and more examples in the demo page.

FAQs

Package last updated on 08 May 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc