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

@redvars/peacock

v3.1.3

Published

The foundation for beautiful user interfaces

Readme

Peacock

The foundation for beautiful user interfaces.

Build GitHub license Version

Peacock gives you the tools and foundation to build beautiful, usable product interfaces. It’s the system you use to craft your own component library.

What is Peacock?

Peacock is more than just a collection of components; it is an aesthetic philosophy. Like its avian namesake, it provides the core elements (the primitives) that allow the full, vibrant display (the design) to be unveiled.

Opinionated Beauty: We deliver pre-styled, beautiful components that follow modern design trends, significantly reducing the boilerplate needed to achieve a professional look.

Foundation First: Similar to projects like shadcn/ui, Peacock focuses on providing the foundational primitives, ensuring maximum flexibility for customization without sacrificing initial polish.

Seamless Integration: Designed with modern web frameworks in mind (e.g., React, Vue), integrating Peacock into your existing project structure is fast, efficient, and empowering.

Key Features

Vibrant & Consistent Design System: Every component—from buttons and cards to complex data tables—shares a cohesive, high-quality visual language.

Highly Extensible: The component structure is designed for easy overwriting and theme customization, allowing you to quickly adapt the style to your specific brand identity.

Built for Accessibility: Focus on semantic HTML and proper ARIA attributes to ensure that your beautiful interfaces are accessible to all users.

Responsive by Default: Components are built with responsiveness baked in, guaranteeing a graceful display across all screen sizes and devices.

Documentation

Visit https://peacock.redvars.com to view the documentation.

Getting Started

<head>
  
   <!-- Default font : Noto Sans and Noto Sans Mono -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:[email protected]&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">

  <script type='module'
          src='https://cdn.jsdelivr.net/npm/@redvars/[email protected]/dist/peacock-loader.js'></script>
</head>

<p-avatar name="Shivaji Varma"></p-avatar>

Components

  • 🟢 ready (feature complete for now)
  • 🟡 beta (changes possible, not feature complete)
  • 🔴 not ready (unstyled / no functions)
  • 🔵 planned (created, but empty files)

Input Controls

Input controls are UI design elements that allow users to input information into the system. They are essential for collecting data and enabling user interactions. Some common examples of input controls include text fields, dropdown menus, checkboxes, and radio buttons.

| Name | Component | State | |------------------------------------------------------------|----------------------|-------| | Code editor | p-card-editor | 🟢 | | Color picker | p-color-picker | 🔴 | | Checkbox | p-checkbox | 🟢 | | Date picker | p-date-picker | 🟡 | | Date Time picker | p-datetime-picker | 🔴 | | Form control | p-form-control | 🟡 | | File picker | p-file-picker | 🔴 | | HTML editor | p-html-editor | 🟢 | | Input | p-input | 🟢 | | Input URL | p-input-url | 🟢 | | Month picker | p-month-picker | 🔴 | | Number | p-number | 🟢 | | Select | p-select | 🟢 | | Textarea | p-textarea | 🟢 | | Time picker | p-time-picker | 🟡 | | URL input | p-url-input. | 🔴 | | Week picker | p-week-picker | 🔴 |

Navigation

Navigational components are UI elements that help users move around the app or website. They provide users with a clear and intuitive way to navigate through different sections and pages. Some common examples of navigational components include menus, tabs, and breadcrumbs.

| Name | Component | State | |--------------------------------------------------------|-----------------|-------| | Breadcrumb | p-breadcrumb | 🟢 | | Dropdown | p-dropdown | 🟡 | | Menu | p-menu | 🟡 | | Tabs | p-tabs | 🟢 |

Informational

Informational components are UI elements that provide information to users. They communicate important messages, updates, or instructions within the app or website. Some common examples of informational components include notifications, tooltips, and progress bars.

| Name | Component | State | |----------------------------------------------------------------------------------|---------------------------|-------| | Badge | p-badge | 🟢 | | Progress | p-progress | 🟢 | | Spinner | p-spinner | 🟢 | | Tooltip | p-tooltip | 🟢 | | Notification | p-notification | 🟢 | | Notification Manager | p-notification-manager | 🟢 |

Containers

Containers are UI elements that group similar content together, making it easier for users to navigate and scan through the interface. Examples of common containers include cards, carousels, and accordions, which provide structure and organization to the content.

| Name | Component | State | |------------------------------------------------------|----------------|-------| | Accordion | p-accordion | 🟢 | | Card | p-card | 🟡 |

General

These components are used for general purpose. They include

| Name | Component | State | |----------------------------------------------------------------------------|---------------------------|-------| | Avatar | p-avatar | 🟢 | | Button | p-button | 🟢 | | Button Group | p-button-group | 🟢 | | Calendar | p-calendar | 🟢 | | Card Select | p-cardselect | 🔴 | | Code Highlighter | p-card-highlighter | 🟢 | | Column | p-col | 🔴 | | Empty State | p-empty-state | 🟡 | | Flow Designer | p-flow-designer | 🔵 | | Grid | p-grid | 🔴 | | Group | p-group | 🔴 | | Header | p-header | 🟢 | | Icon | p-icon | 🟢 | | Link | p-link | 🟢 | | Modal | p-modal | 🟢 | | Notification Manager | p-notification-manager | 🟡 | | Observer | p-observer | 🔴 | | Pagination | p-pagination | 🔴 | | Radio Group | p-radiogroup | 🔴 | | Row | p-row | 🔴 | | Slider | p-slider | 🟡 | | Spoiler | p-spoiler | 🔴 | | Stepper | p-stepper | 🔴 | | Table | p-table | 🟡 | | Tag / Chip | p-tag | 🟢 | | Text | p-text | 🟢 | | Tree View | p-tree-view | 🟡 | | Toggle | p-toggle | 🟢 |

Charts

These components are used to display data in a graphical format. They include

| Name | Component | State | |----------------------------------------------------------------|---------------------|-------| | Doughnut Chart | p-chart-doughnut | 🟢 | | Pie Chart | p-chart-pie | 🟢 |

📄 License

Peacock is open-source software licensed under the Apache-2.0 License.


Made with 💖 by shivajivarma.