Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

varletjs/varlet

Repository files navigation

VARLET

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

Documentation |中文介绍

versionstarsvuelicensecoverageci


Intro

Varlet is aVue3 component library based on Material Design 2 and 3, supporting mobile and desktop, developed and maintained byvarletjs organization.

Features

  • 🚀   Provide 60+ 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
  • 📦   SupportNuxt 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.

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

Webpack / Vite

# Install with npm or yarn or pnpm# npmnpm i @varlet/ui -S# yarnyarn add @varlet/ui# pnpmpnpm add @varlet/ui
importAppfrom'./App.vue'importVarletfrom'@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.

NameDescription
@varlet/cliVue3 component library rapid prototyping tool
@varlet/touch-emulatorDesktop adapter, so that the mobile component library can run on the desktop
@varlet/ui-playgroundVarlet component library online editing tool
@varlet/import-resolverA resolver forunplugin-vue-components used to implement Varlet and import it on demand
@varlet/preset-unocssUnoCsspresets for varlet
@varlet/preset-tailwindcsstailwindcsspresets for varlet
varlet-theme-builderTheme generator for generating theme variables for varlet Material Design 3
varlet-vscode-extensionVarlet Component Library VSCode Plugin
vscode-theme-varletVarlet VSCode Theme
varlet-app-exampleVarlet component library app template
varlet-install-exampleCase collection of Varlet component library and various ecosystem integration

Community Ecosystem

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

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

Playground

SeeVarlet UI Playground.

Contribution

SeeContributing Guide.

GitCode Repo

SeeHere.

Community

We recommend thatissue be used for problem feedback, or others:

  • Wechat group

Thanks to contributors

Thanks to the following sponsors

Sponsor this project

Sponsor this project to support our better creation.

Wechat / Alipay

Packages

No packages published

Contributors114


[8]ページ先頭

©2009-2025 Movatter.jp