Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Link Button

Link Button

A lightweight animated link button for navigation, secondary actions, and product pages that need subtle interaction feedback.

Lucide-react
DemoDemoDemo

Tune the Real Props

Text Color

Resting label and underline color.

Hover Color

Hover label and underline color.

Overview

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.


Usage Code

page
1import LinkButton from "@/components/effects/link-button";2 3export default function Page() {4    return (5        <>6        <div className="h-screen w-screen flex items-center justify-center relative">7                <div className="w-fit mx-auto">8                     <LinkButton9                        text="Hover me"10                        href="#"11                        iconClassName="size-[2vw] mt-[0.2vw] max-sm:size-[4vw]"12                        className="text-[2vw] hover:text-[#ff6b00] max-sm:text-[4.5vw]"13                    />14            </div>15        </div>16        </>17 18    );19}

Example Production Use Case

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.


Best Used For

  • Secondary actions and navigation links that need a small designed state, not drama.
  • Product and docs pages where lightweight feedback supports orientation.
  • Link Button adds feedback to an action without weakening semantics, focus, or activation speed.

Not For

Not for destructive actions, unclear states, or places where animation hides the label or delays activation.


Performance Budget

Keep feedback fast, avoid layout-triggering letter movement, and preserve instant activation.


Accessibility and Mobile

Use real buttons or anchors, visible focus-visible styles, and clear loading/disabled states. Touch targets should stay large enough on mobile.


Common Mistakes

  • Building Link Button with divs instead of real buttons or links.
  • Hiding the label during hover.
  • Forgetting loading and disabled states.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
textColorcolor#ffffffResting label and underline color.
hoverColorcolor#ff6b00Hover label and underline color.
underlineHeightnumber1.5Underline thickness in pixels.
showIconbooleantrueShows or hides the arrow icon.
transitionDurationnumber0.5Animation duration in seconds.

Questions, Answered.

When should I use Link Button?

Use it when a navigation or secondary link needs a small, lightweight interaction state — without delaying the action.

Should Link Button use a real button or link?

Yes. Use `<button>` for actions and `<a>` for navigation.

How should Link Button handle focus?

Use visible focus-visible styles and support keyboard activation.

How should loading states work with Link Button?

Loading should be visually clear and programmatically communicated without hiding the label.

What should reduced motion do for Link Button?

Remove long staggers, scrambles, and looping emphasis while keeping instant state feedback.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Arrow Fill Button
Lucide-react

Arrow Fill Button

Buttons

Scramble Link Button
Lucide-react

Scramble Link Button

Buttons

Dot Fill Button
Pro
CSS

Dot Fill Button

Buttons

Character Stagger Primary Button
Pro
Lucide-react

Character Stagger Primary Button

Buttons