RetroEmpty
An empty state for folders, lists and search results: icon, title, description and actions, in the quiet style of an empty Mac OS 9 Finder window.
Installation
npx shadcn@latest add "https://nostalgia-ui.com/r/retro-empty.json"
Setup: installing any component also installs nostalgia-theme (the --os9-* tokens and os9-* utilities) via registryDependencies. To add the theme on its own: npx shadcn@latest add https://nostalgia-ui.com/r/nostalgia-theme.json. Put @layer ui-sdk; above @import "tailwindcss" in your global CSS (why).
Import
import { RetroEmpty } from "@/components/ui/retro-empty"Usage
<RetroEmpty>
<RetroEmptyHeader>
<RetroEmptyMedia><RetroIconFolder size="lg" /></RetroEmptyMedia>
<RetroEmptyTitle>This folder is empty</RetroEmptyTitle>
<RetroEmptyDescription>Drag items here to add them.</RetroEmptyDescription>
</RetroEmptyHeader>
<RetroEmptyContent>
<RetroButton>New Folder</RetroButton>
</RetroEmptyContent>
</RetroEmpty>Empty Folder
Drag files here from the desktop, or create a new folder to get organised.
Empty Trash
Items you throw away stay here until you choose Empty Trash from the Special menu.
Icon Media Variant
Check that your printer is switched on and AppleTalk is active.
No Search Results
Nothing matched “Kaleidoscope”. Try a different name, or search your hard disk contents.
With Link
Connect to a server by address, or read about File Sharing.