
primevue-skilld
Use when writing, debugging, or updating code that imports primevue (PrimeVue v5, UI component library for Vue 3). Provides setup with the required PrimeUI license key, deprecated API replacements, compound component usage, and design token theming.
- Installs
- 183
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/skilld-dev/vue-ecosystem-skills --skill primevue-skilld- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads primevue-skilld automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
PrimeVue (primevue@5.0.1)
Version 5.0.1, prepared source input/source/package.json. UI component library for Vue 3.
Docs: https://primevue.dev (component pages live at https://primevue.dev/<name>, e.g. https://primevue.dev/inputtags/).
Critical v5 facts
- License key required. v5 ships under the PrimeUI dual license (free Community or paid Commercial). Pass the key as a
licensestring option when installing the plugin. Verification is offline; a missing, invalid, or expired key may display a license notice (input/source/LICENSE.md). - No breaking public API changes from v4, per the official migration guide (https://primevue.dev/migration/v5/). Deprecated v4 APIs still work in v5 and are removed in v6. Write new code against the replacements in v5 changes.
- 16px root font base. v5 assumes a 16px document root; v4 assumed 14px. Every preset ships a
-compatvariant for 14px layouts, maintained until June 2027 (https://primevue.dev/theming/styled/). - Config plugin. Install once with
app.use. The default export ofprimevue/configis also re-exported asConfigfrom the package root (input/source/index.mjs:139).
Setup
// main.js
import { createApp } from 'vue';
import PrimeVue from 'primevue/config'; // or: import { Config } from 'primevue'
import Aura from '@primeuix/themes/aura';
import App from './App.vue';
const app = createApp(App);
app.use(PrimeVue, {
license: '<your PrimeUI license key>',
ripple: true, // optional, disabled by default
theme: {
preset: Aura,
options: {
darkModeSelector: '.app-dark' // default is 'system'
}
}
});
Details: theme options, locale, unstyled mode, Nuxt module, auto import in setup.
Import patterns
<script setup>
// Tree-shakeable subpath imports (package.json exports map "./*")
import Button from 'primevue/button';
import Select from 'primevue/select';
// Style classes for a component (design token CSS)
import SelectStyle from 'primevue/select/style';
</script>
- Root import
from 'primevue'also works and exports every component, style, service, and composable (input/source/index.mjs). - Icons: SVG icon components come from
@primeicons/vue(dependency^8.0.0ininput/source/package.json). The@primevue/iconspackage is deprecated in v5.
Golden rules
- Never use a deprecated component in new code. Deprecated in v5 (removal in v6):
MultiSelect,Galleria,Image,ColorPicker,ImageCompare,ScrollPanel,Password,InputMask(component),PanelMenu,Chart,Editor,AutoCompletewithmultiple,Carouseldriven byvalue,Tabsscrollable. Use the replacement table in v5 changes. - Buttons compose content in the default slot.
label,icon,iconPos,iconClass,badge,badgeClass,badgeSeverity,loading,loadingIconprops are all deprecated since v5.0.0 (input/source/button/index.d.ts). - Compound components over prop-driven templates:
Tabs/TabList/Tab/TabPanels/TabPanel,Accordion/AccordionPanel/AccordionHeader/AccordionContent,Stepperfamily,Sidebarfamily,Galleryfamily,Carouselfamily. Active state binds withv-model:value(Accordion'sactiveIndexprop and events were removed in v5). - Overlays are Teleport-based: set
appendTo="body"(default) or"self"; most overlay components acceptoverlayStyle/overlayClass(panel* props were removed in v5). - Prefer design tokens over CSS overrides: use
dtprop for scoped tokens and preset customization viadefinePresetinstead of:deep()or style classes (https://primevue.dev/theming/styled/).
Common tasks
Button (slot composition)
<Button severity="contrast" size="small">
<i class="pi pi-check" />
<span>Confirm</span>
<Badge value="2" />
</Button>
Icon order in the slot replaces iconPos; use disabled plus your own spinner instead of loading.
Multiple selection (replaces MultiSelect)
<Select v-model="selectedCities" multiple :options="cities" optionLabel="name" fluid />
multiple on Select ("When specified, allows selecting multiple values", input/source/select/index.d.ts).
Tags input (replaces AutoComplete multiple)
<InputTags v-model="tags" typeahead :suggestions="suggestions" @complete="search" delimiter="," />
Key props: max, allowDuplicate, addOnBlur, addOnPaste, addOnTab, delimiter (string or RegExp). Emits add, remove, option-select, complete (input/source/inputtags/index.d.ts).
Toast service
// main.js: app.use(ToastService)
import { useToast } from 'primevue/usetoast';
const toast = useToast();
toast.add({ severity: 'info', summary: 'Saved', life: 3000 });
Service methods: add, remove, removeGroup, removeAllGroups (input/source/toastservice/index.d.ts). Same pattern for ConfirmationService + useConfirm and DialogService + useDialog (dynamic dialogs).
Mask directive (replaces InputMask component)
<InputText v-mask="{ mask: '99-9999', unmask: true }" v-model="value" />
Options: mask, slotChar (default _), autoClear (default true), unmask, onChange receiving { value, rawValue } (input/source/mask/index.d.ts).
App sidebar (compound)
<SidebarLayout>
<SidebarAside>
<SidebarHeader>…</SidebarHeader>
<SidebarContent>
<SidebarGroup>
<SidebarGroupLabel>Admin</SidebarGroupLabel>
<SidebarGroupContent>
<SidebarMenu>
<SidebarMenuItem><SidebarMenuButton>Users</SidebarMenuButton></SidebarMenuItem>
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>
</SidebarContent>
<SidebarFooter>…</SidebarFooter>
</SidebarAside>
<SidebarMain><RouterView /></SidebarMain>
</SidebarLayout>
Sidebar inside a SidebarLayout requires a unique id; supports side, variant (sidebar|floating|inset), collapsible (offcanvas|icon|none), v-model:open, openOnHover, overlay, width (input/source/sidebar/index.d.ts). Full part list in components.
Form fields
FloatLabel,IftaLabel(in-field label), or plainLabel.- Wrap a region in
<Fluid>for full-width inputs instead offluidon each field. invalidprop on any input drives the error style; validation state via@primevue/forms(separate package, https://primevue.dev/forms/).
DataTable performance
With dataKey set, bind expandedRows to an object ({ '1004': true }) rather than an array of row objects for O(1) lookup on large data (official DataTable docs). Persist user preferences with stateStorage + stateKey.
References
- Setup and configuration: install, license, theme presets, dark mode, locale, unstyled mode, Nuxt.
- v5 changes and migration: deprecation and removal tables with replacements.
- Components and replacements: compound families, new v5 components, services, utilities.
FAQ
What does the primevue-skilld skill do?
Use when writing, debugging, or updating code that imports primevue (PrimeVue v5, UI component library for Vue 3). Provides setup with the required PrimeUI license key, deprecated API replacements, compound component usage, and design token theming.
How do I install primevue-skilld?
Run npx skills add https://github.com/skilld-dev/vue-ecosystem-skills --skill primevue-skilld in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/primevue-skilld/ (personal) or .claude/skills/primevue-skilld/ (project).
Which AI agents can use primevue-skilld?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is primevue-skilld safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains primevue-skilld?
It is published by skilld-dev in skilld-dev/vue-ecosystem-skills. It has 183 recorded installs.
More from skilld-dev/vue-ecosystem-skills
quasar-skilld
skilld-dev/vue-ecosystem-skills
Build, configure, and debug apps with the Quasar framework (quasar npm package, v2.33.1). Use when writing, reviewing, or debugging code that imports "quasar" or "quasar/wrappers", configuring Quasar with Vite, Vitest, Storybook, UMD, or Quasar CLI, styling with Quasar Sass variables, or upgrading between Quasar v2 releases.
vue-i18n-skilld
skilld-dev/vue-ecosystem-skills
Open the skill to read its SKILL.md instructions.
vue-skilld
skilld-dev/vue-ecosystem-skills
Open the skill to read its SKILL.md instructions.
vuetify-skilld
skilld-dev/vue-ecosystem-skills
Vue Material Component Framework. Use when writing, debugging, or configuring code that imports vuetify v4.x. Covers createVuetify setup, components and labs, composables, theming, icons, dates and locale, styles and SASS variables, treeshaking, and v3 to v4 migration.
pinia-skilld
skilld-dev/vue-ecosystem-skills
Open the skill to read its SKILL.md instructions.
vue-router-skilld
skilld-dev/vue-ecosystem-skills
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.