Search

Search components and flows across the catalog

ThatDesignUIOriginalInteractive preview

Arrow reveal button

An outlined secondary call to action: on hover the label slides aside, an arrow slides in and a dark fill sweeps in behind them.

Category
Buttons
Platform
Responsive

Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.Default state

Use this component

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/arrow-reveal-button.json

2. Use it

Every prop is optional
app/page.tsx
import ArrowRevealButton from "@/components/arrow-reveal-button";

export default function Page() {
  return <ArrowRevealButton />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. A 56px white pill with a 2px near-black border and near-black 15px semibold text, on a warm white panel.
  2. On hover or focus a near-black fill scales in from the right edge, the label moves 12px left and turns white, and an arrow slides in from the right.
  3. All three moves share one 0.3 second ease-out curve.

How it behaves

  • Hover and keyboard focus show the same reveal.
  • The label stays fully readable during the transition.
  • Under reduced motion the reveal happens without the slide.
  • Disabled shows no fill and no arrow.

More from ThatDesignUI

Image gallery lightbox

Image gallery lightbox

ThatDesignUIOriginalMedia component

Notification center

Notification center

ThatDesignUIOriginalNotifications component

Interactive chart card

Interactive chart card

ThatDesignUIOriginalDashboard component

Multi-select combobox

Multi-select combobox

ThatDesignUIOriginalForms component