Material design mobile component library for Vue3
Varlet is a Material design mobile component library developed based on Vue3
, developed and maintained by partners in the community.
- ๐ ย Provide 50+ 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, VS Code component syntax highlighting
- ๐ช ย Support the SSR
- ๐ก ย Support the Typescript
- ๐ช ย Make sure more than 90 percent unit test coverage, providing stability assurance
- ๐ ๏ธ ย Support dark mode
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@next"></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>
# 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.js'
createApp(App).use(Varlet).mount('#app')
See Varlet UI Playground.
See Contributing Guide.
See Cloud IDE.
We recommend that issue be used for problem feedback, or others:
- Wechat group
- Join the Discord