MCPcopy Create free account
hub / github.com/bernaferrari/FigmaToCode / EmptyState

Function EmptyState

packages/plugin-ui/src/components/EmptyState.tsx:3–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import React from "react";
2
3const EmptyState = () => {
4 return (
5 <div className="flex w-full flex-col items-center justify-center px-4 py-12 text-center">
6 {/* Illustration: a Figma-style selection box turning into code */}
7 <div className="mb-4 text-neutral-700 dark:text-neutral-200">
8 <svg
9 width="184"
10 height="120"
11 viewBox="0 0 148 96"
12 fill="none"
13 xmlns="http://www.w3.org/2000/svg"
14 className="drop-shadow-sm"
15 aria-hidden="true"
16 >
17 {/* Layer rectangle with selection handles */}
18 <rect
19 x="8"
20 y="16"
21 width="52"
22 height="64"
23 rx="4"
24 stroke="currentColor"
25 strokeWidth="1.5"
26 strokeDasharray="4 3"
27 className="text-green-400"
28 />
29 {/* Selection handles */}
30 <rect
31 x="5"
32 y="13"
33 width="6"
34 height="6"
35 rx="1"
36 className="fill-green-400"
37 />
38 <rect
39 x="5"
40 y="77"
41 width="6"
42 height="6"
43 rx="1"
44 className="fill-green-400"
45 />
46 <rect
47 x="57"
48 y="13"
49 width="6"
50 height="6"
51 rx="1"
52 className="fill-green-400"
53 />
54 <rect
55 x="57"
56 y="77"
57 width="6"
58 height="6"
59 rx="1"
60 className="fill-green-400"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected