arrow-down-right-01
An animated arrow-down-right icon from the hugeicons-animated registry that nudges and scales its arrow with a short motion pulse on hover. It exposes an imperative ref handle so the animation can also be triggered programmatically.
shadcn add · no workarounds · theme neutral (none shipped)Installation
Requires @hugeicons-animated in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { ArrowDownRight01Icon } from '@/components/icons/arrow-down-right-01';export function Example() { return <ArrowDownRight01Icon size={24} className="text-red-500" />;}- Showing a downward-right trend, decrease direction, or drill-down indicator next to a metric or table cell
- Adding a subtle hover micro-interaction to links, list rows, or cards that navigate down-right
- Triggering a one-off attention pulse programmatically via the ref handle (for example after a value changes)
- Replacing a static arrow icon where a lightweight motion accent is desired without a heavy animation library
Examples
Trend indicator in a stat card
Shows a decreasing metric with the icon colored to signal a negative change. Hover plays the pulse.
import { ArrowDownRight01Icon } from '@/components/icons/arrow-down-right-01';export function RevenueStat() { return ( <div className="flex items-center gap-2 text-sm"> <span className="font-semibold">-4.2%</span> <ArrowDownRight01Icon size={18} className="text-red-500" /> </div> );}Programmatic trigger via ref
Passing a ref switches the icon to controlled mode, so hover no longer animates it and you call startAnimation directly.
import { useRef } from 'react';import { ArrowDownRight01Icon, type ArrowDownRight01IconHandle } from '@/components/icons/arrow-down-right-01';export function AlertOnChange({ value }: { value: number }) { const iconRef = useRef<ArrowDownRight01IconHandle>(null); return ( <button onClick={() => iconRef.current?.startAnimation()} className="inline-flex items-center gap-1"> {value} <ArrowDownRight01Icon ref={iconRef} size={16} /> </button> );}Icon as a navigation link affordance
Places the icon inside a link so hovering the row animates the arrow. Extra mouse handlers are forwarded.
import { ArrowDownRight01Icon } from '@/components/icons/arrow-down-right-01';export function NextLink() { return ( <a href="/reports/details" className="inline-flex items-center gap-2 text-blue-600 hover:underline"> View details <ArrowDownRight01Icon size={20} onMouseEnter={() => console.log('hover')} /> </a> );}API reference
Accessibility
- The icon is decorative by default; when it conveys meaning (for example a decrease), add an aria-label or visually hidden text on the wrapper, or set role="img" with aria-label on the element.
- The SVG has no title or aria-hidden attribute set internally, so screen readers may announce the wrapping div's content; add aria-hidden="true" when the surrounding text already conveys the same information.
- Animation respects prefers-reduced-motion through motion's useReducedMotion, so startAnimation returns early for users who request reduced motion.
- Ensure color is not the only signal of a negative trend; pair the icon with a text value or sign.
- If the icon is used inside an interactive element such as a button or link, make sure the hit target has an accessible name because the icon itself is not focusable.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "arrow-down-right-01" component (hugeicons-animated/arrow-down-right-01) from its shadcn registry.1. Install it with: npx shadcn@latest add @hugeicons-animated/arrow-down-right-012. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: size, className, onMouseEnter, onMouseLeave, ref, ...props.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { ArrowDownRight01Icon } from '@/components/icons/arrow-down-right-01';export function Example() { return <ArrowDownRight01Icon size={24} className="text-red-500" />;}```Files & dependencies
- icons/arrow-down-right-01.tsx
- lib/use-icon-animation.ts