{"slug":"bestax-layout-scaffold","title":"bestax-layout-scaffold","summary":"Scaffold a complete, responsive page layout with @allxsmith/bestax-bulma — app shells/dashboards, marketing/landing pages, centered auth/settings pages, and card-grid catalogs. Use when building a full page or overall app layout (not a single component).","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-10-25T17:22:16.815725Z","repo":{"url":"https://github.com/allxsmith/bestax","stars":14,"forks":1,"license":"MIT","updatedAt":"2026-11-14T03:02:17Z"},"bodyHtml":"<hr>\n<h2>name: bestax-layout-scaffold\ndescription: Scaffold a complete, responsive page layout with @allxsmith/bestax-bulma — app shells/dashboards, marketing/landing pages, centered auth/settings pages, and card-grid catalogs. Use when building a full page or overall app layout (not a single component).\nlicense: MIT</h2>\n<h1>Scaffolding a page layout with @allxsmith/bestax-bulma</h1>\n<p>Turn a high-level request (\"admin dashboard\", \"landing page\", \"login screen\", \"product catalog\")\ninto a complete responsive page built from bestax-bulma layout components.</p>\n<h2>Behavioral rule</h2>\n<p>Select an archetype from the request and build it in one shot. Do <strong>not</strong> ask layout questions\n(\"how many columns?\", \"where should the nav go?\", \"what width?\") — infer the structure from the\nrequest and proceed. The archetype determines the structure; fill it with the requested content.</p>\n<p>Ask <strong>at most one</strong> clarifying question, and only for a high-level fork the request genuinely does\nnot imply: whether the page is <strong>public-facing</strong> (marketing) or an <strong>internal tool</strong> (authenticated\napp). When the request already signals this (\"dashboard\", \"admin\", \"landing\", \"login\", \"pricing\"),\nskip the question and default.</p>\n<h2>Select an archetype</h2>\n<table>\n<thead>\n<tr>\n<th>Request signals</th>\n<th>Archetype</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dashboard, admin, console, internal tool, authenticated app, \"sidebar\"</td>\n<td><strong>App shell</strong></td>\n</tr>\n<tr>\n<td>landing, marketing, homepage, product/pricing page, public site</td>\n<td><strong>Landing</strong></td>\n</tr>\n<tr>\n<td>login, sign up, auth, settings, checkout, a single focused form</td>\n<td><strong>Centered</strong></td>\n</tr>\n<tr>\n<td>catalog, gallery, products, listing, \"grid of cards\", search results</td>\n<td><strong>Card grid</strong></td>\n</tr>\n</tbody>\n</table>\n<p>Default when ambiguous: internal tool → App shell; public-facing → Landing; one focused task →\nCentered; a collection of items → Card grid. For mixed requests, pick the dominant intent (e.g.\n\"admin dashboard with a product list\" → App shell whose main column holds a Card grid).</p>\n<h2>Approach</h2>\n<ul>\n<li><p>Compose pages from the shipped layout components — <code>Container</code>, <code>Section</code>, <code>Hero</code>, <code>Footer</code>,\n<code>Level</code>, <code>Columns</code>/<code>Column</code>, <code>Grid</code>/<code>Cell</code>, <code>Navbar</code>, <code>Menu</code>, <code>Card</code>. There is <strong>no <code>Tile</code>\ncomponent</strong>. For <strong>uniform grids</strong> (card grids, galleries — same-shaped items) prefer\n<code>Grid</code>/<code>Cell</code>: CSS Grid gives equal-height cells for free (per row — each row's cells match\nits tallest, same row-level behavior as the flex recipe). Use <code>Columns</code>/<code>Column</code> for\nproportional or per-breakpoint column layouts — and when cards there must be equal height,\napply the flex recipe (<code>Column display=\"flex\" flexDirection=\"column\"</code> + <code>Card flexGrow=\"1\"</code>;\n<code>height: 100%</code> on the card doesn't help — the column's height is auto).</p>\n</li>\n<li><p>Rely on Bulma's responsive defaults: <code>Columns</code> sit side by side on tablet and up and stack on\nmobile. Add responsive <code>size*</code> props only to tune the breakpoints.</p>\n</li>\n<li><p>Interactive extras don't share a state API — never transfer one by analogy:\n<code>Collapse trigger={node} open/defaultOpen onOpenChange</code> (<code>onOpenChange(open)</code> reports every\ntrigger; <code>onOpen/onClose</code> fire only when the Collapse holds its own state), an accordion is\n<code>Collapses value/defaultValue/onChange</code> around plain <code>Collapse</code> children indexed from 0 by\nposition (<code>number | null</code>, or <code>number[]</code> with <code>multiple</code>; hide an item with\n<code>visibility=\"hidden\"</code>, never <code>{cond &amp;&amp; …}</code>, or the open state shifts to its neighbour) rather\nthan hand-rolled open-index state,\n<code>Tabs value={i}/onChange</code>\n(each <code>Tabs.Tab</code>/<code>Tabs.Content.Item</code> requires <code>index={i}</code>, and <code>Tabs.Content</code> must be a\n<strong>child of <code>&lt;Tabs&gt;</code></strong> — the active-tab context lives on it; a sibling panel never\nswitches. The arrow keys, Home/End, Enter/Space, the single tab stop and the\n<code>aria-controls</code>/<code>aria-labelledby</code> links come built in, so add no <code>onKeyDown</code> or ARIA\nof your own; <code>onChange</code> fires when a tab is activated, never on\narrow-key focus), <code>Dropdown active/onActiveChange</code>,\n<code>ToggleButton pressed/defaultPressed onPressedChange</code> for a button that stays on or off (not\n<code>Button isActive</code>, which sets no <code>aria-pressed</code>; the label stays the same in both states; a\nset goes in <code>Buttons hasAddons role=\"group\"</code> with an <code>aria-label</code>, where it's also\n<code>Buttons.ToggleButton</code>, and a row where only one can be on is <code>SegmentedControl</code>),\n<code>SegmentedControl aria-label=\"…\" value/defaultValue onChange</code> for a row of buttons where\nonly one can be on, such as a list or grid view (one <code>SegmentedControl.Segment value=\"…\"</code> per\noption; a radio group with the single tab stop and the arrow keys built in, so add no\n<code>onKeyDown</code> of your own; an icon-only segment needs its own <code>aria-label</code>; the arrows check as\nthey move, so <code>onChange(value)</code> fires on each, and it can't be cleared; it carries no form\nvalue, so a choice a form submits is <code>Radios</code>),\n<code>Popover trigger={&lt;Button&gt;…&lt;/Button&gt;} open/defaultOpen onOpenChange</code> (<code>trigger</code> is one\nelement, not a node: Popover clones it to add the click and ARIA, so never wrap it in a\nclickable of your own; build the panel from <code>Popover.Header</code>/<code>Body</code>/<code>Footer</code>/<code>Close</code>, and a\npanel without a <code>Popover.Header</code> needs <code>ariaLabel</code>),\n<code>HoverCard trigger={&lt;Link href=\"…\"&gt;…&lt;/Link&gt;}</code> for a preview on hover or keyboard focus\n(<code>trigger</code> is one link or button, cloned the same way; the card's content goes straight in as\nchildren with no sub-components; a trigger inside a <code>Paragraph</code> needs <code>appendToBody</code>; hover\nand focus only unless <code>openOnTap</code> is set, which suits only a trigger with no tap action of its\nown, such as a <code>Button</code> with no <code>onClick</code>; on touch a link trigger just follows the link, so\nwhat the card shows must be on that page too, and a form is a <code>Popover</code>),\n<code>ContextMenu aria-label=\"…\" trigger={&lt;Table.Tr&gt;…&lt;/Table.Tr&gt;}</code> for actions on a right-click\nor a long press (<code>trigger</code> is one element, a row or a card, cloned rather than wrapped; the\nitems are <code>ContextMenu.Item</code>/<code>ContextMenu.Divider</code>, which are <code>Dropdown</code>'s; no <code>open</code> prop,\n<code>onOpenChange</code> reports it; always put the same items in a visible <code>Dropdown</code> on the row too,\nsince a context menu is only a shortcut),\n<code>Steps value={i}/onStepClick items={[{label, icon?}]}</code> (child form is <code>Steps.Step</code>, not\n<code>Steps.Item</code>). <code>Reveal cascade</code> staggers only its <strong>direct children</strong> — to stagger a grid,\nput <code>&lt;Reveal delay={i * 80}&gt;</code> inside each <code>Cell</code>, not around the container.</p>\n</li>\n<li><p><strong>An empty list, table or search with no results is <code>EmptyState</code></strong>, not a hand-built <code>Box</code>\nof <code>Icon</code>, <code>Title</code> and <code>Buttons isCentered</code>:\n<code>&lt;EmptyState icon=\"folder-open\" title=\"No projects yet\" titleAs=\"h3\" description=\"…\"&gt;</code> with\nits one <code>&lt;Button&gt;</code> as a child (two or more go in <code>EmptyState.Actions</code>). Its <code>title</code> is always a\nheading, so set <code>titleAs</code> to the level under the list's own heading. It has no live region:\nafter a search or a filter, keep a <code>Paragraph</code> with <code>role=\"status\"</code>, <code>aria-atomic=\"true\"</code> and\n<code>visibility=\"sr-only\"</code> beside the search field the whole time, saying the count, and have\n\"Clear search\" put focus back in the field. While data loads show a <code>Skeleton</code> or a <code>Loader</code>,\nand a failed load is a <code>Message</code> or a <code>Notification</code>, never an EmptyState. The archetypes\nreference has the full pattern under Card grid.</p>\n</li>\n<li><p><strong>An order's history, a ticket's activity, a changelog or an activity feed is <code>Timeline</code></strong>,\nnot a hand-built list with a border down the side: <code>&lt;Timeline titleAs=\"h3\"&gt;</code> with a\n<code>&lt;Timeline.Item title=\"Shipped\" time=\"14 October 2026\" dateTime=\"2026-10-14\"&gt;</code> per event, any\ndetail as its children, and the whole date in <code>time</code>. <code>titleAs</code> is the level under the\nsection's heading, or <code>\"p\"</code> in a busy feed. For something that moves along on its own, like a\nparcel or a deployment, <code>active={i}</code> marks progress and <code>pending=\"Out for delivery\"</code> ends it on\nwhat's under way, oldest first. A journey the user moves through, like a wizard or a checkout,\nstays <code>Steps</code>.</p>\n</li>\n<li><p><strong>A file browser, a checkbox tree (permissions, filters) or an outline you browse is\n<code>TreeView</code></strong>, with <code>&lt;TreeView.Item value=\"…\" label=\"…\" icon=\"folder\"&gt;</code> items nested inside each\nother: <code>&lt;TreeView aria-label=\"Files\" selectionMode=\"single\"&gt;</code> with <code>selected</code>/<code>onSelectedChange</code>\npicks one, and <code>selectionMode=\"checkbox\"</code> with <code>checked</code>/<code>onCheckedChange</code> draws boxes with\nmixed parents, where a parent's value checks its whole branch. Map the data with a recursive\nfunction, and render an item's children whether it's open or not. A folder that loads when it\nopens takes <code>hasChildren</code>, <code>isLoading</code> while its children are on their way, and\n<code>loadError=\"Couldn't load src\"</code> with <code>onRetry</code> when the load fails, setting <code>isLoading</code> again\nwhile the retry runs: the tree draws the Loading… and Retry rows and announces them, so don't\nhand-write a placeholder item. Its items aren't\nlinks, so the app's sidebar and any list of pages stay on <code>Menu</code> with <code>Menu.Item href</code>.</p>\n</li>\n<li><p><strong>A sidebar whose groups of links open and close is <code>Menu.Section</code></strong>, one per group, directly\nin <code>Menu</code> (never inside a <code>Menu.Item</code> or <code>Menu.List</code>):\n<code>&lt;Menu.Section label=\"Components\" defaultOpen&gt;</code> around that group's <code>Menu.List</code>, with\n<code>defaultOpen</code> on the group holding the current page (or <code>open</code>/<code>onOpenChange</code> to hold the state).\nIts heading is a real button with <code>aria-expanded</code>, and its links stay links, each a tab stop.\nNot <code>TreeView</code>, and not a <code>Collapse</code> inside a hand-written <code>&lt;li&gt;</code>.</p>\n</li>\n<li><p>Link lists (footer nav, sidebars): a bare <code>UnorderedList</code> of <code>ListItem</code>s is already\nmarker-less and flush — Bulma's reset unstyles <code>ul</code> — so no prop or CSS is needed;\nbullets appear only inside <code>Content</code>.</p>\n</li>\n<li><p><code>Navbar.Burger</code>/<code>Navbar.Menu</code> are <strong>controlled</strong> — wire the same <code>active</code> state to both:\n<code>active</code> on <code>Navbar.Menu</code> shows/hides the mobile menu, while <code>active</code> + <code>onClick</code> on\n<code>Navbar.Burger</code> make the burger toggle it and animate. Left unwired, clicking the burger\ndoes nothing (no error, silent failure). For a <code>fixed=\"top\"</code> <code>Navbar</code>, add the\n<code>has-navbar-fixed-top</code> class to <code>&lt;html&gt;</code> so content is not hidden behind it — the library\ndoes not do this automatically, and an inline padding offset is not a substitute.</p>\n</li>\n<li><p><strong>Style with helper props — no inline <code>style</code>, no raw Bulma <code>className</code>s.</strong> Before writing\n<code>style={{ … }}</code> anywhere, translate each declaration with the mapping table below — the helper\nprops cover the common cases. Bare markup has wrapper elements that take all\nhelper props: <code>&lt;Span textSize=\"7\" textColor=\"grey\"&gt;</code>, <code>Paragraph</code>, <code>Strong</code> — never a raw\n<code>&lt;span className=\"is-size-7 has-text-grey\"&gt;</code>. Table cells: <code>Th</code>/<code>Td</code> take <code>textAlign=\"right\"</code>,\n<code>textWeight</code>, <code>textSize</code> directly (their <code>color</code> prop colors the cell; for muted cell text\nwrap content in <code>Span textColor=\"grey\"</code>). Set the app-wide icon library once with\n<code>&lt;ConfigProvider iconLibrary=\"…\"&gt;</code> at the root rather than <code>library</code> on every <code>&lt;Icon&gt;</code>.</p>\n</li>\n<li><p><strong>Alternating section bands are a prop, not CSS: <code>bgColor=\"scheme-main-bis\"</code> on every\nother <code>Section</code> (next band <code>scheme-main-ter</code>).</strong> The scheme values render as a\ndark-mode-safe inline <code>background-color: var(--bulma-scheme-*)</code> — zero custom CSS — and\nstill never <code>bgColor=\"light\"</code>/<code>\"white\"</code>: those are fixed colors that stay light when dark\nmode flips the text.</p>\n</li>\n<li><p><strong>Decorative CSS is budgeted: two compact rules, ≤10 lines per app — comments count:\nat most one short inline note, never a file-header comment block — every value derived\nfrom <code>--bulma-*</code>.</strong> A marketing page gets at most one hero wash and one featured-card\nring, applied via <code>className</code> — no resets (Bulma ships one;\nbody/list margins are already zero) and no grid textures, masks, or multi-layer backdrops;\nthe components carry the design:</p>\n<pre><code>.hero-wash {\n  background-image: radial-gradient(\n    60rem 30rem at 20% -10%,\n    hsl(var(--bulma-primary-h) var(--bulma-primary-s) 50% / 0.2),\n    transparent 60%\n  );\n}\n.featured-ring {\n  --bulma-shadow: 0 0 0 2px var(--bulma-primary);\n}\n</code></pre>\n<p>The ring works by overriding the <strong>upstream token</strong>, not the component's own var: <code>.card</code>\nand <code>.box</code> re-declare <code>--bulma-card-shadow</code>/<code>--bulma-box-shadow</code> from <code>--bulma-shadow</code> on\ntheir own selector, so setting <em>those</em> from an ancestor never wins (same for\n<code>--bulma-box-radius</code>; <code>--bulma-card-radius</code> is a literal with no ancestor route at all).\nA class-scoped CSS rule keeps the ring on just the one featured card without wrapping it in\nits own <code>Theme</code>; <code>&lt;Theme bulmaVars={{ '--bulma-shadow': … }}&gt;</code> also compiles and is the\nbetter fit when the override already applies to a whole scoped subtree. Either way the\nsubtree stays theme- and dark-mode-aware.</p>\n</li>\n<li><p><strong>CTAs on a colored hero must stay legible in both schemes.</strong> On a fixed-color surface\n(<code>Hero color=\"primary\"</code>, a dark banner), use <strong>filled</strong> buttons — <code>color=\"light\"</code> or\n<code>color=\"primary\" isInverted</code> — never a thin <code>isOutlined</code> secondary: a light outline + light\nlabel on a dark surface is low-contrast and gets worse under OS dark mode. And when the page's\ndesign is single-mode (a fixed light or dark look), pin it on the <code>&lt;html&gt;</code> in <code>index.html</code>,\n<code>&lt;html lang=\"en\" data-theme=\"light\"&gt;</code>, so a visitor's OS dark mode can't flip Bulma's text\ncolors out from under the fixed palette, from the first paint on (details: the\n<code>bestax-theming</code> skill's contrast rules).</p>\n</li>\n</ul>\n<h2>Three components core Bulma will talk you out of</h2>\n<p>Most of this library's additions get found on their own, because nothing in Bulma does the\njob. These three do not: each has a Bulma near-miss close enough to stop the search. Across\n44 cold-start builds, <code>Dialog</code> was used <strong>zero</strong> times and <code>LinkButton</code> in two thirds — and\nevery miss shipped the \"not this\" column instead.</p>\n<table>\n<thead>\n<tr>\n<th>You need</th>\n<th>Use</th>\n<th>Not this</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>A brief confirmation after an action, self-dismissing</td>\n<td><code>Toast</code> — mount <code>&lt;ToastContainer position=\"top-right\" /&gt;</code> once at the app root, then <code>toast.success('Saved')</code> (also <code>.danger</code>/<code>.warning</code>/<code>.info</code>) from anywhere</td>\n<td><code>Notification</code>/<code>Message</code></td>\n</tr>\n<tr>\n<td>A confirm or alert the user must answer before anything</td>\n<td><code>Dialog</code> — mount <code>&lt;DialogContainer /&gt;</code> at the root, then <code>if (await dialog.confirm({ title, message })) …</code></td>\n<td><code>Modal</code> — an empty shell; the title, message, button row and confirm/cancel wiring are all yours to rebuild</td>\n</tr>\n<tr>\n<td>A control that reads as text or a link but <em>does</em> something</td>\n<td><code>LinkButton</code> (<code>variant=\"text\" \\| \"ghost\" \\| \"underline\"</code>, optional <code>color</code>)</td>\n<td><code>&lt;a href=\"#\"&gt;</code>/<code>&lt;div onClick&gt;</code> (no keyboard or screen-reader support) or <code>Button color=\"text\"</code> (still button-shaped)</td>\n</tr>\n</tbody>\n</table>\n<p>Mounting a container without ever calling <code>toast.*</code>/<code>dialog.*</code> is not usage — the container is\nthe mount point, the imperative call is the thing that shows something. Both also work as\nordinary controlled components when you would rather hold the state yourself —\n<code>&lt;Toast message … duration onClose&gt;</code>, <code>&lt;Dialog isOpen title message type onConfirm onCancel&gt;</code> —\nbut in an app with more than one call site the root container plus the imperative helper is\nless wiring, not more.</p>\n<h2>Inline style → helper prop mapping</h2>\n<p>Look up the declaration you were about to inline. The spacing, typography, and flex helpers\nbelow are on every component; <code>textColor</code>/<code>bgColor</code> are on the content components you'll\ntarget (<code>Box</code>, <code>Block</code>, <code>Title</code>, <code>Content</code>, <code>Hero</code>, <code>Card</code>, …) — the ones with a semantic\n<code>color</code> variant (<code>Tag</code>, <code>Tabs</code>, <code>Panel</code>) take <code>color</code> instead; wrap content in a <code>Block</code> if\nyou need a text color there. <code>Notification</code> is the mixed case: it takes <code>textColor</code>, but its\nbackground comes from the semantic <code>color</code> prop, not <code>bgColor</code>.</p>\n<table>\n<thead>\n<tr>\n<th>Inline style you're about to write</th>\n<th>Helper props instead</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>marginTop: '1rem'</code> (any margin/padding)</td>\n<td><code>mt=\"4\"</code> — <code>m</code>/<code>mt</code>/<code>mx</code>/<code>p</code>/<code>py</code>/… scale: <code>1</code>=0.25rem, <code>2</code>=0.5rem, <code>3</code>=0.75rem, <code>4</code>=1rem, <code>5</code>=1.5rem, <code>6</code>=3rem (nearest step)</td>\n</tr>\n<tr>\n<td><code>textAlign: 'center'</code></td>\n<td><code>textAlign=\"centered\"</code> (also <code>left</code>, <code>right</code>, <code>justified</code>)</td>\n</tr>\n<tr>\n<td><code>color: '#…'</code></td>\n<td><code>textColor</code> with the nearest Bulma color: <code>primary</code>, <code>link</code>, <code>info</code>, <code>success</code>, <code>warning</code>, <code>danger</code>, <code>white</code>, <code>black</code>, <code>grey</code> (+ <code>grey-light</code>, <code>grey-dark</code>, …)</td>\n</tr>\n<tr>\n<td><code>backgroundColor: '#…'</code></td>\n<td><code>bgColor</code> (same palette)</td>\n</tr>\n<tr>\n<td><code>fontSize: …</code></td>\n<td><code>textSize=\"1\"</code>…<code>\"7\"</code> (<code>1</code> largest). On <code>Title</code>/<code>SubTitle</code>, <code>as</code> sets the level and <code>size</code> picks it too, so an <code>&lt;h3&gt;</code> at size 4 is <code>as=\"h3\" textSize=\"4\"</code></td>\n</tr>\n<tr>\n<td><code>fontWeight: …</code></td>\n<td><code>textWeight</code>: <code>light</code>, <code>normal</code>, <code>medium</code>, <code>semibold</code>, <code>bold</code></td>\n</tr>\n<tr>\n<td><code>textTransform</code>, italics</td>\n<td><code>textTransform</code>: <code>uppercase</code>, <code>lowercase</code>, <code>capitalized</code>, <code>italic</code></td>\n</tr>\n<tr>\n<td><code>display: 'flex'</code> + flex properties</td>\n<td>same-named props: <code>display=\"flex\"</code>, <code>flexDirection</code>, <code>justifyContent</code>, <code>alignItems</code>, <code>flexWrap</code></td>\n</tr>\n<tr>\n<td><code>height: '100%'</code> on a flex child</td>\n<td><code>flexGrow=\"1\"</code></td>\n</tr>\n<tr>\n<td><code>display: 'none'</code></td>\n<td><code>visibility=\"hidden\"</code>, or responsive <code>display*</code> props (<code>displayMobile</code>, <code>displayTablet</code>, …)</td>\n</tr>\n<tr>\n<td><code>gap: '1rem'</code> (flex or grid)</td>\n<td><code>gap=\"2\"</code>, or one axis: <code>columnGap</code>, <code>rowGap</code>; gap scale: <code>1</code>=0.5rem, <code>2</code>=1rem, <code>4</code>=2rem, half steps (<code>\"1.5\"</code>)</td>\n</tr>\n</tbody>\n</table>\n<p>No helper matches (e.g. <code>maxWidth</code>, a one-off gradient)? Add a named class to the project's\nglobal stylesheet and pass it via <code>className</code> — still never inline <code>style</code>. In a create-bestax\napp that is <code>src/index.css</code>, which its entry file imports after bestax's stylesheet, so the\nclass wins over a Bulma rule of the same weight. The starter page's <code>src/App.css</code> loads after\nbestax's too, but only while the starter's <code>App</code> imports it.</p>\n<h2>References</h2>\n<ul>\n<li><code>references/layout-components.md</code> — the layout component inventory: real prop names, types, and\naccepted values, plus subcomponent nesting.</li>\n<li><code>references/archetypes.md</code> — the four archetypes: selection criteria, JSX skeleton, and responsive\nbehavior.</li>\n</ul>\n<h2>Examples</h2>\n<ul>\n<li><code>examples/app-shell.tsx</code> — fixed <code>Navbar</code> + sidebar <code>Menu</code> + content (dashboard).</li>\n<li><code>examples/landing.tsx</code> — fixed <code>Navbar</code> (controlled burger) + <code>Hero</code> + <code>Section</code>s + <code>Footer</code>.</li>\n<li><code>examples/centered.tsx</code> — centered single column (auth/settings).</li>\n<li><code>examples/card-grid.tsx</code> — multiline <code>Columns</code> of <code>Card</code>s (catalog).</li>\n<li><code>examples/content-page.tsx</code> — hero + feature cards + CTA styled with helper props (no inline\n<code>style</code>), wrapped in <code>ConfigProvider</code>.</li>\n</ul>\n<h2>Checklist</h2>\n<ul>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Map the request to one archetype; do not ask layout questions.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Wrap page content in <code>Container</code> (+ <code>Section</code> for vertical rhythm).</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Use <code>Grid</code>/<code>Cell</code> for uniform grids (equal heights per row, free); <code>Columns</code>/<code>Column</code>\nfor proportional or per-breakpoint side-by-side layout — with the flex recipe when its\ncards must match height.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Wire <code>active</code> state to <strong>both</strong> <code>Navbar.Burger</code> and <code>Navbar.Menu</code> (they are controlled).</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> For a fixed navbar, add <code>has-navbar-fixed-top</code> to <code>&lt;html&gt;</code>.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Do not use <code>Tile</code> — it is not shipped.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Action feedback goes through <code>Toast</code>, a confirmation through <code>Dialog</code>, a text-styled\naction through <code>LinkButton</code> — not <code>Notification</code>, <code>Modal</code> or a bare <code>&lt;a&gt;</code>.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> An empty list or a search with no results renders <code>EmptyState</code>, and a search or a filter\nkeeps a <code>role=\"status\"</code> region beside its field that says the count.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Style with helper props, not inline <code>style</code> — translate via the mapping table; values\nwith no helper get a named class in the stylesheet, never <code>style={{}}</code>. No raw Bulma\n<code>className</code>s either (<code>Span</code>/<code>Paragraph</code> wrap bare text; <code>Th</code>/<code>Td</code> take <code>textAlign</code>/<code>textWeight</code>).</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Alternating bands are <code>bgColor=\"scheme-main-bis\"</code> (next band <code>scheme-main-ter</code>) on\nevery other <code>Section</code> — never band CSS, never <code>bgColor=\"light\"</code>/<code>\"white\"</code>.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Decorative CSS ≤10 lines total incl. comments — no file-header comment (hero wash +\nfeatured-card ring), <code>--bulma-*</code>-derived; no resets — Bulma ships one.\nThe ring sets <code>--bulma-shadow</code> (via a scoped CSS rule or <code>Theme bulmaVars</code>).</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Set the icon library once via <code>&lt;ConfigProvider iconLibrary=\"…\"&gt;</code> at the root.</li>\n<li><input disabled=\"disabled\" type=\"checkbox\"> Site built? ~800 KB raw / ~82 KB gzip CSS is the expected default-flavor size — to shrink\nit, run the <code>bestax-optimize</code> skill (measure first).</li>\n</ul>\n","files":[{"path":"examples/app-shell.tsx","sizeBytes":2412,"isText":false},{"path":"examples/card-grid.tsx","sizeBytes":2673,"isText":false},{"path":"examples/centered.tsx","sizeBytes":1416,"isText":false},{"path":"examples/content-page.tsx","sizeBytes":2694,"isText":false},{"path":"examples/landing.tsx","sizeBytes":3903,"isText":false},{"path":"references/archetypes.md","sizeBytes":10090,"isText":true},{"path":"references/layout-components.md","sizeBytes":26905,"isText":true},{"path":"SKILL.md","sizeBytes":31957,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-15T00:39:51.063824Z","sha256":"46CA177993355358221AA7E07EBE75D383461E975CF84A62930A93FAFC7242EE","sizeBytes":30274},"review":null,"source":{"repositoryUrl":"https://github.com/allxsmith/bestax","path":"skills/bestax-layout-scaffold","license":"MIT","commit":"8fda6de10d2f4e50d4a8a4ab1cedc33bec5a363e","subtreeSha":"B77662BF3182F8145D0FDE76A566D3473031CBA65224550218F2045FC1EAE832","lastSyncedAt":"2026-11-15T00:39:22.037871Z"},"reviewedAt":"2026-11-15T00:45:55.343292Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/allxsmith/bestax/tree/main/skills/bestax-layout-scaffold"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install allxsmith-bestax@llmmart"},{"target":"git","command":"git clone https://github.com/allxsmith/bestax.git"}]}