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

@carlos3g/element-dropdown

v2.18.1

Published

A maintained React Native dropdown and multi-select. Drop-in fork of react-native-element-dropdown, actively shipping upstream bug fixes with signed releases via npm Trusted Publishing.

Readme

react-native-element-dropdown, maintained.

📚 Full documentation →

A drop-in fork of react-native-element-dropdown. Bugs get fixed, the toolchain stays current, and every release is signed. Same API, same components (Dropdown, MultiSelect, SelectCountry), same props — change two lines and keep shipping.

npm install @carlos3g/element-dropdown
- import { Dropdown } from 'react-native-element-dropdown';
+ import { Dropdown } from '@carlos3g/element-dropdown';

Why this fork

The original package is unmaintained — a large open issue backlog, plus clean community PRs sitting untouched for years. If you're already on react-native-element-dropdown, you've probably hit at least one of these:

  • Invariant Violation: scrollToIndex out of range when searching long lists
  • The list flashes at the wrong position for a frame when you reopen it
  • IDropdownRef / IMultiSelectRef missing when you build for web or Expo
  • Every item has a non-overridable padding: 17itemContainerStyle can't shrink it
  • MultiSelect trigger uses placeholderStyle even after you've selected something

Fixed — along with plenty more. See the roadmap in docs/upstream-triage.md and per-version detail in the release notes.

What you get

  • Dropdown + MultiSelect + SelectCountry — three components, one package, same feel on iOS and Android
  • Drop-in migration — public API unchanged from [email protected], peerDependencies: *
  • Active maintenance — upstream bugs get triaged and fixed in every release; see the changelog for the current set
  • Better defaults — per-item disable via disabledField, hitSlop for bigger tap targets, allowFontScaling, isInsideModal for nested Modal positioning
  • Proper accessibility — trigger announces as combobox, items expose selected/disabled state
  • A real test suite — integration tests cover the core interaction flows
  • Signed releases — published via npm Trusted Publishing, with provenance attestation on every version

Quick example

import { useState } from 'react';
import { Dropdown } from '@carlos3g/element-dropdown';

const data = [
  { label: 'Apple', value: 'apple' },
  { label: 'Banana', value: 'banana' },
];

export function FruitPicker() {
  const [value, setValue] = useState<string | null>(null);
  return (
    <Dropdown
      data={data}
      labelField="label"
      valueField="value"
      placeholder="Pick a fruit"
      value={value}
      onChange={(item) => setValue(item.value)}
    />
  );
}

For the full API (Dropdown, MultiSelect, SelectCountry), migration guide, and 18 hands-on recipes, see the docs.

Use with AI assistants

This package is designed to work well with LLM-powered tools (Claude, Cursor, GitHub Copilot, ChatGPT, Aider, etc.):

  • llms.txt / llms-full.txt — the docs site exposes both files at the root, following the llmstxt.org standard:
    • /llms.txt — short manifest with links to every page
    • /llms-full.txt — every doc page concatenated, optimized for a single fetch
  • Rich JSDoc on every prop in DropdownProps, MultiSelectProps, and SelectCountryProps — your IDE's IntelliSense (and any AI integrated with it) sees @default, @example, and links to the matching guide for each prop.
  • Stable, drop-in API — agents can safely refactor existing react-native-element-dropdown codebases just by changing the install name and import path.

Sample prompt

"I'm using @carlos3g/element-dropdown. Read its full documentation at https://carlos3g.github.io/element-dropdown/llms-full.txt and build me a <UserPicker> component that wraps MultiSelect, debounces search, paginates with onEndReached, and shows a sticky modal header with a counter."

Demo

Contributing

See the upstream triage at docs/upstream-triage.md for the current roadmap and the prioritized list of upstream issues and PRs worth porting. Issues and pull requests are the interface — please include a repro when filing.

License

MIT — see LICENSE. This is a fork; the original copyright is preserved in contributor metadata.