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 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-search-select

v5.0.2

Published

An animated searchbar component so you can search and select objects

Downloads

177

Readme

:information_source: About the project

This project was made for my final paper in the Computer Science course at UFES (Federal University of Espírito Santo). Please leave a STAR at the repository and contribute to the library.

:rocket: Getting Started

  1. Install react-native-vector-icons along with the icon sources you want to use. In the main example, we use the Ionicons source. You can browse all available icon sources and their icons here. If you're unsure which sources you'll need, consider installing all icon sources to cover potential requirements.

  2. Install a library to handle responsiveness. The usage examples rely on react-native-responsive-screen. You can install it using $ yarn add react-native-responsive-screen or $ npm install react-native-responsive-screen If you prefer another way to handle responsiveness, feel free to skip this step. However, you will need to adapt the usage example you choose to match your setup.

  3. Install this library. You can use $ yarn add react-native-search-select or $ npm install react-native-search-select

:information_source: Usage

  1. Create a folder in your project at src/components/SearchSelect and add a new file named index.js inside this folder.

  2. Choose one of the usage examples from the usage examples, and copy the code into src/components/SearchSelect/index.js. You can use any of the examples as a starting point based on your needs (e.g., single-select, multi-select, paginated list).

  3. Import the SearchSelect component into your code and use it as follows:

    import SearchSelect from './src/components/SearchSelect';
    
     const App = () => {
       return (
         <SearchSelect
           placeholder="Search for options"
           // Other props 
         />
       );
     };
    
     export default App;
    

:memo: License

This project is under the MIT license. See the LICENSE for more information.


Made by Danilo José Lima de Oliveira

Get in touch! with me