diff --git a/components/ripple/README.md b/components/ripple/README.md index 72480261b..67097aa04 100644 --- a/components/ripple/README.md +++ b/components/ripple/README.md @@ -1,5 +1,75 @@ ## Ripple +Material Components Vue provides a customized directive `v-ripple` to provide any components with ripple effect. + +### Minimal Usage + +```html +Button +``` + +### Use primary color as ripple color + +```html +Button +``` + +### Use secondary color as ripple color + +```html +Button +``` + +### Customized your ripple using SASS + +```html + + + +``` + +### CSS-Only ripple + +```html +Button +``` + +### Activate or deactivate using binding value + +Notice that this usage can only be applied to Vue components instead of native elements like `
`, `