Ripple
The Here are the default options for the ripple. You can customise them as you like. Below is a collection of simple to complex examples. Center the Ripple. Change the color of the Ripple Many components who internally use the Ripple action expose a Ripple
action is used to show action from a user. It can be applied to any block level element. Numerous components come with the ripple directive built in, such as the Button
, Tab
and many more. Usage
{
color: 'currentColor',
class: '',
opacity: 0.1,
centered: false,
spreadingDuration: '.4s',
spreadingDelay: '0s',
spreadingTimingFunction: 'linear',
clearingDuration: '1s',
clearingDelay: '0s',
clearingTimingFunction: 'ease-in-out',
}
Examples
Centered
Custom Color
Ripple in Components
ripple
prop to customise it.
Ready For More?
Continue to learn more about svelte materialify with content selected by the creator.