New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-awesome-slider

Package Overview
Dependencies
Maintainers
0
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-awesome-slider

A versatile, responsive <Slider /> component for React Native and Web.

  • 2.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.2K
decreased by-3.09%
Maintainers
0
Weekly downloads
 
Created
Source

React Native Awesome Slider

Reanimated v2 version npm npm Documentation

A versatile, responsive react native and web slider component.

slider

Core Features

  • Discrete sliding
  • Continuous sliding
  • Step control
  • Snapping behavior

Interaction

  • Scrubbing control
  • Haptic feedback

Customization

  • Custom thumb
  • Custom bubble tooltip
  • Custom mark
  • Customizable appearance

Use Cases

  • Media Player Controls (video/audio progress, volume, playback speed)
  • Financial Trading Tools (position size, leverage ratio)
  • General Purpose (numeric value adjustment, settings configuration)

Installation

First, install and configure Reanimated v2 and react-native-gesture-handler

For react-native-gesture-handler version >= 2:

yarn add react-native-awesome-slider

For version < 2:

yarn add react-native-awesome-slider@1

Basic Usage

import { useSharedValue } from 'react-native-reanimated';
import { Slider } from 'react-native-awesome-slider';

export const Example = () => {
  const progress = useSharedValue(30);
  const min = useSharedValue(0);
  const max = useSharedValue(100);
  return <Slider progress={progress} minimumValue={min} maximumValue={max} />;
};

Documentation

For complete component props and advanced usage, visit our official documentation.

License

MIT © Alan Toa

Keywords

FAQs

Package last updated on 30 Dec 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