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

mk-reusable-components

v1.0.0

Published

Reusable Components

Downloads

4

Readme

Reusable

Reusable Components

  1. Inputs Text Input: For entering plain text (e.g., name, email). Done Password Input: For entering secure text (e.g., passwords). Done Number Input: For numeric values with min and max validation. Textarea: For multi-line input. Done Search Input: Includes a search icon and clear functionality. Done

  2. Selects Dropdown Select: For choosing a single value from a list. Multi-Select: For choosing multiple options from a list. Autocomplete/Combobox: Dropdown with typeahead support.

  3. Buttons Primary Button: For main actions (e.g., Submit). Secondary Button: For less important actions. Icon Button: Button with just an icon (e.g., close, search). Loading Button: Button with a loading spinner.

  4. Checkboxes & Radios Checkbox: For boolean selection (e.g., "I agree to terms"). Checkbox Group: Group of checkboxes for multi-select. Radio Button: For selecting one option from a group. Radio Group: Group of related radio buttons.

  5. Switches & Toggles For binary on/off states (e.g., dark mode, settings).

  6. Modals/Dialogs Basic Modal: Popup with a close button. Confirmation Modal: For confirming actions (e.g., "Are you sure?"). Form Modal: Modal with a form inside.

  7. Cards Basic Card: For displaying grouped content. Interactive Card: Clickable cards with hover effects. Media Card: Includes an image or video.

  8. Alerts/Notifications Alert: For important messages (success, error, warning, info). Toast Notification: Temporary, dismissable messages.

  9. Tables Basic Table: Displays tabular data. Data Table: Includes features like sorting, filtering, and pagination.

  10. Tabs For organizing content in separate panes.

  11. Breadcrumbs For navigation context (e.g., Home > Products > Shoes).

  12. Navigation Components Navbar: For site-wide navigation. Sidebar: For app navigation or filters. Pagination: For navigating through pages.

  13. Loaders Spinner: A simple loading animation. Skeleton Loader: Placeholder UI for loading states.

  14. Tooltips For providing additional information on hover or focus.

  15. Avatars For user profile pictures or placeholders.

  16. Forms Form Wrapper: Handles form state, validation, and submission. Field Components: Reusable form fields like TextField, SelectField, CheckboxField.

  17. Typography Text: For body text with consistent styles. Heading: H1–H6 with consistent styles. Link: Styled anchor tags for navigation.

  18. Images Responsive Image: Automatically adjusts to container size. Lazy Loaded Image: Loads images as they appear in the viewport.

  19. Icons Reusable icon component that supports multiple sizes, colors, and types (e.g., SVG or font-based).

  20. Date/Time Components Date Picker: For selecting dates. Time Picker: For selecting times. DateTime Picker: Combines both.

  21. File Uploads File Input: For uploading files. Drag & Drop Upload: For intuitive file uploads.

  22. Progress Indicators Progress Bar: Shows percentage of completion. Circular Progress: Circular version of a progress indicator.

  23. Chips/Tags For displaying categories, labels, or user selections.

  24. Accordions Expandable/collapsible sections for showing/hiding content.

  25. Stepper For multi-step processes (e.g., onboarding wizards).