
Buttons with a flowing liquid fill that sweeps across the surface on hover. A playful accent for landing pages and creative product sites today.
@shadcn-ui-blocks
import { Button } from '@/components/ui/button';
export default function LiquidButtons() {
return (
<div className="flex flex-wrap justify-center gap-4 p-6">
<Button
variant="default"
className="rounded-[60%_40%_40%_60%/60%_30%_70%_40%] transition-all duration-500 hover:rounded-[40%_60%_70%_30%/50%_60%_30%_60%]"
>
Default
</Button>
<Button
variant="secondary"
className="rounded-[60%_40%_40%_60%/60%_30%_70%_40%] transition-all duration-500 hover:rounded-[40%_60%_70%_30%/50%_60%_30%_60%]"
>
Secondary
</Button>
<Button
variant="destructive"
className="rounded-[60%_40%_40%_60%/60%_30%_70%_40%] transition-all duration-500 hover:rounded-[40%_60%_70%_30%/50%_60%_30%_60%]"
>
Destructive
</Button>
<Button
variant="outline"
className="rounded-[60%_40%_40%_60%/60%_30%_70%_40%] transition-all duration-500 hover:rounded-[40%_60%_70%_30%/50%_60%_30%_60%]"
>
Outline
</Button>
<Button
variant="ghost"
className="rounded-[60%_40%_40%_60%/60%_30%_70%_40%] transition-all duration-500 hover:rounded-[40%_60%_70%_30%/50%_60%_30%_60%]"
>
Ghost
</Button>
</div>
);
}


























