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

neobrutalism-ui-react

v0.2.3

Published

Neo-brutalist React UI primitive library — bold borders, hard shadows, Tailwind CSS v4

Readme

neobrutalism-ui-react

Neo-brutalist React UI primitive library — bold borders, hard shadows, and Tailwind CSS v4 design tokens.

A React port inspired by ng-brutalism, with full documentation, composition guides, recipes, and a portfolio showcase.

npm version license

Features

  • 70+ primitives — actions, forms, overlays, data display, media, charts, and layout building blocks
  • Composition systemSurface, Section, Stack, Cluster, Split, and related layout primitives
  • Token-driven styling — CSS custom properties + Tailwind v4 utilities via cn() and resolveNbStyles
  • Tree-shakeable ESM — TypeScript declarations included
  • React 18+ — developed on React 19; peer dependency react >= 18
  • Optional peer deps — install Radix, cmdk, recharts, etc. only for the components you use

Requirements

Install

pnpm add neobrutalism-ui-react
# or
npm install neobrutalism-ui-react

Make sure your app already has React, React DOM, and Tailwind CSS v4 configured.

Styles

Import Tailwind and the library stylesheet once in your app entry CSS (e.g. src/styles.css):

@import "tailwindcss";
@import "neobrutalism-ui-react/styles.css";

/* Adjust the path to match your CSS file location */
@source "../node_modules/neobrutalism-ui-react/dist";
  • neobrutalism-ui-react/styles.css — Tailwind theme tokens + base styles (recommended).
  • neobrutalism-ui-react/theme.css — token sheet only; use when you already manage Tailwind elsewhere.

Usage

import { Button } from 'neobrutalism-ui-react';

export function Example() {
  return (
    <Button tone="background" style={{ '--nb-button-bg': '#fff' } as React.CSSProperties}>
      Ship it
    </Button>
  );
}

Provider (optional)

Override theme tokens from React config, or set CSS custom properties in your own stylesheet instead:

import { NeoBrutalismProvider } from 'neobrutalism-ui-react';

<NeoBrutalismProvider
  theme={{
    radius: '0px',
    borderWidth: '3px',
  }}
>
  <App />
</NeoBrutalismProvider>

Dependencies

Required peer dependencies

Installed in your app (not bundled with this package):

| Package | Version | |---------|---------| | react | >=18 | | react-dom | >=18 | | tailwindcss | ^4.0.0 |

Bundled dependencies

Shipped with neobrutalism-ui-react:

| Package | Purpose | |---------|---------| | clsx | Conditional class names | | tailwind-merge | Merge Tailwind classes via cn() |

Optional peer dependencies

Install only when you use the related components:

| Package | Components | |---------|------------| | @radix-ui/react-context-menu | Context Menu | | @radix-ui/react-hover-card | Hover Card | | @radix-ui/react-menubar | Menubar | | @radix-ui/react-navigation-menu | Navigation Menu | | cmdk | Command | | react-hook-form | Form | | react-resizable-panels | Resizable | | recharts | Chart |

pnpm add @radix-ui/react-context-menu @radix-ui/react-hover-card \
  @radix-ui/react-menubar @radix-ui/react-navigation-menu \
  cmdk react-hook-form react-resizable-panels recharts

Components

Accordion · Alert · Alert Dialog · Avatar · Avatar Group · Badge · Breadcrumb · Button · Calendar · Callout · Card · Carousel · Chart · Checkbox · Chip · Cluster · Collapsible · Combobox · Command · Context Menu · Data Table · Date Picker · Dialog · Display · Drawer · Dropdown Menu · Form · Halftone · Hover Card · Icon · Icon Button · Image Card · Input · Input Group · Input OTP · Label · Marquee · Media Frame · Media Item · Menubar · Navigation Menu · Pagination · Popover · Progress · Radio Group · Rating · Resizable · Scroll Area · Section · Select · Separator · Sheet · Sidebar · Skeleton · Slider · Split · Stack · Stat · Status Dot · Sticker · Surface · Switch · Table · Tabs · Text · Textarea · Title · Toast · Tooltip · Typography

Browse live examples in the documentation.

Links

License

MIT © Rahmat Ashari