PrimeVue | The Next-Gen UI Component Library

Rate this content
Bookmark

PrimeVue is a popular UI Component library for Vue 3 featuring over 80 components,  unstyled mode with Tailwind CSS presets, pass-through properties, design-agnostic theming, icons, blocks, and templates.

PrimeVue is one of the most popular UI libraries in the Vue ecosystem. 

The talk begins with an overview of the feature set and dives into the detail for each of the content points below; 

- Overview

- Best Practices of UI Component Development

- Component Suite- Pass Through API

- Design Agnostic Theming

- Unstyled Mode

- Tailwind CSS Presets

- Icons/Blocks/Templates

- Figma to Theme Generation

- Roadmap

This talk has been presented at Vue.js Live 2024, check out the latest edition of this JavaScript Conference.

FAQ

Prime Vue is designed with accessibility in mind, including WCAG compliance, semantic HTML, keyboard support, screen reader compatibility, and color contrast checks.

Yes, Prime Vue offers a CLI tool for starting projects, managing Tailwind presets, and assisting with code migration from different versions.

Prime Vue is developed by Prime Tech, a company specializing in UI component libraries. They also offer Prime Faces for Java, Prime NG for Angular, and Prime React.

Prime Vue is a next-generation UI component suite designed to work with Vue.js, offering over 90 components ranging from date pickers to advanced tables and grids.

The Figma UI Kit is a design tool provided by Prime Vue to help designers create and customize UI components. It is a paid add-on and maps to the design tokens used in Prime Vue.

Yes, Prime Vue can be styled using Tailwind CSS, especially in unstyled mode. They also provide Tailwind presets for easier integration.

Version 4 of Prime Vue introduces a new theming API based on CSS variables and design tokens, allowing dynamic switching between light and dark modes and easier customization through Figma integration.

Prime Vue plans to expand its form handling capabilities and is also compatible with other form libraries like FormKit.

Yes, Prime Vue is open-source and free to use under the MIT license. However, some add-ons like Vue.js templates and Prime blocks are paid.

Styled mode offers preset themes and is more defined with design tokens, while unstyled mode allows for freestyle customization using tools like Tailwind CSS without predefined styles.

Çağatay Çivici
Çağatay Çivici
24 min
25 Apr, 2024

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Prime Vue is a comprehensive UI component suite with over 90 components, including date pickers, buttons, tables, and grids. It offers flexibility through styled and unstyled modes, allowing for customization using design tokens or Tailwind. Prime Vue is WCAG compliant and supports Material design. The upcoming version 4 introduces a new theming API using CSS variables, and it includes features like dark mode switching and integration with Figma. The team has plans to release a UI Designer, advanced components, and a drag-and-drop UI Builder in the future.

1. Introduction to Prime Vue

Short description:

Hello, welcome to the presentation about Prime Vue, the next generation UI component suite. We have more than 90 components, including date pickers, buttons, tables, and grids. We also provide built-in accessibility, styled and unstyled modes, Vue.js templates, prime blocks, and a Figma UI Kit. Most of these are free and open source under the MIT license. Our business model is based on add-ons. Prime Vue is the most comprehensive UI library and continues to improve.

Hello, welcome to the presentation about Prime Vue, the next generation UI component suite. In this talk, I'll be covering the Prime Vue and how Vue.js helped us to build this comprehensive UI library.

So about Prime Tech, the company behind Prime Vue, we are actually a UI component library vendor, that's the only thing we do. It started with the Prime Faces for Java, and now we have the Angular version, Prime NG, Prime React, and finally, today's topic, Prime Vue. So in total, we have more than 150 million downloads worldwide, and our libraries are getting more popular every day. These are open source, free to use, and our business model is based on some add-ons.

So what we have at Prime Vue, we have more than 90 components, from date pickers, to buttons, to advanced components like tables and grids, and we also have the built-in accessibility that we have worked really hard. On top of it, we provide the styled mode and unstyled mode. Styled mode is the regular UI library that provides persistent themes. And the unstyled mode provides you a freestyle approach to do whatever you like to style it. So, and we also have the Vue.js templates in case you'd like to start something ready, and prime blocks, more than 400 blocks in case you'd like to copy-paste UI sections to your pages to build your own. And for your designers, we have the Figma UI Kit. So a lot of stuff. And most of these are under MIT, the whole component library is under MIT, and the paid add-ons are like those blocks and Vue.js templates, so no paywall. So I think it's the most comprehensive UI library right now, and it's getting better and better every day.

2. Exploring Prime Vue Features

Short description:

We have been working on Prime Vue since 2008, and it has evolved to cover a wide range of requirements. With Unstyled Mode and Styled Mode, you can customize the components to suit your needs. The library offers events, callbacks, and templating for easy UI integration. It supports headless mode for replacing the default UI, and you can style the components with Tailwind or any other preferred framework. There are 90+ free components available, licensed under MIT, with a focus on accessibility. We have our own design system and also support Material design. The library is WCAG compliant and provides keyboard support and screen reader compatibility. The choice between styled and unstyled mode depends on your preferences.

