Documentation menu

Search Sweep

A magnifying glass with a moving scan for search and retrieval states.

Installation

pnpm dlx shadcn@latest add https://loading.design/r/search-sweep.json

Usage

import { SearchSweep } from "@/components/loading/search-sweep"
<SearchSweep size={36} speed={1.8} />

API

PropTypeDefaultDescription
sizenumber36Rendered width and height in pixels.
speednumber1.8Duration of one animation cycle, in seconds.
labelstringThinkingAccessible status label. Pass an empty string for decorative use.

Accessibility

The component exposes a polite status through its label. Use an empty label only when nearby text already communicates the loading state, or when the motion is purely decorative.