Slide Text Button - React Component | Kokonut UI
Slide Text Button
Animated link button with a vertical text slide on hover and default and ghost variants, built with React, Next.js Link, and Tailwind CSS.
Install with
npx shadcn@latest add https://kokonutui.com/r/slide-text-button.json
Installation
Slide Text Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/slide-text-button.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/slide-text-button
Usage
import SlideTextButton from "@/components/kokonutui/slide-text-button";
export default function Example() {
return <SlideTextButton hoverText="Click to see more" />;
}
Props
text:stringDefault `