Components · Loading
Screen builder
newA page names its sections; ScreenBuilder places them. Each streamed section brings its content and its skeleton together, and both render in the same position, so the skeleton always takes exactly the place the content will. Rows: full, halves, thirds, main-aside and aside-main (one column on a phone). The builder owns the spacing, the columns and the Suspense boundaries; a page writes no grid classes and no Suspense.
packages/brand-ui/src/components/screen-builder.tsx
Catalogue
Known before any query, so it is static and shows at once.
Top products
| Product | Vendor | Click-outs |
|---|---|---|
Streaming
newStreamed wraps a section in Suspense with its skeleton as the fallback (inside Loading: role status, aria-busy, a label for screen readers). When the data arrives the content fades in from 2 px of blur and 4 px lower to sharp (320 ms); no motion under reduced motion. Each section streams on its own, so one slow query never holds back the page. Pages await nothing but params and searchParams.
packages/brand-ui/src/components/streamed.tsx
Page skeleton
newWhile a layout checks who may see the page (the session, the role, the approval), the page itself has not started: PageSkeleton holds its place. The page header’s title and description, and two cards with the sheen, in the page width. Then the page renders and its sections stream with their own skeletons.
packages/brand-ui/src/components/skeleton.tsx
Loading cards
newNo bones drawing the content. A card in a list is a PlaceholderCard: an empty card under the sheen at the card's height; the list then rises in card by card. One card is a LoadingCard: its real title and a light spinner; the content then fades in. A number whose words are known shows as 0 and counts up (CountUp). A small area gets a Spinner.
loading-card.tsx · spinner.tsx · count-up.tsx (packages/brand-ui)
Recent activity
8 results
€180
Skeleton
newA bone is Silver Phoenix with 5% Anchors Aweigh and stays still: the card’s sheen is the only motion. SkeletonText is one line box tall at its text size, so the text that replaces it takes exactly its room; widths vary (2/5, 1/3) and secondary lines are at 70%. Bones are hidden from screen readers.
packages/brand-ui/src/components/skeleton.tsx
Newsroom tools
Newsroom tools
Newsroom tools
Newsroom tools
Newsroom tools
Newsroom tools
Newsroom tools