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

@aurea-uds/react

v0.6.0

Published

React components for Aurea UDS. Import @aurea-uds/fonts/css and @aurea-uds/core/css alongside.

Readme

@aurea-uds/react

React components for Aurea Universal Design System.

pnpm add @aurea-uds/react @aurea-uds/core @aurea-uds/fonts @aurea-uds/icons

Use

Load the fonts before the stylesheet — the core no longer embeds IBM Plex.

import "@aurea-uds/fonts/css";
import "@aurea-uds/core/css";
import {AureaProvider, Button} from "@aurea-uds/react";

export default () => (
  <AureaProvider spriteUrl="/aurea-icons.svg">
    <Button variant="primary">Ship it</Button>
  </AureaProvider>
);

spriteUrl points at the file from @aurea-uds/icons — copy it into whatever your app serves as static assets. It is configuration, so it belongs to the provider, not to every component that draws an icon.

Subpath imports

The barrel works, but each category is also its own entry point, so you can take a part of the system without the rest:

import {Button} from "@aurea-uds/react/actions";

Six modules carry an optional engine and are therefore outside the barrel — importing a Button must never pull in a peer you did not install:

| Import | Needs you to install | |---|---| | @aurea-uds/react/code-editor | codemirror and its @codemirror/* packages | | @aurea-uds/react/data-grid | @tanstack/react-table | | @aurea-uds/react/qrcode | qr | | @aurea-uds/react/calendar | react-day-picker | | @aurea-uds/react/chart | recharts | | @aurea-uds/react/graph | @xyflow/react |

Hooks

Four of them are public, and they are the part of the API that has no page in the catalogue — the catalogue documents components, and a hook is not one. Until that changes, this is where they are written down.

import {AureaProvider, useToast} from "@aurea-uds/react";

function SaveButton() {
  const toast = useToast();                                  // inside AureaProvider
  return <Button onClick={() => toast.add({
    title: "Saved",
    description: "Two files uploaded.",
    type: "success",                                         // info | success | warning | danger
  })}>Save</Button>;
}

The stack renders itself: AureaProvider already mounts the viewport, so there is no <Toaster/> to place and no second provider to install.

| Hook | What it gives you | |---|---| | useToast() | add({title, description, type}), plus close(id) and the live list. The queue is Base UI's | | useAureaTheme() | reads and sets both axes on <html>: theme (dark/light) and density. theme is null on the server — do not draw theme-dependent UI until it isn't | | useAureaStrings() | the label dictionary, merged with what you passed to the provider | | useSpriteUrl() | where the icon sprite is being loaded from |

Requirements

React 19 or later. ref is a plain prop in React 19, and the types depend on that.

Licence

Apache-2.0.