
Arrow Fill Button
Buttons
A lightweight animated link button for navigation, secondary actions, and product pages that need subtle interaction feedback.
Link Button gives a button or link a small, useful moment of feedback: a link earns a small interaction state.
Use it where a CTA needs to feel responsive and intentional, not theatrical. A button should confirm action, state, or direction; it should not become a tiny stage play that delays the click.
The thing to watch is semantics. Keep real button and anchor elements, visible focus, instant activation, and clear loading/disabled states. Motion sits on top of the action; it does not replace it.
import LinkButton from "@/components/effects/link-button"; export default function Page() { return ( <> <div className="h-screen w-screen flex items-center justify-center relative"> <div className="w-fit mx-auto"> <LinkButton text="Hover me" href="#" iconClassName="size-[2vw] mt-[0.2vw] max-sm:size-[4vw]" className="text-[2vw] hover:text-[#ff6b00] max-sm:text-[4.5vw]" /> </div> </div> </> );}A developer documentation site can use Link Button for the secondary links at the end of each guide: read the API reference, view the changelog, open the next tutorial. On hover the underline draws in, the label shifts to the accent color, and an optional arrow points toward the next step.
The outcome is orientation. Readers get a clear signal that a link leads somewhere useful, while the anchor still behaves like a normal link and activates instantly.
Not for destructive actions, unclear states, or places where animation hides the label or delays activation.
Keep feedback fast, avoid layout-triggering letter movement, and preserve instant activation.
Use real buttons or anchors, visible focus-visible styles, and clear loading/disabled states. Touch targets should stay large enough on mobile.
| Prop | Type | Default | Description |
|---|---|---|---|
textColor | color | #ffffff | Resting label and underline color. |
hoverColor | color | #ff6b00 | Hover label and underline color. |
underlineHeight | number | 1.5 | Underline thickness in pixels. |
showIcon | boolean | true | Shows or hides the arrow icon. |
transitionDuration | number | 0.5 | Animation duration in seconds. |
Use it when a navigation or secondary link needs a small, lightweight interaction state — without delaying the action.
Yes. Use `<button>` for actions and `<a>` for navigation.
Use visible focus-visible styles and support keyboard activation.
Loading should be visually clear and programmatically communicated without hiding the label.
Remove long staggers, scrambles, and looping emphasis while keeping instant state feedback.
Need a custom effect? Tell us what to create.