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

opui-css

v5.0.0

Published

A CSS UI library exploring next-gen HTML & CSS features. Astro components on top of Open Props.

Readme

Open Props UI

A CSS UI library exploring how next-gen HTML & CSS features can change the way we create components. Built on top of Open Props and ships Astro components alongside framework-agnostic CSS.

Install

pnpm add opui-css open-props

Peer dependencies:

  • astro ^6 (only required if you use the Astro components)
  • open-props ^1

Usage

Astro components

---
import "opui-css/css/imports.css"
import { Button, Card } from "opui-css/astro"
---

<Card>
  <Button variant="primary">Click me</Button>
</Card>

Plain HTML + CSS (no build step)

Drop a pre-bundled stylesheet into any page and use the documented class names:

<link rel="stylesheet" href="https://unpkg.com/opui-css/dist/opui.css" />

<button class="ui-button ui-primary">Click me</button>

dist/opui.css is a single self-contained file (Open Props + normalize + theme + every component + utils, in the correct cascade layers). dist/opui.components.css is the same minus tokens and reset for users who already have those.

If you do have a bundler that resolves CSS @imports (Vite, Astro, webpack, …), import the source instead so you only ship what you use:

@import "opui-css/css/imports.css"; /* same content as dist/opui.css */
@import "opui-css/css/components/button.css"; /* or pick à la carte */

Cascade layers

The library defines this layer order:

@layer openprops, normalize, theme, components.root, components.extended, utils;

Wrap your own styles in a layer above utils (or unlayered) to override.

Entry points

| Import | What it gives you | | ----------------------------------- | --------------------------------------------- | | opui-css | Pre-bundled: everything in one file (default) | | opui-css/open-props | Pre-bundled: Open Props tokens only | | opui-css/dist/opui.css | Same as default — explicit path | | opui-css/dist/opui.components.css | Pre-bundled: components only | | opui-css/dist/op.css | Same as opui-css/open-props — explicit path | | opui-css/css/imports.css | Source: everything (resolved by your bundler) | | opui-css/css/components.css | All component styles (no tokens / reset) | | opui-css/css/components/*.css | One component at a time | | opui-css/core/normalize.css | CSS reset | | opui-css/core/palette.css | Extra OKLCH palette | | opui-css/core/utils.css | Utility classes | | opui-css/astro | All Astro components | | opui-css/components/* | Individual Astro component sources |

Contributing

See CONTRIBUTING.md for the component-authoring pattern.

License

MIT © Felix Bohlin