airplane-take-off-01
AirplaneTakeOff01Icon is an animated airplane take-off icon built as an SVG with a runway line, a departing plane, an arriving plane, and a small ground tree. On hover it plays a one-shot take-off sequence where one plane lifts away and another lands into the same runway slot.
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 { AirplaneTakeOff01Icon } from '@/components/icons/airplane-take-off-01';export function Example() { return <AirplaneTakeOff01Icon size={28} className={'text-sky-500'} />;}- Showing a flight departure, boarding, travel booking, or airline status in a UI
- Adding a playful hover micro-interaction to a travel, aviation, or booking CTA or nav item
- Indicating a take-off or launch state in a dashboard or onboarding flow
- Replacing a static airplane glyph where a short animated accent is wanted
Examples
Basic hover icon
Plays the take-off sequence when the pointer enters the icon wrapper. The import path depends on your shadcn components alias configuration.
import { AirplaneTakeOff01Icon } from '@/components/icons/airplane-take-off-01';export function BasicExample() { return <AirplaneTakeOff01Icon size={32} className={'text-sky-500'} />;}Programmatic trigger via ref
Attaching a ref switches the icon to controlled mode, so hover no longer starts the animation. Call startAnimation from your own logic, such as a button click.
import { useRef } from 'react';import { AirplaneTakeOff01Icon } from '@/components/icons/airplane-take-off-01';import type { AirplaneTakeOff01IconHandle } from '@/components/icons/airplane-take-off-01';export function DepartButton() { const iconRef = useRef<AirplaneTakeOff01IconHandle>(null); return ( <button type={'button'} onClick={() => iconRef.current?.startAnimation()} className={'flex items-center gap-2'}> <AirplaneTakeOff01Icon ref={iconRef} size={24} /> <span>Depart</span> </button> );}Flight status row
Places the icon next to a label inside a travel status card. The wrapper div receives className, so layout utilities apply to it.
import { AirplaneTakeOff01Icon } from '@/components/icons/airplane-take-off-01';export function FlightStatus() { return ( <div className={'flex items-center gap-3 rounded-lg border p-4'}> <AirplaneTakeOff01Icon size={28} className={'text-emerald-600'} /> <div> <p className={'font-medium'}>Flight NH 105 is departing</p> <p className={'text-sm text-muted-foreground'}>Gate B12, 14:30</p> </div> </div> );}API reference
Accessibility
- The icon is decorative by default. Add role={'img'} and aria-label on the wrapper when it conveys meaning on its own, for example aria-label={'Departing'}.
- If the icon sits next to visible text, mark the wrapper with aria-hidden={true} so screen readers do not announce it twice.
- The animation respects prefers-reduced-motion through motion's useReducedMotion. When reduced motion is requested, the hover and startAnimation calls do nothing and the icon stays static.
- The SVG does not set a title or desc element, so pass accessible text through the wrapper rather than relying on the graphic itself.
- Avoid relying on the animation alone to communicate state. Pair the icon with a text label for status changes.
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 "airplane-take-off-01" component (hugeicons-animated/airplane-take-off-01) from its shadcn registry.1. Install it with: npx shadcn@latest add @hugeicons-animated/airplane-take-off-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, ...HTMLAttributes<HTMLDivElement>.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { AirplaneTakeOff01Icon } from '@/components/icons/airplane-take-off-01';export function Example() { return <AirplaneTakeOff01Icon size={28} className={'text-sky-500'} />;}```Files & dependencies
- icons/airplane-take-off-01.tsx
- lib/use-icon-animation.ts