Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

No Deployments Empty State Block for React

A deploy platform's first-deployment page as a split screen: an environment, a Skip tests switch and a dark terminal whose command follows them, one Copy command button, and a sample run that lists a first deployment while a drawn balloon fills.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

Turn an empty deployment list into the command that fills it, with this no deployments empty state for React with Base UI. The page is Moorage, a deploy platform: the rails of the page and one band across it are split in two, the drawing first. The drawing is a dock with a hot-air balloon on a dashed tether, an outline until something is moored. At the end the heading, one sentence, a native Select for the environment, a Switch for Skip tests, and a terminal whose command follows both as you change them. The Shine Button, the only colored control, Copy command, puts that command on your clipboard. A Show a sample run button prints typed output in the terminal once and lists a first deployment, and the tether turns solid. The block follows the theme; only the terminal is dark, as terminals are. The frame is ruled by Guides, and everything moves with CSS only. For the first screen of any hosting, CI or release tool.

FAQ

Does anything get deployed, and what stays in the page?

No. The page never runs the command; it prints it for you to run in your own project. The sample run is typed text at fixed times, the deployment it lists is a row in the page's state, and the host in its last line is made up. A reload clears it, and Start over clears it without one. To wire it for real, list the deployments your API returns instead of the typed row.

How does the command follow the controls?

It is built from the environment you pick and the switch: moorage deploy --env staging, with --skip-tests added when the switch is on. The terminal's command is a labelled region that scrolls sideways on a narrow screen, so a long command never makes the page scroll. The Copy command button copies exactly what is shown, and a polite line says it worked or that the clipboard refused it.

Why is the terminal dark in a light theme?

Terminals are dark by nature, so this one carries its own dark scope while everything around it follows the theme (a code comment says so). Its text is real text, its output is a log region you can focus and scroll with the keyboard, and its muted lines pass contrast in the dark scope.

What does Show a sample run do?

It prints six typed lines, each fading in a moment after the last, with the environment and the switch you had at that moment, and lists Deployment 1 under the terminal. The tether in the drawing turns solid and the balloon fills. The entrance is a CSS transition and shows all at once under reduced motion. Start over, which stays quiet until there is a deployment, puts the dashed tether back and focus on Copy command.

Does the page change height?

No. The terminal's output area has one height, the list is one row high whether it is dashed or holds a deployment, and the status line has a place of its own. The page is centred, so nothing may grow; this is why.

How does it look on a phone?

The balloon sits above the heading at 140 px tall, the form stacks, the terminal scrolls sideways inside itself, and the Copy command button is pinned to the foot of the screen with the status line above it.

  • Pro

    A config manager's empty environment list as three dashed isometric slabs that turn solid one at a time, with an Add variable row that counts variables on each slab and one Shine Button that names the next environment to create.

  • Pro

    No Logs Empty State

    Developer tools

    A log console window with nothing logged yet: a dashed pipe from an app to a console, four level chips with counts, a Follow switch, a dark console and one Send a test line button that prints the next of twelve typed lines.

  • Pro

    An API platform's first-key page as a split screen: a name, a scope and one Create key button that shows a made-up demo key once with a copy button, then masks it into a one-row list with Revoke, while a drawn gate takes its pin.

  • Pro

    Deployment Live Success

    Builds and deploys

    A confirmation window for a live deploy: a drawn browser with the real address and a copy button, a group of buttons that redraws the site at desktop, tablet and phone width, and the deploy's facts and four passed checks beside it.

  • Pro

    An event relay's empty endpoint list as a builder: a URL, four events to tick, a code window with the JSON body and a curl command, and one Add endpoint button that lists the endpoint and sends a simulated test event.

  • Pro

    An error monitor's empty list as an install guide: a code window with npm, pnpm and bun tabs and a copy button, an initialise snippet, a Send a test error button that lists one simulated row, and a calm lake whose ring turns solid.