Skip to main content
Clever Ops

Survey Draw

The brand as a spinner, a small blueprint frame with edge ticks and a corner registration cross that draws itself, holds, undraws, and redraws in a calm loop. SVG stroke work.

Preview & code

Loading Survey Draw preview

Installation

pnpm dlx shadcn@latest add @cleverui/loader-survey-draw

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { LoaderSurveyDraw } from '@/components/ui/loader-survey-draw'
Exampletsx
import { LoaderSurveyDraw } from '@/components/ui/loader-survey-draw'

export default function LoaderSurveyDrawDemo() {
  return (
    <div className="mx-auto flex min-h-[360px] max-w-md flex-col items-center justify-center gap-8 px-6 py-20">
      <div className="flex flex-col items-center gap-6 text-center">
        <LoaderSurveyDraw size={56} label="Surveying layout" />
        <div className="space-y-2">
          <p className="font-mono text-[11px] uppercase tracking-[0.2em] text-muted-foreground">
            Site survey
          </p>
          <p className="text-base font-semibold tracking-tight text-foreground">
            Plotting parcel 14-B
          </p>
          <p className="max-w-xs text-sm leading-relaxed text-muted-foreground">
            Aligning the field grid to the 2024 cadastral baseline before the
            stake-out pack ships.
          </p>
        </div>
      </div>
    </div>
  )
}

API reference

LoaderSurveyDraw accepts the following props.

PropTypeDefaultDescription
sizenumber48frame edge in px
labelstring'Loading'sr-only status text
speednumber1timeline speed multiplier

…plus everything from React.HTMLAttributes<HTMLDivElement>: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Survey Draw component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/loader-survey-draw`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Survey Draw require?

Survey Draw uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Survey Draw to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services