Loading preview
Glow Border Button
ButtonsA button with a light that keeps circling its border.
A pill button whose arrow slides in as the label moves aside on hover.
npx shadcn@latest add @venusui/slide-arrow-buttonRun this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/slide-arrow-button.tsxThe code behind the preview above.
slide-arrow-button-demo.tsx
import { SlideArrowButton } from "@/components/ui/slide-arrow-button"
export default function SlideArrowButtonDemo() {
return <SlideArrowButton>Explore templates</SlideArrowButton>
}
| Prop | Type | Default | Description |
|---|---|---|---|
| icon | ReactNode | arrow | Icon that slides in. |
| type | "button" | "submit" | "reset" | "button" | Defaults to button so it never submits a form by accident. |
All <button> props, including onClick, disabled and ref.
lucide-react for the default arrow, Tailwind CSS v4. Works in Server Components.icon={<Download />} for a download action.className="bg-primary text-primary-foreground hover:bg-primary/90".px-*.Unknown registry "@venusui"npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.No components.json foundnpx shadcn@latest init in your project first.A button with a light that keeps circling its border.
A heart toggle that pops and bursts when liked, with an optional count.
A button that sends a ripple out from where it was pressed.