Empty state
Marketing
Empty state
no projects yet
Start your first project
Projects organize machines, tickets, and team activity. You can rename them anytime.
Centered empty state — eyebrow, headline, helper copy, primary CTA. For zero-data screens.
card · stack · heading · buttonimport { Card, CardContent } from "@/components/ui/card"
import { Stack } from "@/components/ui/stack"
import { Heading } from "@/components/ui/heading"
import { Button } from "@/components/ui/button"
export function EmptyState() {
return (
<Card className="text-center">
<CardContent className="py-14">
<Stack direction="col" gap="3" align="center">
<p className="text-xs font-mono uppercase tracking-wider text-muted-foreground">no projects yet</p>
<Heading level="h2">Start your first project</Heading>
<p className="text-sm text-muted-foreground max-w-sm">Projects organize machines, tickets, and team activity. You can rename them anytime.</p>
<Button>New project</Button>
</Stack>
</CardContent>
</Card>
)
}
ui26/react
<script lang="ts">
import Card from "$lib/components/ui/card.svelte"
import CardContent from "$lib/components/ui/card-content.svelte"
import Stack from "$lib/components/ui/stack.svelte"
import Heading from "$lib/components/ui/heading.svelte"
import Button from "$lib/components/ui/button.svelte"
</script>
<Card class="text-center">
<CardContent class="py-14">
<Stack direction="col" gap="3" align="center">
<p class="text-xs font-mono uppercase tracking-wider text-muted-foreground">no projects yet</p>
<Heading level="h2">Start your first project</Heading>
<p class="text-sm text-muted-foreground max-w-sm">Projects organize machines, tickets, and team activity. You can rename them anytime.</p>
<Button>New project</Button>
</Stack>
</CardContent>
</Card>
ui26/svelte
---
import Card from "@/components/ui/card.astro"
import CardContent from "@/components/ui/card-content.astro"
import Stack from "@/components/ui/stack.astro"
import Heading from "@/components/ui/heading.astro"
import Button from "@/components/ui/button.astro"
---
<Card class="text-center">
<CardContent class="py-14">
<Stack direction="col" gap="3" align="center">
<p class="text-xs font-mono uppercase tracking-wider text-muted-foreground">no projects yet</p>
<Heading level="h2">Start your first project</Heading>
<p class="text-sm text-muted-foreground max-w-sm">Projects organize machines, tickets, and team activity. You can rename them anytime.</p>
<Button>New project</Button>
</Stack>
</CardContent>
</Card>
ui26/astro
{
"root": "card",
"elements": {
"card": {
"type": "Card",
"props": {
"className": "text-center"
},
"children": [
"content"
]
},
"content": {
"type": "CardContent",
"props": {
"className": "py-14"
},
"children": [
"stack"
]
},
"stack": {
"type": "Stack",
"props": {
"direction": "col",
"gap": "3",
"align": "center"
},
"children": [
"eb",
"hd",
"body",
"btn"
]
},
"eb": {
"type": "Text",
"props": {
"content": "no projects yet",
"size": "xs",
"mono": true,
"className": "uppercase tracking-wider text-muted-foreground"
},
"children": []
},
"hd": {
"type": "Heading",
"props": {
"text": "Start your first project",
"level": "h2"
},
"children": []
},
"body": {
"type": "Text",
"props": {
"content": "Projects organize machines, tickets, and team activity. You can rename them anytime.",
"size": "sm",
"muted": true,
"className": "max-w-sm"
},
"children": []
},
"btn": {
"type": "Button",
"props": {
"label": "New project"
},
"children": []
}
}
}
ui26/json-render