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

astralis-ui

v0.1.2

Published

React 19 component library on semantic design tokens — precompiled CSS, runtime brand theming, responsive style props, 62 components.

Downloads

308

Readme

Astralis UI

React 19 component library built on semantic design tokens — precompiled CSS, runtime brand theming, first-class dark mode and responsive props on every layout primitive. 62 components across 9 categories.

Docs & live demos: https://astralis-zeta.vercel.app

Why Astralis

  • Zero build step. The library ships precompiled CSS — import one stylesheet and every component works. Your app never runs plugins, preprocessors or a theme compiler. Internals are prefixed (astralis:*), so it coexists with whatever styling setup you already have, without collisions.

  • Runtime theming. Hand the provider a single brand color and the full shade scale, hover states and a readable contrast color are derived at runtime with OKLCH color math:

    <AstralisProvider tokens={{ brandColor: "#8b5cf6" }}>
  • One accent channel, eleven hues. Every themeable component takes a colorScheme prop backed by CSS-variable indirection — any component recolors to any palette without per-hue CSS.

  • Responsive props. Layout and typography accept breakpoint maps — p={{ base: "4", md: "8" }} — resolved to precompiled classes, zero runtime style computation.

  • Verified CSS. A build gate asserts that every class the components can emit exists in the shipped stylesheet — silent styling breakage is a build failure, not a runtime surprise.

  • Light dependencies. Four small runtime deps; no Radix, no Floating UI, no animation library. Behavior lives in ~5 small in-house hooks.

Install

pnpm add astralis-ui   # or npm / yarn

Requires React 19.

Setup

import { AstralisProvider } from "astralis-ui";
import "astralis-ui/styles.css"; // once, at your entry point

export function App({ children }) {
  return <AstralisProvider defaultTheme="system">{children}</AstralisProvider>;
}

Use

import { Button, Card, Field, Input, VStack } from "astralis-ui";

<Card>
  <Card.Header>
    <Card.Title>Create account</Card.Title>
  </Card.Header>
  <Card.Body>
    <VStack gap="4" alignItems="stretch">
      <Field required>
        <Field.Label>Email</Field.Label>
        <Input type="email" placeholder="[email protected]" />
      </Field>
      <Button colorScheme="blue" fullWidth>Sign up</Button>
    </VStack>
  </Card.Body>
</Card>;

For AI agents

The docs are machine-readable: /llms.txt indexes every page, and each page is available as plain markdown (e.g. /docs/components/button.md) with full demo source included.

License

MIT © Paul Andrew