Docs
→Button
→Shiny Tooltip Button
Shiny Tooltip Button
A compact button with a moving shimmer highlight on hover and a clean content plate.
by Sarthak Kapila
Installation
Usage
Shiny Tooltip Button Example
1import ShinyButton from "@/components/Hover-2-seats";23export default function Example() {4 return (5 <ShinyButton6 title="Buy now"7 link="#"8 width={117}9 height={44}10 />11 );12}
Understanding the component
The button renders a background shimmer layer that slides up and fades in on hover, revealing a bright highlight above the content plate. The shimmer text is rendered by an internal TextShimmer
component.
Credits
By Sarthak Kapila.
Props
Prop | Type | Default | Description |
---|---|---|---|
title | string | "Buy now" | Text displayed inside the button. |
link | string | "#" | Optional link to wrap the button (Next.js Link ). |
className | string | - | Optional class name on the root container. |
style | React.CSSProperties | - | Inline styles for the root container. |
width | number | 117 | Outer width of the button. |
height | number | 44 | Outer height of the button. |