third party plugins
Tailwind CSS Wave Effect
Add smooth wave effects to your components with Nodewave for better interaction.
Below are the comprehensively outlined steps you can follow to seamlessly integrate Waves with FlyonUI.
Use the waves
class to implement the default ripple effect.
<button class="btn btn-outline waves">Default</button>
Combine the waves
class with waves-{semantic color}
to implement colored wave effects.
<button class="btn btn-soft waves">Default</button>
<button class="btn btn-soft btn-primary waves waves-primary"><span class="waves-ripple"></span>Primary</button>
<button class="btn btn-soft btn-secondary waves waves-secondary">Secondary</button>
<button class="btn btn-soft btn-accent waves waves-accent">Accent</button>
<button class="btn btn-soft btn-info waves waves-info">Info</button>
<button class="btn btn-soft btn-success waves waves-success">Success </button>
<button class="btn btn-soft btn-warning waves waves-warning">Warning</button>
<button class="btn btn-soft btn-error waves waves-error">Error</button>
To customize the ripple color, apply the waves
class alongside the --wave-color
CSS variable.
<!-- Solid -->
<button class="btn waves [--btn-color:#1877F2] text-white [--wave-color:#ffffff5e]">
<span class="icon-[tabler--brand-facebook] size-4.5 shrink-0"></span> Facebook <span class="waves-ripple"></span>
</button>
<button class="btn waves btn-soft [--btn-color:#1da1f2] [--btn-fg:#1da1f2] [--wave-color:#4a87d766]">
<span class="icon-[tabler--brand-x] size-4.5 shrink-0"></span> Twitter
</button>
<button class="btn waves btn-outline [--btn-color:#0a66c2] [--btn-fg:#0a66c2] [--wave-color:#0a66c250]">
<span class="icon-[tabler--brand-linkedin] size-4.5 shrink-0"></span> LinkedIn
</button>
Example of wave effect applied to buttons.
<button class="btn btn-primary waves waves-light">Default</button>
<button class="btn btn-primary btn-soft waves waves-primary">Default</button>
<button class="btn btn-primary btn-outline waves waves-primary">Default</button>
<button class="btn btn-primary btn-text waves waves-primary">Default</button>
<button class="btn btn-primary btn-gradient waves waves-light">Default</button>
Example of wave effect applied to icon buttons.
<button class="btn btn-square waves waves-light btn-primary" aria-label="Icon Button">
<span class="icon-[tabler--star] size-4.5"></span>
</button>
<button class="btn btn-square waves waves-primary btn-soft btn-primary" aria-label="Soft Icon Button">
<span class="icon-[tabler--star] size-4.5"></span>
</button>
<button class="btn btn-square waves waves-primary btn-outline btn-primary" aria-label="Outline Icon Button">
<span class="icon-[tabler--star] size-4.5"></span>
</button>
<button class="btn btn-square waves waves-primary btn-text btn-primary" aria-label="Outline Icon Button">
<span class="icon-[tabler--star] size-4.5"></span>
</button>
<button class="btn btn-square waves waves-light btn-gradient btn-primary" aria-label="Gradient Icon Button">
<span class="icon-[tabler--star] size-4.5"></span>
</button>
Example of wave effect applied to card.
Welcome to Our Service
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly platform designed to meet all your needs.
<div class="card waves waves-primary sm:max-w-sm">
<div class="card-body">
<h5 class="card-title mb-2.5">Welcome to Our Service</h5>
<p>
Discover the features and benefits that our service offers. Enhance your experience with our user-friendly
platform designed to meet all your needs.
</p>
</div>
</div>
Example of wave effect applied to images.

<div class="waves waves-info">
<img src="https://cdn.flyonui.com/fy-assets/components/card/image-5.png" alt="flower image" />
</div>