Back to rankings

varletjs/varlet

Vuevarletjs.org

A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.

vuejs3ui-librarytsvue3typescriptmaterial-designmobilevuematerialcomponentsjavascriptjs
Star Growth
Stars
5.3k
Forks
626
Weekly Growth
Issues
11
2k4k
Dec 2020Oct 2022Sep 2024Jul 2026
README

VARLET

A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.

Documentation | 中文介绍

version stars vue license coverage


Intro

Varlet is a Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop, developed and maintained by varletjs organization.

Features

  • 🚀   Provide 70+ high quality general purpose components
  • 🚀   Components are very lightweight
  • 💪   Developed by Chinese, complete Chinese and English documentation and logistics support
  • 🛠️   Support on-demand introduction
  • 🛠️   Support theme customization
  • 🌍   Support internationalization
  • 💡   Support WebStorm syntax highlighting
  • 💪   Support the SSR
  • 📦   Support Nuxt Module
  • 💡   Support the Typescript
  • 💪   Make sure more than 90 percent unit test coverage, providing stability assurance
  • 🎨   Supports both Material Design 2 and Material Design 3 design systems
  • 🛠️   Support dark mode
  • 🔧   Provide official VSCode extension
  • ⌨️   Support Accessibility (still improving)

Install

CDN

varlet.js contain all the styles and logic of the component library, and you can import them.

<div id="app"></div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
 <!-- Desktop Adaptation -->
<script src="https://cdn.jsdelivr.net/npm/@varlet/touch-emulator/iife.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@varlet/ui/umd/varlet.js"></script>
<script>
  const app = Vue.createApp({
    template: '<var-button>Button</var-button>'
  })
  app.use(Varlet).mount('#app')
</script>

Webpack / Vite

# Install with npm or yarn or pnpm

# npm
npm i @varlet/ui -S

# yarn
yarn add @varlet/ui

# pnpm
pnpm add @varlet/ui
import App from './App.vue'
import Varlet from '@varlet/ui'
import { createApp } from 'vue'
import '@varlet/ui/es/style'

createApp(App).use(Varlet).mount('#app')

Official Ecosystem

The following projects are maintained by the official team for a long time.

Name Description
@varlet/cli Vue3 component library rapid prototyping tool
@varlet/touch-emulator Desktop adapter, so that the mobile component library can run on the desktop
@varlet/ui-playground Varlet component library online editing tool
@varlet/import-resolver A resolver for unplugin-vue-components used to implement Varlet and import it on demand
@varlet/preset-unocss UnoCss presets for varlet
@varlet/preset-tailwindcss tailwindcss presets for varlet
varlet-theme-builder Theme generator for generating theme variables for varlet Material Design 3
varlet-vscode-extension Varlet Component Library VSCode Plugin
vscode-theme-varlet Varlet VSCode Theme
varlet-app-example Varlet component library app template
varlet-install-example Case collection of Varlet component library and various ecosystem integration

Community Ecosystem

The following projects are maintained by community personnel, welcome to add.

Name Description
vue-h5-template Vue-based mobile template scaffolding, providing mobile presets for Varlet component library
create-vite-app A desktop template scaffolding based on Vue3, providing desktop presets for Varlet component library
vscode-common-intellisense A VS Code extension that provides better intellisense to Varlet developers
vue3-varlet-mobile A mobile template based on Vue 3 and Varlet Component Library

Playground

See Varlet UI Playground.

Contribution

See Contributing Guide.

GitCode Repo

See Here.

Thanks to contributors

Thanks to the following sponsors

Sponsor this project to support our better creation.

Wechat / Alipay

Related repositories
vuetifyjs/vuetify

🐉 Vue Component Framework

TypeScriptnpmOthervuevuejs
vuetifyjs.com
41k7.1k
quasarframework/quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time

JavaScriptnpmMIT Licensequasar-frameworkvuejs
quasar.dev
27.2k3.7k
ai-shifu/ChatALL

Concurrently chat with ChatGPT, Bing Chat, Bard, Alpaca, Vicuna, Claude, ChatGLM, MOSS, 讯飞星火, 文心一言 and more, discover the best answers

JavaScriptnpmApache License 2.0bingchatchatgpt
chatall.ai
16.4k1.7k
newbee-ltd/newbee-mall

🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。

JavaMavenGNU General Public License v3.0spring-bootspringboot
item.jd.com/12890115.html
11.6k2.8k
VueTorrent/VueTorrent

The sleekest looking WEBUI for qBittorrent made with Vuejs!

VueGNU General Public License v3.0qbittorrentvuetify3
vuetorrent.github.io/demo
6.9k331
newbee-ltd/newbee-mall-vue3-app

🔥 🎉Vue3 全家桶 + Vant 搭建大型单页面商城项目,新蜂商城 Vue3.2 版本,技术栈为 Vue3.2 + Vue-Router4.x + Pinia + Vant4.x。

VueGNU General Public License v3.0vuevuejs
item.jd.com/13785266.html
6.5k1.6k
apertureless/vue-chartjs

📊 Vue.js wrapper for Chart.js

TypeScriptnpmMIT Licensevuechart
vue-chartjs.org
5.7k810
unovue/inspira-ui

Build beautiful website using Vue & Nuxt.

VueMIT Licensecomponentsshadcn-ui
inspira-ui.com
4.7k302
troisjs/trois

✨ ThreeJS + VueJS 3 + ViteJS ⚡

TypeScriptnpmMIT Licensevuejs3vitejs
troisjs.github.io
4.5k335
DavidHDev/vue-bits

An open source collection of animated, interactive & fully customizable Vue components for building stunning, memorable websites.

VueOtherjavascripttailwind
vue-bits.dev
4.3k160
hunvreus/pagescms

The simplest CMS you'll ever need. Manage content and media right in your GitHub repository.

TypeScriptnpmMIT License11tyastro
pagescms.org
3.9k509
epicmaxco/vuestic-ui

Vuestic UI is an open-source Vue 3 component library designed for rapid development, easy maintenance, and high accessibility. Maintained by Epicmax (@epicmaxco).

VueMIT Licensevuevuestic
vuestic.dev
3.7k350