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

@daydi3/primevue-overrides

v1.0.0

Published

Custom design overrides for PrimeVue components

Downloads

7

Readme

PrimeVue Overrides

This package provides custom design overrides for PrimeVue components, allowing you to implement your own styled elements including buttons, dialogs, inputs, and more.

Installation

First, install the dependencies:

npm install

Development

To start the development server:

npm run dev

Publishing as a Private npm Package

To publish this package as a private npm package, follow these steps:

  1. Update the package name in package.json with your organization's scope:
{
  "name": "@your-organization/primevue-overrides"
}
  1. Login to npm with your account that has access to your organization:
npm login
  1. Build the package:
npm run build
  1. Publish the package:
npm publish

Since the package is marked as private ("private": true), you'll need an npm paid account or organization to publish it.

Using in Other Projects

After publishing, you can use this package in your other projects instead of PrimeVue:

Install the package

npm install @your-organization/primevue-overrides

Method 1: Use as a Vue Plugin (Recommended)

// main.js
import { createApp } from 'vue';
import App from './App.vue';

// Import your custom PrimeVue package
import PrimeVueOverrides from '@your-organization/primevue-overrides';

// Import PrimeIcons if needed
import 'primeicons/primeicons.css';

const app = createApp(App);

// Use your custom package (this will register all components globally)
app.use(PrimeVueOverrides, {
  // Optional PrimeVue configuration
  ripple: true,
  inputStyle: 'filled'
});

app.mount('#app');

Method 2: Import Individual Components

<template>
  <div>
    <Button label="Custom Button" />
    <InputText v-model="text" placeholder="Custom Input" />
  </div>
</template>

<script>
import { Button, InputText } from '@your-organization/primevue-overrides';

export default {
  components: {
    Button,
    InputText
  },
  data() {
    return {
      text: ''
    };
  }
};
</script>

Method 3: Import Only the Styles

If you want to use the standard PrimeVue components but with your custom styling:

// Import just the styles from your package
import '@your-organization/primevue-overrides/src/assets/styles/theme.scss';

// Then use regular PrimeVue components
import { Button } from 'primevue/button';

Customization

You can customize the design by modifying the variables in:

src/assets/styles/variables.scss

This file contains all the design tokens used throughout the components, including:

  • Color palette
  • Typography
  • Border radius
  • Spacing
  • Shadows
  • Transitions

Component Overrides

The following components have been customized:

  • Buttons (primary, secondary, success, info, warning, help, danger)
  • Input fields (text inputs, password inputs)
  • Dialogs
  • Dropdowns
  • Checkboxes
  • Radio buttons
  • And more

Building for Production

To build the library for production:

npm run build

License

ISC