Package Exports
- @rmwc/ripple
- @rmwc/ripple/README.md
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rmwc/ripple) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ripples
MDC Ripple provides the JavaScript and CSS required to provide components (or any element at all) with a material “ink ripple” interaction effect. It is designed to be efficient, uninvasive, and usable without adding any extra DOM to your elements.
- import from '@rmwc/ripple';
- Import styles:
- import '@material/ripple/dist/mdc.ripple.css';
- MDC Docs: https://material.io/develop/web/components/ripples/
import { Ripple } from '@rmwc/ripple';
<Ripple>
<p>Standard Ripple</p>
</Ripple>
<Ripple primary>
<p>Primary</p>
</Ripple>
<Ripple accent>
<p>Accent</p>
</Ripple>
<Ripple unbounded>
<p>Unbounded</p>
</Ripple>
import { Docs } from '@rmwc/base/utils/document-component';
import * as docs from './docgen.json';
<Docs src={docs} components={["Ripple"]} />