
Dot Fill Button
Buttons
A directional CTA button where the arrow and fill animation reinforce click intent without delaying the action.
Arrow Fill Button gives a button or link a small, useful moment of feedback: the arrow and fill move as one CTA signal.
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 main risk is not letting motion stand in for the control. Real buttons and anchors, visible focus, instant response, and clear loading and disabled states come first; the effect is a layer on top of a control that already works.
import ArrowFillButton from "@/components/effects/arrow-fill-button"; export default function Page() { return ( <> <div className="h-screen w-screen flex items-center justify-center relative"> <ArrowFillButton className="bg-linear-to-r from-[#ff6b00] to-[#ff5f00]" href="#" btnText="Hover me" /> </div> </> );}A SaaS product homepage can use Arrow Fill Button for the main hero CTA, such as Start free trial. On hover the fill sweeps out from the small circle at the right edge to cover the whole button, the label switches color inside it, and the arrow slides through to reinforce direction.
The outcome is confidence. The primary action reads as one clear signal, and the link still responds immediately so the motion never stands between the visitor and sign-up.
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 |
|---|---|---|---|
bgColor | color | #ff5f00 | Resting button background color. |
textColor | color | #ffffff | Resting label color. |
fillBgColor | color | #ffffff | Circle fill color before hover. |
fillTextColor | color | #ff5f00 | Label color inside the fill before hover. |
hoverFillBgColor | color | #ffffff | Expanded fill color on hover. |
hoverFillTextColor | color | #ff5f00 | Label color inside the expanded fill on hover. |
arrowColor | color | - | Arrow color before hover. Falls back to fillTextColor when unset. |
hoverArrowColor | color | - | Arrow color after hover. Falls back to hoverFillTextColor when unset. |
Use it when a primary CTA needs arrow and fill moving as one direction-and-feedback signal 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.