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

@meristem/ui-navbar

v4.0.7

Published

Reusable Meristem Navbar UI component

Downloads

201

Readme

@meristem/ui-navbar

A small, reusable React Navbar component library built with TypeScript, Tailwind CSS and Framer Motion.

This package exports a single UI component — Navbar — designed for inclusion into React apps where react and react-dom are provided by the host app.

Install

Install from npm (example):

npm install @meristem/ui-navbar
# or
yarn add @meristem/ui-navbar

Note: react and react-dom are peer-dependencies and must be installed in the consuming project.

Peer dependencies

  • react >= 17
  • react-dom >= 17

Make sure your project provides these. Example:

npm install react react-dom

Usage

Basic usage in a React app:

import React from "react";
import { Navbar } from "@meristem/ui-navbar";
import "@meristem/ui-navbar/dist/assets/ui-navbar.css";

export default function App() {
  return (
    <div>
      <Navbar />
      {/* rest of app */}
    </div>
  );
}

Notes on styling:

  • This library uses Tailwind CSS utility classes for layout and styling. The published build contains compiled CSS if the library is built with PostCSS/Tailwind configured — however, if you consume the library's raw source (or run the dev server locally) make sure your app has Tailwind configured or that you import the library's CSS.
  • The repository's entry imports ./index.css from src/index.tsx; if you consume the source directly, ensure the correct CSS file is present or update the import to your preferred stylesheet.

Development (local)

Run the Vite dev server to preview the component locally:

npm run dev
# or
yarn dev

Build (library output)

Build the library bundle (creates dist/):

npm run build
# or
yarn build

After build you'll find files in dist/ (ES and UMD builds) and TypeScript declarations at dist/types.

Files & important notes for maintainers

  • Entry: src/index.tsx — re-exports Navbar from src/components/Navbar.tsx.
  • Main component: src/components/Navbar.tsx — uses Framer Motion and lucide-react icons.
  • Assets: src/assets/index.ts — re-exports image assets used by components.
  • Build config: vite.config.ts (note: currently points to src/index.ts while the repo exposes src/index.tsx; confirm or fix before editing build entry).
  • Type declarations: tsconfig.json writes them to dist/types.

Contributing

Small PRs are welcome. Run tests/type-check locally before opening PRs:

npx tsc --noEmit
npm run build

License

MIT