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

@florexlabs/ui

v0.1.3

Published

Dark-first React component library by Florex Labs — 46+ accessible components, design tokens, and Tailwind CSS v4 integration for building modern web applications.

Readme

@florexlabs/ui

npm version license storybook

Dark-first React component library built with Tailwind CSS v4, TypeScript, and CVA. 46+ accessible, composable components designed for modern web applications.

Features

  • 🌙 Dark-first — designed for dark interfaces with green/lime brand accents
  • 🧩 46+ components — forms, data display, feedback, navigation, overlays, layout
  • 🎨 Design tokens — CSS variables for colors, spacing, radius, shadows
  • Accessible — semantic HTML, ARIA attributes, keyboard navigation
  • 📦 Tree-shakeable — ESM + CJS, only import what you use
  • 🎯 TypeScript — full type safety with exported types
  • 💚 Phosphor Icons — optional integration with Phosphor Icons

Install

pnpm add @florexlabs/ui
# peer dependencies
pnpm add react react-dom tailwindcss
# icons (optional, recommended)
pnpm add @phosphor-icons/react

Quick Start

// 1. Import the CSS tokens in your app entry
import "@florexlabs/ui/florex.css";

// 2. Use components
import { Button, Card, Badge, Input } from "@florexlabs/ui";

function App() {
  return (
    <Card variant="hover">
      <Input placeholder="Enter your email" />
      <Button variant="primary">Subscribe</Button>
      <Badge tone="brand">New</Badge>
    </Card>
  );
}

Components

Forms

Button · IconButton · Input · Textarea · Select · Checkbox · Radio · Switch · Label · FormMessage

Data Display

Card · Badge · Tag · Avatar · Table · Code · CodeBlock · Kbd · Status · Stat · DataList

Typography

Heading · Text · Blockquote · Highlight · List

Feedback

Alert · EmptyState · Spinner · Skeleton · Progress

Navigation

Tabs · Accordion · Breadcrumb · Pagination · Steps · Menu

Overlays

Modal · Drawer · Popover · Tooltip

Layout

Container · Section · Navbar · Stack · Divider · Timeline · TreeView

Utility

VisuallyHidden · cn()

Icons

We recommend Phosphor Icons — 9,000+ icons in 6 weights that match the Florex design system.

import { Plus, Gear, Warning } from "@phosphor-icons/react";
import { Button, IconButton, Alert } from "@florexlabs/ui";

<Button><Plus size={16} weight="bold" /> Create</Button>
<IconButton icon={<Gear size={18} />} aria-label="Settings" variant="ghost" />
<Alert variant="warning" icon={<Warning size={18} />}>Check config</Alert>

Components like Pagination, Accordion, Breadcrumb, and Tag automatically use Phosphor icons when installed, with text fallbacks otherwise.

Design Tokens

All tokens are available as CSS custom properties via florex.css:

/* Colors */
--bg · --surface · --surface-muted · --foreground · --muted · --border
--brand-900 · --brand-700 · --brand-600 · --brand-500 · --brand-300
--danger · --warning · --success

/* Radius */
--radius-sm · --radius-md · --radius-lg · --radius-xl · --radius-full

/* Shadows */
--shadow-card · --shadow-glow

/* Typography */
--font-montserrat · --font-poppins

Tokens are also available as TypeScript objects:

import { colors, spacing, radius, shadows } from "@florexlabs/ui";

Documentation

  • Storybook — live component playground
  • docs/ — MDX documentation with props tables and examples

Development

pnpm install
pnpm dev          # watch mode
pnpm test         # run tests (153 tests)
pnpm storybook    # component playground
pnpm lint         # eslint + tailwind canonical
pnpm build        # production build

License

MIT © Florex Labs