rmwc
Version:
A thin React wrapper for Material Design (Web) Components
33 lines (23 loc) • 781 B
Markdown
# 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**
[https://material.io/components/web/catalog/ripples/](https://material.io/components/web/catalog/ripples/)
```jsx render
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>
```
```jsx renderOnly
import { DocumentComponent } from 'rmwc/Base/utils/DocumentComponent';
<DocumentComponent displayName="Ripple" />
```