Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@smui/ripple

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smui/ripple

Svelte Material UI - Ripple

  • 1.0.0-beta.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
decreased by-1.07%
Maintainers
1
Weekly downloads
 
Created
Source

Svelte Material UI - Ripple

Ripples are an interaction feedback mechanism.

See MDC Ripple for more information on API and Sass mixins.

See the Sass variable file for styling variables.

Installation

npm install --save-dev @smui/ripple

Basic Usage

<script>
  import Ripple from '@smui/ripple';
</script>

<p use:Ripple={[true, {color: 'surface'}]} tabindex="0">
  Here is an element with a ripple.
</p>

Demo

in action: https://sveltematerialui.com/#/demo/ripple

demo code: https://github.com/hperrin/svelte-material-ui/blob/master/site/demos/Ripple.svelte

Exports

(default)

A ripple Svelte action.

Props / Defaults

The action accepts an array, with two entries. The first is a boolean, whether the ripple is enabled. The second is an object with the props:

  • unbounded - Whether the ripple is unbounded.
  • color - The ripple color. ('surface', 'primary', or 'secondary')

Keywords

FAQs

Package last updated on 06 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc