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

marginalia-ui

v0.1.2

Published

Warm, academic, and elegant React/Next UI components from Marginalia.

Downloads

269

Readme

Marginalia UI

Marginalia UI is a warm, academic, and elegant React/Next UI kit for teams that want calmer, more editorial interfaces than the usual AI-generated website output.

It is especially well suited to:

  • blogs
  • essays
  • docs portals
  • knowledge products
  • editorial products
  • content-heavy websites

npm

npm install marginalia-ui

Import the stylesheet once near your app root:

import "marginalia-ui/styles.css";

GitHub Repository

  • https://github.com/tahsinkoc/marginalia-ui

Quick Start

import { Badge, Button, Card, CardContent, CardHeader, CardTitle, Input } from "marginalia-ui";
import "marginalia-ui/styles.css";

export function Example() {
  return (
    <Card>
      <CardHeader>
        <Badge>Marginalia</Badge>
        <CardTitle>Join the reading room</CardTitle>
      </CardHeader>
      <CardContent className="grid gap-3">
        <Input placeholder="[email protected]" />
        <Button>Request access</Button>
      </CardContent>
    </Card>
  );
}

Included Components

Marginalia currently includes:

  • Foundations: Button, Badge, Alert, Avatar, Card, Label
  • Forms: Input, Textarea, Checkbox, RadioGroup, Switch, Select, Combobox, Calendar, DatePicker
  • Overlays: Dialog, Sheet, DropdownMenu, Popover, Tooltip, HoverCard, ContextMenu, Toast, Command, CommandPalette
  • Navigation: Tabs, Accordion, Breadcrumb, Menubar, Pagination
  • Data and editorial: DataTable<T>, Table, EmptyState, Skeleton, Progress, Stepper, CodeViewer, RichTextSurface

Theme Customization

Marginalia is token-driven.

The compiled CSS exposes warm, semantic variables for:

  • color
  • radius
  • shadow
  • spacing
  • density
  • typography

Example override:

:root {
  --marginalia-color-canvas: 247 242 233;
  --marginalia-color-surface: 255 250 243;
  --marginalia-color-accent: 157 112 78;
  --marginalia-size-control-md: 44px;
  --marginalia-size-text-body: 15px;
}

.dark {
  --marginalia-color-canvas: 23 19 16;
  --marginalia-color-surface: 33 27 23;
  --marginalia-color-accent: 199 154 114;
}

Marginalia supports:

  • warm light defaults
  • warm dark mode
  • compact or roomier density tuning
  • theme directions that feel more authored than generic UI presets

Use with Codex

Marginalia is designed to work especially well with AI-assisted frontend building.

The GitHub repo includes a dedicated Codex skill:

  • skills/marginalia-ui

That skill teaches Codex how to use the system correctly:

  • which components to prefer
  • how to stay inside the Marginalia visual language
  • how to use theme tokens instead of random overrides
  • how to compose full pages from the kit
  • how to keep warm/editorial styling intact

Example prompt:

Use $marginalia-ui at ./skills/marginalia-ui to build a warm editorial landing page with marginalia-ui.
Prefer existing Marginalia components and theme tokens over custom styling or another UI kit.

Why the Skill Matters

Many AI-built websites end up looking interchangeable.

Marginalia tries to solve that by combining:

  • a distinctive warm UI system
  • token-based theme building
  • standardized component usage
  • a Codex skill that teaches the system to use itself

This helps agents generate UI that is:

  • more consistent
  • more recognizable
  • more warm and editorial
  • less generic

It also means that even smaller models or lighter-weight agents can still stay above a stronger baseline when building UI, because the skill gives them a clearer system to follow.

License

MIT