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 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-native-slider-intro

v3.0.1

Published

A simple and full customizable React Native package which implements a unique slider.

Downloads

740

Readme

npm version build platform react-native-slider-intro NPM total downloads license

runs with Expo Go

yarn add react-native-slider-intro

or

npm install react-native-slider-intro --save

iOS

yarn example ios

Android

yarn example android
import React from 'react';
import SliderIntro from 'react-native-slider-intro';

const slides = [
  {
    index: 1,
    title: 'First step',
    text: 'Simple description.',
    link: 'https://rnstudio.hu',
    image: require('./images/step1.png'),
    backgroundColor: '#febe29',
  },
  {
    index: 2,
    title: 'Second step',
    text: 'Simple description for the second step.',
    image: require('./images/step2.png'),
    backgroundColor: '#febe29',
  },
];

const BasicExample = ({ closeExample }: { closeExample: () => void }) => (
  <SliderIntro data={slides} onDone={closeExample} onSkip={closeExample} />
);

export default BasicExample;

The package includes two rendering options. In addition to the default render, where you can pass data as an array of SliderIntroItemProps, you can use a custom render with children and numberOfSlides properties.

| Name | Type | Default value | Description | | ---------------------------- | -------- | ------------------------------------- | -------------------------------------------------------------------------------------------- | | data | array | [] | Default render - An array of items. If data is provided, children will be ignored. | | numberOfSlides | array | number | Custom render - if children is provided, data will be ignored. numberOfSlides is required in this case. | | children | ReactNode| null | Custom render - JSX elements to render. | | navigationBarBottom | number | 0 | Custom bottom position of the dot navigation container. | | navigationBarHeight | number | 70 | Height of the dot navigation container. | | animateSlideSpeed | number | 15 | Speed of the slider animation. | | navContainerMaxSizePercent | number | 0.5 | The maximum width of the navigation container as a percentage of the total width. | | dotWidth | number | 12 | The radius of the navigation dots. | | fixDotOpacity | number | 0.35 | Opacity of inactive (non-animated) dots. | | fixDotBackgroundColor | color| grey | Background color of inactive dots. | | animatedDotBackgroundColor | color| white | Background color of the animated dot. | | animateDotSpeed | number | 8 | Speed of the dot animation. | | animateDotBouncing | number | 2 | Bounciness value of all animations. https://reactnative.dev/docs/animated#spring | | skipLabel | string | Skip | Custom label for skip button. | | nextLabel | string | Next | Custom label for next button. | | doneLabel | string | Done | Custom label for done button. | | renderSkipButton | function | Default skip/previous button renderer | Custom renderer for the skip/previous button. | | renderNextButton | function | Default next button renderer | Custom renderer for the next button. | | renderDoneButton | function | Default done button renderer | Custom renderer for the done button. | | onDone | function | none | Callback function executed when the done button is pressed. | | onSkip | function | none | Callback function executed when the skip button is pressed. | | showLeftButton | boolean | true | Whether to show the skip/previous button on the left side. | | leftButtonType | string | skip | The button type on the left side, either skip or previous. | | columnButtonStyle | boolean | false | If true, buttons will be displayed in a column. | | limitToSlide | number | (Device max width) * 0.35 | Defines the slide animation limit, based on PanResponder's gestureState.dx property.

See the contributing guide to learn how to contribute to the repository and the development workflow.

MIT