So let's begin this, I mean, we've been working on this UI library development since 2008, so 16 years now, and we have seen a lot of trends come and go. And the question remains, what makes a UI component good? And the answer is, there's no single answer, actually. Whatever works for someone may not work for someone else. So we have taken a different approach with Prime Vue. We try to cover a lot of ground. So that's why we introduced Unstyled Mode and Styled Mode. But in its core, it had to be accessible. It had to be customizable because you're creating these components not for yourself, not for a specific requirement, but it's for public usage, common usage. So it has to cover a lot of requirements. So we provide a lot of events, callbacks for you to hook in, and a lot of templating to provide your own UI. And the majority of components provide headless mode, so you can replace the custom UI. And in case you are using something like Tailwind, you can also style them with Tailwind. Or if you like something else, I mean, it's really, really flexible and quite comprehensive, as I mentioned. So 90 plus components, from tables to drop-downs, calendars, all of these are free and licensed under MIT. And we have our own design system, but you can also use it with another style, as I mentioned, which I will cover in detail.

The main thing is the accessibility. I mean, I think it's something overlooked, mostly by the UI component library authors, unfortunately, but there are laws and there are many specific requirements lately. And we spend a lot of time, a couple of months on this for WCAG compliance. We use semantic HTML as much as we can. If that doesn't work, if it's too limiting, we fall back to area rows and attributes. And for colors, we make sure that colors are past the tasks of the accessibility. And keyboard support is in case for users who cannot use the pointers and mouse, or just prefer to use the keyboard. And screen readers are also available in case your user requires a screen reader to interact with your page. And that's the main thing about it. The Prime View is design-accessible. You see that some component libraries depend on certain styles, like Material, but in Prime View, we have our own design. But you can also switch it to another design like Material. In fact, we have themes for Material design and also a couple of themes based on what our design team has created. And the question remains, styled or unstyled? That's the common question that we receive constantly. Styled mode is like provides you preset components that you choose from.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Everything Beyond State Management in Stores with Pinia
Vue.js London Live 2021Vue.js London Live 2021
34 min
Everything Beyond State Management in Stores with Pinia
Top Content
State management is not limited to complex applications and transitioning to a store offers significant benefits. Pinia is a centralized state management solution compatible with Vue 2 and Vue 3, providing advanced devtools support and extensibility with plugins. The core API of Pinia is similar to Vuex, but with a less verbose version of stores and powerful plugins. Pinia allows for easy state inspection, error handling, and testing. It is recommended to create one file per store for better organization and Pinia offers a more efficient performance compared to V-rex.
Welcome to Nuxt 3
Vue.js London Live 2021Vue.js London Live 2021
29 min
Welcome to Nuxt 3
Top Content
Nux3 has made significant improvements in performance, output optimization, and serverless support. Nuxt Bridge brings the Nitro engine for enhanced performance and easier transition between Nuxt 2 and Nuxt Read. Nuxt 3 supports Webpack 5, Bytes, and Vue 3. NextLab has developed brand new websites using Docus technology. Nuxt.js is recommended for building apps faster and simpler, and Nuxt 2 should be used before migrating to Nuxt 3 for stability. DOCUS is a new project that combines Nuxt with additional features like content modules and an admin panel.
One Year Into Vue 3
Vue.js London Live 2021Vue.js London Live 2021
20 min
One Year Into Vue 3
Top Content
Vue 3 has seen significant adoption and improvements in performance, bundle size, architecture, and TypeScript integration. The ecosystem around Vue 3 is catching up, with new tools and frameworks being developed. The Vue.js.org documentation is undergoing a complete overhaul. PNIA is emerging as the go-to state management solution for Vue 3. The options API and composition API are both viable options in Vue 3, with the choice depending on factors such as complexity and familiarity with TypeScript. Vue 3 continues to support CDN installation and is recommended for new projects.
Design Systems: Walking the Line Between Flexibility and Consistency
React Advanced 2021React Advanced 2021
47 min
Design Systems: Walking the Line Between Flexibility and Consistency
Top Content
The Talk discusses the balance between flexibility and consistency in design systems. It explores the API design of the ActionList component and the customization options it offers. The use of component-based APIs and composability is emphasized for flexibility and customization. The Talk also touches on the ActionMenu component and the concept of building for people. The Q&A session covers topics such as component inclusion in design systems, API complexity, and the decision between creating a custom design system or using a component library.
Utilising Rust from Vue with WebAssembly
Vue.js London Live 2021Vue.js London Live 2021
8 min
Utilising Rust from Vue with WebAssembly
Top Content
In this Talk, the speaker demonstrates how to use Rust with WebAssembly in a Vue.js project. They explain that WebAssembly is a binary format that allows for high-performance code and less memory usage in the browser. The speaker shows how to build a Rust example using the WasmPack tool and integrate it into a Vue template. They also demonstrate how to call Rust code from a Vue component and deploy the resulting package to npm for easy sharing and consumption.
Vue: Feature Updates
Vue.js London 2023Vue.js London 2023
44 min
Vue: Feature Updates
Top Content
Watch video: Vue: Feature Updates
The Talk discusses the recent feature updates in Vue 3.3, focusing on script setup and TypeScript support. It covers improvements in defining props using imported types and complex types support. The introduction of generic components and reworked signatures for defined components provides more flexibility and better type support. Other features include automatic inference of runtime props, improved define emits and defined slots, and experimental features like reactive props destructure and define model. The Talk also mentions future plans for Vue, including stabilizing suspense and enhancing computer invalidations.

