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

@bikiran/inputs

v3.5.1

Published

A simple and reusable React input component library

Readme

npm Version npm Downloads GitHub License GitHub Issues GitHub Stars GitHub Last Commit

Overview

bik-inputs is a reusable, customizable, and accessible input component library for React applications. It supports multiple input types with built-in animations and enhanced UX features, styled using Tailwind CSS.

⚠️ Important Note: This library uses Tailwind CSS for styling. To ensure proper theming, define primary and secondary color palettes (especially primary-700 and secondary-700) in your Tailwind configuration.

Features

  • Support for multiple input types (email, phone, date, OTP, etc.)

  • Animated labels and textareas

  • Easily customizable via Tailwind CSS

  • Validation and calculation-ready input fields

  • Built-in accessibility support

Available Components

Each input type is available as an independent component:

  1. AnimatedInputField
  2. AnimatedSelectField
  3. AnimatedTextField
  4. CalculationInputField
  5. DateInputField
  6. EmailInputField
  7. InputField
  8. OTPInputField
  9. PhoneInputField
  10. Select
  11. UserSearchField
  12. ValidationInputField

Props

Each component may have its own specific props, but the following are common across many of them:

Prop | Type | Description label | string | label for the input field name | string | label for the input field formData | Record<string, any> | label for the input field onChange | (e: any) => void | label for the input field

Getting Started

Installation

Install the package via npm:

npm install @bikiran/inputs

or via yarn:

yarn add @bikiran/inputs

How It Works

This package is designed to seamlessly inherit your project’s Tailwind CSS theme. It automatically uses your existing:

  • Primary/secondary colors
  • Font families
  • Spacing scale
  • Other design tokens

No extra configuration is needed—just ensure your tailwind.config.js is properly set up.

Example

Your tailwind.config.js should define colors using CSS variables like this:

theme: {
  extend: {
    colors: {
      primary: {
        DEFAULT: "var(--primary)",
        50: "var(--primary-50)",
        100: "var(--primary-100)",
        200: "var(--primary-200)",
        300: "var(--primary-300)",
        500: "var(--primary-500)",
        700: "var(--primary-700)",
        900: "var(--primary-900)",
      },
      secondary: {
        DEFAULT: "var(--secondary)",
        50: "var(--secondary-50)",
        100: "var(--secondary-100)",
        300: "var(--secondary-300)",
        500: "var(--secondary-500)",
        700: "var(--secondary-700)",
        900: "var(--secondary-900)",
      },
    },
  },
}

This setup allows all components to automatically inherit your color scheme across different shades.

Basic Usage

  1. Import Components
import {AnimatedInputField} from  "@bikiran/inputs"

Documentation

For complete documentation and usage examples, please see: Components Documentation

Here's just the "How to Contribute" section in Markdown:

🤝 How to Contribute

We welcome contributions! To contribute to the package :

  1. Fork the repository and clone your fork locally.
  2. Create a new branch for your feature or bugfix:
git checkout -b my-feature-name
  1. Make your changes in supporting files.
  2. If you’re adding a feature or behavior, consider updating the docs or usage example.
  3. Commit your changes:
git commit -m "feat: add awesome feature"

6.Push to your fork:

git push origin my-feature-name

7.Open a Pull Request with a clear title and description.

🧪 Before submitting:

  • Run and test the component in your app.
  • Check for console errors or style breakages.
  • Use consistent naming and follow the existing code style.

Thanks for your contribution! ❤️

License

MIT License

Author

Develop by Bikiran