๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข๐ŸŽฏ Nexus teaches Next.js from foundations to professional systemsโ€ขโšก App Router, React 19, and Tailwind v4 in one learning pathโ€ข๐Ÿงฉ Inspect real components, layouts, and reusable patternsโ€ข๐Ÿ› ๏ธ Build production discipline, not just polished demosโ€ข๐Ÿ“š Tracks, references, and design studies in one placeโ€ข
Common Components

Empty State

A friendly placeholder shown when a list or page has no content โ€” with icon, title, description, and optional CTA.

Quick Preview

๐Ÿ“ญ

No messages yet

When you receive messages, they will appear here.

Installation

// Copy EmptyState.tsx to your components/common/ folder
// src/components/common/EmptyState.tsx

Usage

import { EmptyState } from '@/components/common/EmptyState'
<EmptyState
icon="๐Ÿ”"
title="No results found"
description="Try adjusting your search or filter to find what you're looking for."
action={<Button variant="outline">Clear filters</Button>}
/>

Examples

Common Scenarios

๐Ÿ”

No results found

Try a different search term.

๐Ÿ›’

Your cart is empty

Add items to get started.

๐Ÿ””

All caught up!

No new notifications.

Sizes

๐Ÿ“

Small empty state

Size sm

๐Ÿ“

Medium empty state

Size md (default)

Prompt Preview

Copy a prompt that recreates this UI

Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.

Copy-ready AI prompt

Starts from the current visual reference and project constraints.

Tweak only product-specific copy or data after the first generation pass.

Props

PropTypeDefaultDescription
title*string-Primary heading text
iconReact.ReactNode-Icon or emoji displayed above the title
descriptionstring-Supporting body text
actionReact.ReactNode-Optional CTA button or link
size"sm" | "md" | "lg""md"Controls spacing and text size