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

@getfly-ui/select

v0.0.3

Published

Select for getfly UI

Readme

Select component

NPM License NPM Version npm bundle size npm bundle size NPM Downloads NPM Type Definitions

How to use

import { Select } from '@getfly-ui/select';

OR

import { Select } from 'getfly-ui';

Props

Select

| Prop | Type | Default | Description | | ---- | ---- | ------- | ----------- | | aria-errormessage | string or undefined | | HTML ID of an element containing an error message related to the input* | | aria-invalid | boolean or "false" or "true" or "grammar" or "spelling" or undefined | | Indicate if the value entered in the field is invalid * | | aria-label | string or undefined | | Aria label (for assistive tech) | | aria-labelledby | string or undefined | | HTML ID of an element that should be used as the label (for assistive tech) | | aria-live | enum | | Used to set the priority with which screen reader should treat updates to live regions. The possible settings are: off, polite (default) or assertive | | autoFocus | boolean or undefined | | | | blurInputOnSelect | boolean or undefined | false | | | captureMenuScroll | boolean or undefined | true | | | className | string or undefined | | | | closeMenuOnSelect | boolean or undefined | true | | | closeMenuOnScroll | boolean or ((event: Event) => boolean) or undefined | false | | | escapeClearsValue | boolean or undefined | false | | | filterOption | ((option: FilterOptionOption<Option>, inputValue: string) => boolean) or null or undefined | createFilter() | | | formatGroupLabel | ((group: Group) => ReactNode) or undefined | <Option, Group extends GroupBase<Option>>(group: Group): string => group.label as string | | | formatOptionLabel | ((data: Option, formatOptionLabelMeta: FormatOptionLabelMeta<Option>) => ReactNode) or undefined | | | | getOptionLabel | GetOptionLabel<Option> or undefined | <Option>(option: Option): string => (option as { label?: unknown }).label as string | | | getOptionValue | GetOptionValue<Option> or undefined | <Option>(option: Option): string => (option as { value?: unknown }).value as string | | | hideSelectedOptions | boolean or undefined | | | | inputValue | string | | | | instanceId | string or number or undefined | | | | isClearable | boolean or undefined | | | | isDisabled | boolean or undefined | false | | | isLoading | boolean or undefined | false | | | isOptionDisabled | ((option: Option, selectValue: Options<Option>) => boolean) or undefined | <Option>(option: Option): boolean => !!(option as { isDisabled?: unknown }).isDisabled | | | isOptionSelected | ((option: Option, selectValue: Options<Option>) => boolean) or undefined | | | | isMulti | boolean or undefined | false as IsMulti | | | isSearchable | boolean or undefined | true | | | minMenuHeight | number or undefined | 140 | | | maxMenuHeight | number or undefined | 300 | | | menuIsOpen | boolean | | | | menuPlacement | enum | bottom | | | menuPosition | enum | absolute | | | menuPortalTarget | HTMLElement or undefined | | | | menuShouldBlockScroll | boolean or undefined | false | | | menuShouldScrollIntoView | boolean or undefined | !isMobileDevice() | | | loadingMessage | ((obj: { inputValue: string; }) => ReactNode) or undefined | () => 'Đang tải dữ liệu...' | | | noOptionsMessage | ((obj: { inputValue: string; }) => ReactNode) or undefined | () => 'Chưa có dữ liệu' | | | multiGroupMessage | ((obj: { selectedCount: number; }) => ReactNode) or undefined | ({ selectedCount }) => Đã chọn ${selectedCount}`` | | | onBlur | FocusEventHandler<HTMLInputElement> or undefined | | | | onChange | (newValue: OnChangeValue<Option, IsMulti>) => void | | Handle change events on the select | | onFocus | FocusEventHandler<HTMLInputElement> or undefined | | Handle focus events on the control | | onInputChange | ((newValue: string) => void) or undefined | | Handle change events on the input | | onKeyDown | KeyboardEventHandler<HTMLDivElement> or undefined | | | | onMenuOpen | () => void | | | | onMenuClose | () => void | | | | onMenuScrollToTop | ((event: WheelEvent or TouchEvent) => void) or undefined | | | | onMenuScrollToBottom | ((event: WheelEvent or TouchEvent) => void) or undefined | | | | openMenuOnFocus | boolean or undefined | false | | | openMenuOnClick | boolean or undefined | true | | | options | OptionsOrGroups<Option, Group> or undefined | [] | | | pageSize | number or undefined | 5 | | | placeholder | ReactNode | Select... | | | value | PropsValue<Option> | | | | required | boolean or undefined | | | | isError | boolean or undefined | | | | showAllSelected | boolean or undefined | false | | | maxShowValue | number or undefined | 2 | | | ref | Ref<any> or undefined | | |