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

prezui-demo-test

v1.0.5

Published

A test Nuxt app for testing NPM workflows

Readme

Prez UI v4 Theme Starter Template

This project was bootstrapped by create-prez-app.

Quick start

In the project root directory, install with your NPM package manager of choice (we recommend pnpm):

npm install

or for pnpm:

pnpm install

Then preview your theme by running:

npm run dev

or for pnpm:

pnpm dev

You may need to open the dev server (http://localhost:3000) in a second window in a private tab or different browser on first load to resolve the layout rendering error.

Configuration

Environment Variables

The main configuration required for running Prez UI are done with environment variables:

Variable|Description|Type|Default -|-|-|- NUXT_PUBLIC_PREZ_API_ENDPOINT (required)|Configures the Prez API endpoint|string|- NUXT_PUBLIC_PREZ_AUTO_DETECT_HTML|Enables rendering HTML in data|boolean|false NUXT_PUBLIC_PREZ_AUTO_DETECT_MARKDOWN|Enables rendering markdown & mermaid diagrams in data|boolean|false

You can create an .env file in the project root to set these environment variable. See .env.example for all environment variable options and defaults. See Nuxt Environment Variables for more info on environment variables in Nuxt.

Nuxt Config

The nuxt.config.ts file contains your configuration for Nuxt, which extends upon Prez UI's base layer Nuxt config. This is also where you can customise things like the HTML <head> content, such as setting the document title, adding extra CSS files, etc. This is also where you can set Vite config.

[!NOTE]
Server-side rendering (SSR) is currently not supported, but will be implemented in the near future.

See the Nuxt config docs for more info on how to configure Nuxt.

App Config

The app/app.config.ts file contains your app-level config, where you can customise the navigation items, renaming items throughout the application, customising prepended items in the breadcrumbs, and pagination config. This app config extends upon Prez UI's base layer app config.

Extending your theme

This starter template uses layers to extend upon the base Prez UI layer application, so you only need to customise what you need.

Overriding pages, components, layouts, composables and utils can be done by simply creating a file of the same name in the same directory structure for Nuxt to automatically replace it with your version in the application. Refer to Prez UI's base layer source code to help you override files.

[!IMPORTANT]
When updating to a newer version of prez-ui, ensure any overridden files that contain core logic are kept up-to-date.

See our theming documentation for a more in-depth guide on customising Prez UI.

Tailwind & CSS

Prez UI uses Tailwind for most of its styling, which you can use in this starter template to easily style using classes.

To override Prez UI's colour scheme (e.g. primary, secondary, etc.), or add your own variables to use in Tailwind, simply add a CSS variable of the same name in app/assets/css/tailwind.css under :root with its colour values in HSL without commas between values. Dark mode variants of those variables goes in the .dark block. New variables are registered in the @theme inline block in the same file. For colours, prefix the variable with --color-*, e.g.:

/* app/assets/css/tailwind.css */

...

:root {
    /* define your Tailwind CSS variables (in HSL without commas) here */

    /* overridden variables */
    --primary: hsl(24.6 95% 53.1%); 
    --primary-foreground: hsl(60 9.1% 97.8%);

    /* new variable */
    --my-new-variable: hsl(70 10.8% 91.3%);
}

.dark {
    /* dark mode variants of CSS variables go here */
}

@theme inline {
    ...
    /* any new tailwind variables you declare go here. Colours are prefixed with --color-* */
    --color-my-new-variable: var(--my-new-variable);
}

You can also style your Prez UI theme using normal CSS by adding your styles to app/assets/css/theme.css.

Shadcn Components

Prez UI uses the prez-components component library, which is based on the shadcn-vue component library. Shad comes preinstalled in this starter template, but if you need to add more shadcn components in your theme, run a command like the following:

npx shadcn-vue@latest add <component>

or

pnpm dlx shadcn-vue@latest add <component>

These components are stored in app/components/ui, which should be kept separate to your theme's components.