Workshops on related topic

Vue3: Modern Frontend App Development
Vue.js London Live 2021Vue.js London Live 2021
169 min
Vue3: Modern Frontend App Development
Top Content
Featured WorkshopFree
Mikhail Kuznetsov
Mikhail Kuznetsov
The Vue3 has been released in mid-2020. Besides many improvements and optimizations, the main feature of Vue3 brings is the Composition API – a new way to write and reuse reactive code. Let's learn more about how to use Composition API efficiently.

Besides core Vue3 features we'll explain examples of how to use popular libraries with Vue3.

Table of contents:
- Introduction to Vue3
- Composition API
- Core libraries
- Vue3 ecosystem

Prerequisites:
IDE of choice (Inellij or VSC) installed
Nodejs + NPM
Build a Data-Rich Beautiful Dashboard With MUI X's Data Grid and Joy UI
React Summit 2023React Summit 2023
137 min
Build a Data-Rich Beautiful Dashboard With MUI X's Data Grid and Joy UI
Top Content
WorkshopFree
Sam Sycamore
Siriwat (Jun) Kunaporn
2 authors
Learn how to put MUI’s complete ecosystem to use to build a beautiful and sophisticated project management dashboard in a fraction of the time that it would take to construct it from scratch. In particular, we’ll see how to integrate the MUI X Data Grid with Joy UI, our newest component library and sibling to the industry-standard Material UI.
Table of contents:- Introducing our project and tools- App setup and package installation- Constructing the dashboard- Prototyping, styling, and themes - Joy UI features- Filtering, sorting, editing - Data Grid features- Conclusion, final thoughts, Q&A
Monitoring 101 for React Developers
React Summit US 2023React Summit US 2023
107 min
Monitoring 101 for React Developers
Top Content
WorkshopFree
Lazar Nikolov
Sarah Guthals
2 authors
If finding errors in your frontend project is like searching for a needle in a code haystack, then Sentry error monitoring can be your metal detector. Learn the basics of error monitoring with Sentry. Whether you are running a React, Angular, Vue, or just “vanilla” JavaScript, see how Sentry can help you find the who, what, when and where behind errors in your frontend project. 
Workshop level: Intermediate
Using Nitro – Building an App with the Latest Nuxt Rendering Engine
Vue.js London Live 2021Vue.js London Live 2021
117 min
Using Nitro – Building an App with the Latest Nuxt Rendering Engine
Top Content
Workshop
Daniel Roe
Daniel Roe
We'll build a Nuxt project together from scratch using Nitro, the new Nuxt rendering engine, and Nuxt Bridge. We'll explore some of the ways that you can use and deploy Nitro, whilst building a application together with some of the real-world constraints you'd face when deploying an app for your enterprise. Along the way, fire your questions at me and I'll do my best to answer them.
TresJS create 3D experiences declaratively with Vue Components
Vue.js London 2023Vue.js London 2023
137 min
TresJS create 3D experiences declaratively with Vue Components
Workshop
Alvaro Saburido
Alvaro Saburido
- Intro 3D - Intro WebGL- ThreeJS- Why TresJS- Installation or Stackblitz setup - Core Basics- Setting up the Canvas- Scene- Camera- Adding an object- Geometries- Arguments- Props- Slots- The Loop- UseRenderLoop composable- Before and After rendering callbacks- Basic Animations- Materials- Basic Material- Normal Material- Toon Material- Lambert Material- Standard and Physical Material- Metalness, roughness - Lights- AmbientLight- DirectionalLight- PointLights- Shadows- Textures- Loading textures with useTextures- Tips and tricks- Misc- Orbit Controls- Loading models with Cientos- Debugging your scene- Performance
Building Vue forms with VeeValidate
Vue.js London Live 2021Vue.js London Live 2021
176 min
Building Vue forms with VeeValidate
Workshop
Abdelrahman Awad
Abdelrahman Awad
In this workshop, you will learn how to use vee-validate to handle form validation, manage form values and handle submissions effectively. We will start from the basics with a simple login form all the way to using the composition API and building repeatable and multistep forms.

Table of contents:
- Introduction to vee-validate
- Building a basic form with vee-validate components
- Handling validation and form submissions
- Building validatable input components with the composition API
- Field Arrays and repeatable inputs
- Building a multistep form
Prerequisites:
VSCode setup and an empty Vite + Vue project.