1
3
Block

Slide Button

PreviousNext

A button with a slides up and then slides back sideways.

import Link from "next/link"

import { SlideButton } from "@/components/ui/slide-button"

export function SlideButtonDemo() {
  return (
<SlideButton>
  Hover Me
</SlideButton>
  )
}

Installation

pnpm dlx shadcn@latest add https://ebonui.com/r/slide-button.json

Usage

    <LiquidButton>
      <Link href="/dashboard">Go to Dashboard</Link>
    </LiquidButton>

Props

PropTypeDefault
delay?time#ffffff
fillHeight?percentage0.05em
hoverScale?number100px
tapScale?number3s
...props?HTMLMotionProps<"button">