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

@omkarwarik1204/omkar-ui

v1.1.0

Published

A small collection of polished, animated React components — built with TypeScript and Tailwind CSS, shipped with full type declarations and zero runtime dependencies beyond React.

Readme

@omkarwarik1204/omkar-ui

A small collection of polished, animated React components — built with TypeScript and Tailwind CSS, shipped with full type declarations and zero runtime dependencies beyond React.

Currently includes:

  • DynamicIslandNavbar — a floating, Apple-style navbar that stretches smoothly on hover
  • FAQAccordion — an accessible, animated accordion for FAQs

Installation

npm install @omkarwarik1204/omkar-ui

Requires React 19+ in your project (it's a peer dependency — most React projects already have it).


Quick Start

1. Install

npm install @omkarwarik1204/omkar-ui

2. Import the components and the CSS

import { DynamicIslandNavbar, FAQAccordion } from '@omkarwarik1204/omkar-ui'
import '@omkarwarik1204/omkar-ui/style.css'

3. Use them

<DynamicIslandNavbar />
<FAQAccordion />

You don't need Tailwind installed in your own project — all styles are bundled into the CSS file above.


DynamicIslandNavbar

A fixed, centered navbar pill that smoothly stretches outward on hover.

<DynamicIslandNavbar
  brand="Omkar"
  links={[
    { label: 'Home', href: '#home' },
    { label: 'Projects', href: '#projects' },
  ]}
  ctaHref="https://github.com/omkarwarik02"
/>

Props

| Prop | Type | Default | Description | |-------------|---------------------------------------|----------------|-------------------------------------------------------| | brand | string | "Brand" | Text shown on the left of the pill (your name/logo). | | links | { label: string; href: string }[] | 4 sample links | The center navigation links. | | ctaHref | string | "#" | URL for the right-side action item. | | ctaLabel | React.ReactNode | </> | Content shown on the right (text, icon, etc.). | | className | string | "" | Extra classes merged onto the pill — use this to override background, text color, or any other style. |

Custom background / theming

The navbar ships with a dark pill by default. To match it to your own site's background, pass Tailwind (or any CSS) classes via className — they're appended after the built-in styles, so they can override them:

{/* Light navbar */}
<DynamicIslandNavbar className="bg-white text-black" />

{/* Brand color */}
<DynamicIslandNavbar className="bg-indigo-600" />

Note: overriding bg-* changes the pill's background, but link/text colors (text-white/80 etc.) are set on inner elements and won't automatically flip. For a fully custom palette, fork the component or target it with your own CSS selector.


FAQAccordion

An accordion where one item is open at a time, with a smooth height animation and full keyboard/screen-reader accessibility (aria-expanded, aria-controls).

<FAQAccordion
  items={[
    { question: 'Do you ship internationally?', answer: 'Yes, worldwide.' },
    { question: 'What is your return policy?', answer: '30-day returns.' },
  ]}
/>

Props

| Prop | Type | Default | Description | |-------------|----------------------------------------------------|----------------|------------------------------------------------| | items | { question: string; answer: React.ReactNode }[] | 3 sample items | The list of question/answer pairs. | | className | string | "" | Extra classes merged onto the container. |

Custom background / theming

{/* Dark mode FAQ */}
<FAQAccordion className="bg-gray-900 divide-gray-700" />

Note: like the navbar, text colors on individual questions/answers (text-gray-900, text-gray-500) are set internally. className covers the container background and divider color; for full color overrides, target the component with your own CSS or fork it.


Minimal usage (no props)

Both components work out of the box with sensible defaults:

<DynamicIslandNavbar />
<FAQAccordion />

TypeScript

Types are bundled — full autocomplete and type-checking out of the box, no @types package needed.


License

MIT © Omkar Warik