npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@devtar/slider

v1.0.0

Published

This is a sleek and fully customizable React Native slider designed for smooth and intuitive user interaction. It features a modern aesthetic with a minimalistic design, soft animations, and responsive touch gestures. The slider includes a circular or rec

Readme

Ephraim Devtar 🎚️

LOGO logo

Devtar Slider

Ephraim Slider is a sleek, customizable, and smooth React Native slider designed for seamless user interaction.
It supports gesture-based control, dynamic progress tracking, and a modern UI that enhances any mobile app experience.


✨ Features

✅ Fully customizable (colors, size, animations)
✅ Supports React Native Reanimated for smooth interactions
Gesture-based control using react-native-gesture-handler
✅ Lightweight & high performance
✅ Works with Expo & React Native CLI
Compatible with iOS & Android


📸 Screenshots

| Light Mode | Dark Mode | |------------|------------| | Light Mode | Dark Mode |


🚀 Installation

Install the package via npm or yarn:

npm install @devtar/slider --save
# or
yarn add @devtar/slider

Also, install required peer dependencies:

npm install react-native-gesture-handler react-native-reanimated react-native-svg

For Expo projects, ensure you have @expo/vector-icons installed:

npm install @expo/vector-icons

🔧 Usage

Basic Example

import DevtarSlider from '@devtar/slider';
import React from 'react';
import { View } from 'react-native';

const App = () => {
  return (
    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
      <DevtarSlider
        min={0}
        max={100}
        step={1}
        value={50}
        onChange={(val) => console.log(val)}
      />
    </View>
  );
};

export default App;

Advance Code

import { Text, SafeAreaView, StyleSheet } from 'react-native';
import React from 'react'
// You can import supported modules from npm

import DevtarSlider from '@devtar/slider';

export default function App() {
  const [volume,setVolume] = React.useState(40)
 //is best for your initial value to be the same with your volume value
  return (
    <SafeAreaView style={styles.container}>
    <Text style={{color:"white",fontSize:20, margin:10}}>Vol: {volume}</Text>
      <DevtarSlider
        options={{ //for customizing some properties 
          showIcon: true, // for icon to show true 
          showCounter: true, // to show counter 
          iconColor: '#fff',
          counterColor: '#fff',
          backgroundColor: '#000',
          minimumValue:0,
          maximumValue:100,
          paddingSize:9,
          fillBorderRadius:10,
          widthSize:80,
          initialValue:40,
          iconChange:false,
          ephraimMeta:{
            colorOne:"#000",
            colorTwo:"#333",
            gradientPosition:{x1:1,y1:0,x2:0,y2:2},
            enableStroke:true,
            strokeSize:2,
            strokeColor:"#333",
            innerColor:"#fff"
          },
        }}
        onValueChange={setVolume}
      />
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    backgroundColor: '#555',
    padding: 8,
    paddingLeft: 125,
  },
});

🎨 Customization

🚀 Live Demo (Try it on Expo Snack)

Open in Snack

Ephraim Slider is highly customizable with props:

| Prop | Type | Default | Description | |-------------|-----------|---------|-------------| | min | number | 0 | Minimum value of the slider | | max | number | 100 | Maximum value of the slider | | step | number | 1 | Step value for increments | | value | number | 0 | Initial slider value | | onChange | function | () | Callback for value change | | trackColor| string | #ccc | Color of the track | | thumbColor| string | #000 | Color of the thumb |


📌 Requirements

  • React Native 0.68+
  • Expo SDK 49+ (for Expo users)
  • Peer Dependencies:
    • react-native-reanimated
    • react-native-gesture-handler
    • react-native-svg

🛠️ Development & Contribution

Want to improve Ephraim Slider? Feel free to fork, contribute, or report issues!

  1. Clone the repo:
    git clone https://github.com/devtar/slider.git
  2. Install dependencies:
    cd slider
    npm install
  3. Run the example app (optional):
    cd example && npm start
  4. Make changes and create a Pull Request 🚀

Preview

main

help view help2

📜 License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it, but you must include attribution.


💬 Support & Contact

For questions, issues, or feature requests, open an issue or contact me at [[email protected]/ https://gravatar.com/ahitubephriam5].


CONTACT NUMBER:+2349168033116

Ephraim

🚀 Made with ❤️ by Ephraim Senior Dev