Lucas

Hairline Sieve

Component 3

About

An animated isometric line drawing of three stacked test sieves over a pan that responds to pointer height by lifting the sieve under the cursor clear of the stack, useful as a decorative empty-state or hero illustration.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hairline Sieve to your project and fits it to your theme.

Code

How Hairline Sieve is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Sieve from "@/components/ui/sieve";

function NoResults({ onClear }: { onClear: () => void }) {
  return (
    <div style={{ display: "grid", justifyItems: "center", gap: 12, padding: 48 }}>
      <Sieve style={{ width: 200 }} label="An empty sieve" />
      <h2>No results match these filters</h2>
      <button onClick={onClear}>Clear filters</button>
    </div>
  );
}

export default function Page() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background text-foreground">
      <NoResults onClear={() => {}} />
    </div>
  );
}