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

@fe-monorepo/ui

v1.0.2

Published

A collection of reusable UI components built with [Radix UI](https://www.radix-ui.com/) and [Tailwind CSS](https://tailwindcss.com/), following the [shadcn/ui](https://ui.shadcn.com/) design pattern.

Readme

@fe-monorepo/ui

A collection of reusable UI components built with Radix UI and Tailwind CSS, following the shadcn/ui design pattern.

Installation

npm install @fe-monorepo/ui
# or
pnpm add @fe-monorepo/ui
# or
yarn add @fe-monorepo/ui

Prerequisites

This package requires:

  • React 19 or higher
  • Tailwind CSS v4.x

Setup

1. Import Styles

Add the following import to your globals.css file:

@import "@fe-monorepo/ui/globals.css";

2. Configure Tailwind CSS

This package uses Tailwind CSS v4 with CSS variables for theming. The theme and CSS variables are already included in the globals.css file.

Make sure your postcss.config.js is configured to use Tailwind CSS v4:

export default {
  plugins: {
    "@tailwindcss/postcss": {},
  },
};

3. Import Styles in Your App

Import your CSS file in your app's entry point (e.g., app/layout.tsx for Next.js or main.tsx for Vite):

import "./globals.css";

4. Setup Dark Mode (Optional)

If you want dark mode support, install and configure next-themes:

npm install next-themes

Then wrap your app with the ThemeProvider:

import { ThemeProvider } from "next-themes";

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
      {children}
    </ThemeProvider>
  );
}

Usage

Import components from the package:

import {
  Button,
  Card,
  CardContent,
  CardHeader,
  CardTitle,
  Dialog,
  DialogContent,
  DialogTrigger,
} from "@fe-monorepo/ui";

export function MyComponent() {
  return (
    <div>
      <Button>Click me</Button>
      <Card>
        <CardHeader>
          <CardTitle>Card Title</CardTitle>
        </CardHeader>
        <CardContent>Card content</CardContent>
      </Card>
    </div>
  );
}

Import Individual Components

You can also import components individually:

import { Button } from "@fe-monorepo/ui/components/button";
import { cn } from "@fe-monorepo/ui/libs/cn";

Available Components

This package includes the following components:

  • Accordion
  • Alert Dialog
  • Aspect Ratio
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Calendar
  • Checkbox
  • Collapsible
  • Command
  • Context Menu
  • Dialog
  • Drawer
  • Dropdown Menu
  • Form
  • Hover Card
  • Input
  • Input OTP
  • Label
  • Menubar
  • Navigation Menu
  • Pagination
  • Popover
  • Progress
  • Radio Group
  • Resizable
  • Scroll Area
  • Select
  • Separator
  • Sheet
  • Skeleton
  • Slider
  • Sonner (Toast)
  • Switch
  • Table
  • Tabs
  • Textarea
  • Toggle
  • Toggle Group
  • Tooltip

Utilities

cn utility

The package exports a cn utility function for merging class names:

import { cn } from "@fe-monorepo/ui";

<div className={cn("base-class", condition && "conditional-class")} />;

Customization

The package includes a default theme with CSS variables. All theme variables are defined in the globals.css file and can be customized by overriding the CSS variables in your own CSS file.

Resources

License

MIT