@modulify/m3-vue
@modulify/m3-vue

Material Design 3 components for Vue.
The logo is included in this package as @modulify/m3-vue/assets/logo.svg
and @modulify/m3-vue/assets/logo.png.
Artwork attribution and usage terms.
Installation
yarn add @modulify/m3-vue @modulify/m3-foundation
The package expects Vue and Vue Router to be provided by the application. Import the shared foundation stylesheet once in the application entrypoint:
import '@modulify/m3-foundation/styles.css'
Components remain available from the package root and can also be imported from the dedicated components layer. Public composables are available from their own layer:
<script setup lang="ts">
import { M3Button } from '@modulify/m3-vue/components'
import { useBreakpoint } from '@modulify/m3-vue/composables'
const breakpoint = useBreakpoint()
</script>
<template>
<M3Button appearance="filled">
Save on {{ breakpoint.ge('medium') ? 'wide' : 'compact' }} layout
</M3Button>
</template>
Related Packages
vue-material-design-icons
A collection of material design icons as Vue single file components
3,140,911
171
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.0 | ^3.5 | ISC | |
| 0.1.2 | ^3.5 | ISC | |
| 0.1.1 | ^3.5 | ISC | |
| 0.1.0 | ^3.5 | ISC |