shadcn.io is not affiliated with official shadcn/ui
Deployment Live Success Block for React
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.
Installation
Overview
Show that a deploy is live with this confirmation window for React with Base UI. It is the Skiffhost console, an app host, just after a deploy went live, in a fixed-height window with no title bar: a top bar with a success mark, the heading and the one action, the Shine Button that visits the site. The page side is the live site itself, drawn: a browser whose address bar holds the real URL and a Copy Button, and under it a greyscale drawing of the site that a Toggle Group redraws at desktop, tablet and phone width. Beside it are the deploy's facts (branch, commit, build time, the day) and four checks, each with a check mark, the word Passed and its time, counted from the typed list. For app hosts, deploy dashboards and any push that goes live.
FAQ
What stays in the page, and how do I wire it for real?
Nothing was deployed. The site, the commit, the four checks and their times are typed sample data, and the width buttons only change the drawing. The browser's clipboard is real: the copy button copies the live address. To wire it, set SITE, BRANCH and COMMIT from your deploy record, build CHECKS from the checks your pipeline ran (each with its passed flag and seconds), and replace SitePicture with a screenshot or an iframe of your site if you prefer; the counts and the build time are worked out from CHECKS.
How does the window behave?
It keeps its height on every width (36rem on a phone, 46rem from the medium breakpoint) and nothing the visitor does changes it. On a phone the window scrolls inside itself, with the browser and the width buttons first and the facts and checks under them. Tab goes through the top bar's link, the copy button, the width group and the View logs button under the checks, in that order.
What do the width buttons do?
They are a group of three buttons with one always on. Choosing Tablet or Phone narrows the drawn site to that share of the frame, and the drawing answers to its own width through a container query: at phone width the links fold away and the cards stack. The status line says which width is shown, and the layout does not move.
Is the drawing accessible, and is the address bar the window's chrome?
The drawn site is hidden from assistive technology and every fact in it is also text: the address, the branch, the commit, the checks and the caption that gives the width. The address bar belongs to the picture (the browser showing your site), not to the window: the window has no title bar or browser chrome of its own, only its top bar. The picture is left-to-right whatever the page's direction.
Related
- Pro
Load Balancer Routing Success
Domains and networkA confirmation window for a new load balancer: the routing drawn top-down from clients through the balancer to three zones of backend dots, the entry hostname with a copy button, and a zone picker that lists the chosen zone's four backends with their addresses.
- Pro
Build Passed Success
Builds and deploysA confirmation window for a green build: a bar of four stages as wide as their share of the run, a typed terminal log for the chosen stage with a once-only replay, a small artifacts table and a local Deploy this build.
- Pro
Certificate Validity Chain Success
Domains and networkA confirmation panel for an issued TLS certificate: three dates on shared hairlines, a validity bar from issue to expiry with a hatched renewal window and a marker the visitor moves along it, and the certificate chain as nested lists with a copy button for each fingerprint.
- Pro
DNS Propagation Success
Domains and networkA confirmation panel for a saved DNS record: the record as four monospace cells with a copy button for its zone-file line, eight resolvers each Live or Pending with a bar and a count, and a Check again button that moves the next two resolvers to Live until the record has propagated.
- Pro
Cluster Scaled Success
Servers and storageA confirmation window for a scaled cluster: twelve node slots in a framed canvas that a number field redraws, an Autoscale switch that dashes the room to grow, and the vCPU, memory, requests and monthly cost worked out from typed per-node figures.
- Pro
Pull Request Merged Success
Builds and deploysA confirmation panel for a merged pull request: a commit graph drawn in SVG beside the same history as a list, a group of buttons that dims one lane, the twelve checks as one count, the deploy in three timed steps and the merge hash with a copy button.