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

rdy-comp

v1.1.15

Published

Components Package

Readme

Ready Components

Ready components to create your React App!

Usage/Examples RdyInput

    <Input
        id="email"
        label="E-mail"
        type="email"
        rounded="md"
        bordered={{
          onFocus: 'green',
          onBlur: 'blue',
        }}
    />

Usage/Expample with react-hook-form

    <Input
        {...register('email')} //add attr register from useForm() react-hook-form
        id="email"
        label="E-mail"
        type="email"
        rounded="md"
        bordered={{
          onFocus: 'green',
          onBlur: 'blue',
        }}
    />

RdyInput Props

| Prop | Type | Usage | | --------------| --------|-----------------------------------------| | type | type?: "text" / "password" / "email" / "number" / "search" | type="text" | | placeholder | placeholder?: string / "" | placeholder="Введите данные" | | className | className?: string | className="inputClass" | | id | id: string | id="name" | | label | label?: string | label="Label title" | | error | error?: string | error="Value is must required" || bordered |onFocus?: string, onBlur?: string |onFocus="red" | | | |onBlur="white" | | rounded |rounded?: "none" / "sm" / "md" / "lg" / "xl" / "2xl" / "3xl" / "full" / boolean| rounded="lg"| | backgroundColor | backgroundColor?: | | | | onFocus?: string |onFocus="white" | | onBlur?: string |onBlur="red" | | value |value?: string|value={value}//with react useState() | | onChange |onChange?: (e: React.ChangeEvent) => void|onChange={(e) => setValue(e.targe.value)}| | ref |ref?: React.Ref|ref={ref}| | ...props | |{...register('name')}` // with react-hook-form

Usage/Examples RdySelect

    <CustomSelect
        searchable //Добавить поиск
        multiple //Возможность выбора несколько опций
        clearable //Кнопка стирания
        value={value} //use state
        onChange={setValue} //use state
        placeholder="Выберите фрукт" //placeholder
    >
        <CustomSelectOption 
            value="apple" //value
            label="Яблоко" //label
            disabled //disabled
        >Яблоко</CustomSelectOption>
        <CustomSelectOption value="banana" label="Банан" >Банан</CustomSelectOption>
        <CustomSelectOption value="orange" label="Апельсин" >Апельсин</CustomSelectOption>
        <CustomSelectOption value="grape" label="Виноград" >Виноград</CustomSelectOption>
        <CustomSelectOption value="mango" label="Манго" >Манго</CustomSelectOption>
    </CustomSelect>

How to useage RdySelect component with react-hook-form

    <Controller
        name="select"
        control={control}
        render={({ field }) => (
            <CustomSelect
                {...field}
                searchable
                clearable
                placeholder="Выберите фрукт"
            >
                <CustomSelectOption value="apple" label="Яблоко" disabled>Яблоко</CustomSelectOption>
                <CustomSelectOption value="banana" label="Банан" >Банан</CustomSelectOption>
                <CustomSelectOption value="orange" label="Апельсин" >Апельсин</CustomSelectOption>
                <CustomSelectOption value="grape" label="Виноград" >Виноград</CustomSelectOption>
                <CustomSelectOption value="mango" label="Манго" >Манго</CustomSelectOption>
            </CustomSelect>
        )}
    />