JSPM

@rmwc/ripple

14.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25043
  • Score
    100M100P100Q199387F
  • License MIT

RMWC Ripple component

Package Exports

  • @rmwc/ripple
  • @rmwc/ripple/ripple.css
  • @rmwc/ripple/styles

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.

Ripples will wrap whatever child component you pass it and apply the appropriate classes and styles.

<Ripple\>

  <p\>Standard Ripple</p\>

</Ripple\>

<Ripple primary\>

  <p\>Primary</p\>

</Ripple\>

<Ripple accent\>

  <p\>Accent</p\>

</Ripple\>

<Ripple unbounded\>

  <p\>Unbounded</p\>

</Ripple\>

Ripple