shadcn.io is an independent project built on shadcn/ui
On this page5 sections
Installation
Overview
A call to action on graph paper for React with Base UI. The page column between the rails is the sheet: fine grid lines in the foreground colour fade out toward the edges, and a staircase of filled cells climbs from the bottom corner on the copy's start side, one cell taller each step, as if a chart were drawn in the margin. Over it sit a centred headline, a line about Harbor SDK, a Shine Button and an outline link. A closing band of three cells under a hairline holds the version with a status dot, the install command in a mono line, and the licence. It's built from Grid Pattern, Guides, Status, Shine Button and Button. For SDKs, libraries and developer tools.
FAQ
How do I change the staircase?
Edit STAIRS at the top of the file: each cell is [column, row] counted from the paper's bottom corner, and the block draws them itself over the grid, on the same pitch. CELL sets the cell, the cells' bg-foreground/9 the fill and color on GridPattern the lines. Both are mixes of the foreground colour, so the paper reads in a light theme and in a dark one.
Why is the grid fading and the staircase still showing?
A two-part mask: one radial gradient fades the grid out toward the edges, a second keeps the corner where the staircase stands visible. On a phone the corner is smaller, so the steps stay clear of the text.
How is the closing band drawn?
Its top rule and the + marks on its ends come from a Guides with rules="top" and no sides, and the cells are split by divide-x from sm up (rows with divide-y on a phone). It closes the block, so the column has no bottom padding, and the next block's top rule is the block's bottom edge.
Does anything move?
Only the content's entrance, a fade up that turns off with reduced motion. The grid is drawn in CSS with its lit cells and pointer light turned off, and the staircase is still.





