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

@stamm-phoenix/astro-ui

v0.0.2

Published

This is the DPSG Phoenix UI Library, a collection of Astro and React components built with Tailwind CSS and Shadcn UI, customized to the DPSG corporate design.

Downloads

3

Readme

DPSG Phoenix UI Library

This is the DPSG Phoenix UI Library, a collection of Astro and React components built with Tailwind CSS and Shadcn UI, customized to the DPSG corporate design.

🚀 Project Structure

This project is structured as a UI component library.

/
├── public/
├── src/
│   ├── components/           # Reusable UI components (DPSG branded wrappers around Shadcn UI)
│   │   ├── ui/               # Original Shadcn UI components (customized)
│   │   └── index.ts          # Exports all DPSG components
│   ├── layouts/              # Astro layouts
│   │   └── Layout.astro
│   ├── pages/                # Astro pages for documentation/showcase
│   │   ├── index.astro
│   │   └── components.astro
│   └── styles/               # Global CSS with Tailwind and DPSG theme
│       └── global.css
├── .gitignore
├── flake.lock
├── flake.nix
├── LICENSE
├── README.md
├── astro.config.mjs
├── components.json           # Shadcn UI configuration
├── package.json
├── pnpm-lock.yaml
├── tailwind.config.js
└── tsconfig.json

📦 Installation

To use this library in your Astro project, install it via pnpm:

pnpm add dpsg-phoenix-ui

💡 Usage

You can import and use the DPSG components in your Astro or React files.

Example (Astro component):

---
import { DPSGButton } from 'dpsg-phoenix-ui';
---

<DPSGButton client:load text="Click Me" onClick={() => alert('Button clicked!')} />

Example (React component):

import React from 'react';
import { DPSGButton } from 'dpsg-phoenix-ui';

const MyComponent: React.FC = () => {
  return (
    <DPSGButton text="Click Me" onClick={() => alert('Button clicked!')} />
  );
};

export default MyComponent;

🎨 Available Components

Here's a list of the currently available DPSG-branded components:

  • DPSGButton
  • DPSGCard
  • DPSGBadge
  • DPSGDialog
  • DPSGInput
  • DPSGCheckbox
  • DPSGRadioGroup
  • DPSGSelect
  • DPSGTextarea
  • DPSGSwith
  • DPSGSilder
  • DPSGTable

For detailed usage examples and props, please refer to the src/pages/components.astro file in this project, or the individual component files in src/components/.

⚙️ Development

All commands are run from the root of the project, from a terminal:

| Command | Action | | :------------------------ | :----------------------------------------------- | | pnpm install | Installs dependencies | | pnpm dev | Starts local dev server at localhost:4321 | | pnpm build | Build your production site to ./dist/ | | pnpm build:lib | Builds the UI library for distribution | | pnpm build:components | Compiles TypeScript components for the library | | pnpm preview | Preview your build locally, before deploying | | pnpm astro ... | Run CLI commands like astro add, astro check | | pnpm astro -- --help | Get help using the Astro CLI |

🤝 Contributing

Contributions are welcome! Please ensure your changes adhere to the DPSG corporate design guidelines.

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.