@robertkern/vue-material

Material Design Components for Vue
1,233 7
Install
npm install @robertkern/vue-material
Latest Version:0.1.6
Vue:2
License:MIT
Last Updated:Oct 16, 2017
Links: GitHub  ·  npm
Maintainer: robertkern

Material Design Components for Vue

@robertkern/vue-material is very much a work-in-progress implementation of the material-components-web library as Vue components.

Please don't expect this to work for you just yet :-)

import VueMdc from '@robertkern/vue-material'
import '@robertkern/vue-material.css'

Vue.use(VueMdc)

I'm recommending using the @material sass files so you can customize the colors. In your own sass file you'll need to import the @material styles like the following. You can choose to import fewer if you're not planning to use all components.

# Define your theme colors:
$mdc-theme-primary: #651fff;
$mdc-theme-accent: #2962ff;

@import "@material/button/mdc-button.scss";
@import "@material/card/mdc-card.scss";
@import "@material/checkbox/mdc-checkbox.scss";
@import "@material/dialog/mdc-dialog.scss";
@import "@material/drawer/mdc-drawer.scss";
@import "@material/form-field/mdc-form-field.scss";
@import "@material/icon-toggle/mdc-icon-toggle.scss";
@import "@material/layout-grid/mdc-layout-grid.scss";
@import "@material/list/mdc-list.scss";
@import "@material/menu/mdc-menu.scss";
@import "@material/radio/mdc-radio.scss";
@import "@material/ripple/mdc-ripple.scss";
@import "@material/select/mdc-select.scss";
@import "@material/snackbar/mdc-snackbar.scss";
@import "@material/textfield/mdc-textfield.scss";
@import "@material/theme/mdc-theme.scss";
@import "@material/toolbar/mdc-toolbar.scss";
@import "@material/typography/mdc-typography.scss";

Docker

Build: docker build -t robertkern/vue-material .
Run: docker run -d --rm -p 8082:8080 robertkern/vue-material
Run and enter to bash: docker run -it --rm --entrypoint bash -p 8080:8082 robertkern/vue-material

Dev

./dev.sh
cd ../../
npm run build:watch

Related Packages

materializecss-vuejs-component

SPA materializecss vuejs components

1,235 11
@hxui/css

Helix User Interface Library - Pure CSS Framework

5,196
vue-material-you

Material design 3 UI framework for Vue 3

1,188
vue-mdl

Reusable Vue components using Material Design Lite

15,428 1,181
vue-material-adapter

Vue 3 wrapper arround Material Components for the Web

8,712 103

Version History

Version Released Vue License
0.1.6 ^2.4.2 MIT
0.1.5 ^2.4.2 MIT
0.1.4 ^2.4.2 MIT
0.1.3 ^2.4.2 MIT
0.1.2 ^2.4.2 MIT
Pre-releases (2)
Version Released Vue License
0.0.1-alpha.2 ^2.2.0 MIT
0.0.1-alpha.1 ^2.2.0 MIT