shadcn.io is not affiliated with official shadcn/ui
Alternating Mockup Rows Features Block for React
Three alternating bands for a support back office, each pairing a sentence with a browser window that holds a different admin screen: a filtered ticket table, a settings form with toggles and a weekly chart with its legend.
Installation
Overview
A features section for React with Base UI that shows admin screens in browser windows. Three bands share one page column, each a narrow cell of copy (a badge, a heading, a sentence and a text link) beside a wide cell holding a browser window with three dots and a path. The cells swap sides from band to band, so the split divider between them zigzags down the page, with a + mark where it meets each band's rule. The windows draw three different screens in greyscale: a ticket table with filter chips and a count, a settings form with toggles and a field, and a weekly bar chart with a legend and totals. The page's rails and top rule come from the Guides spine. For admin tools, dashboards and any product that is best explained by a few of its screens.
FAQ
How do I change what a window shows?
Each window is a small component (TicketsScreen, SettingsScreen, ChartScreen) inside a shared BrowserWindow. Edit the data lists at the top of the file (TICKETS, RULES, DAYS) to change the rows, the toggles and the bars. The chart's heights and totals are worked out from DAYS, so a new number changes the bar, the legend and the total together.
Are the toggles and buttons in the windows real?
No. The windows are pictures of the product, so they are hidden from assistive technology and hold nothing you can focus: the heading and sentence beside each say what it shows. Keyboard users move from one row's link to the next.
How is the zigzag divider drawn?
Every row is a two-column grid, 2fr 3fr or 3fr 2fr, and the divider is the start border of whichever cell comes second on the page, with a + mark where it meets the row's rule. Flip a row by passing flip, which swaps the columns and moves the border; the copy stays first in the reading order.
Does it follow my theme?
Yes. The windows use theme tokens only: light on a light page, dark on a dark one, in any preset. Selected chips, toggles that are on and the primary bars use the foreground colour, so the page's one primary colour stays free for a real button.
Related
- Pro
Alternating Code Block Rows Features
Alternating rowsThree alternating bands for a typed event-stream client, each pairing a sentence with a code window that draws a different artifact: a call with its autocomplete popover, a config file with one line marked, and a command's output.
- Pro
Alternating Device Frame Rows Features
Alternating rowsTwo alternating rows for a transit app, each pairing a sentence with a phone drawn as a ring on a hairline floor: the trip planner with line chips and the live arrivals with countdowns.
- Pro
Alternating Rows Features
Alternating rowsTwo plain alternating rows for a design-system kit in one box of shared hairlines: a permissions card with three toggles, and a notification card over a stack of avatars.
- Pro
Zigzag Screenshot Rows Features
Alternating rowsFour alternating feature rows for a team workspace, each with a badge, a title, three ticks and a framed drawing: a graph of linked docs, a rule builder, a global search and a live document.
- Pro
Split Browser Frame List Features
Split with mockupA reverse split features section for a web-performance tool: a framed browser window with a devtools network waterfall docked under the page, beside four ruled rows and two buttons.
- Pro
Dashboard Preview Hero
Product windowsA showcase hero with a headline, a Shine Button, an outline button and a trust line above a wide browser window in a hairline frame, a greyscale sketch of an analytics dashboard that runs on below the fold.