Skip to main content

Getting Started

Install and configure tw-easing-gradients

Install the package

		pnpm add tw-easing-gradients
	

Add the plugin to your CSS

		/* app.css */
@import 'tailwindcss';
@plugin 'tw-easing-gradients';
	

You can optionally configure the number of color stops:

		@plugin 'tw-easing-gradients' {
	stops: 20;
}
	

Use easing gradients

Use the utilities together with Tailwind's from-* and to-* color utilities:

		<div class="bg-ease-to-b from-black to-transparent">
	<!-- Smooth fade to transparent -->
</div>
	

Next Steps