Skip to content
Sections
Fiesta

layout-column

Shells The page frames an app is built in: a column, a top bar, a sidebar, a console and a stage. Each opens full width.

The plain centred page an app starts on: a skip link, a title, the content column, and a footer row for the language menu and the colour-scheme buttons.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Preview
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="../../js/transition.js"></script>
<title>The column shell: default</title>
<link rel="stylesheet" href="../../css/core.css">
<link rel="stylesheet" href="../../css/extras.css">
<link rel="stylesheet" href="../../css/themes/day.css">
<script defer src="../../js/fiesta.js"></script>
<script defer src="../../js/busy.js"></script>

<script defer src="../../js/light.js"></script>
<script defer src="../../js/anchor.js"></script>

<script defer src="../../js/select.js"></script>
<script defer src="../../js/calendar.js"></script>
<script defer src="../../js/datetime.js"></script>


</head>
<body>
<a rst-skip href="#main">Skip to content</a>
    <main rst-page id="main">
<!-- fiesta:slot -->
<header rst-page-header>
        <div rst-page-header-titles>
          <h1>Posts</h1>
          <p rst-page-header-sub>A representative screen, so the chrome around it has something to frame.</p>
        </div>
        <a rst-btn="primary" href="#">
          <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg>
          Write a post
        </a>
      </header>
      <div rst-box-head>
        <h2>This page</h2>
        <a rst-btn href="/">Back to the design system</a>
      </div>
      <section rst-box>
        <p>This is the column shell, one of the shells Fiesta ships. A screen is a column: a page header, then a section heading and its card, then the next one. Everything you see here is the shell, core.css and two components.</p>
      </section>
      <div rst-box-head>
        <h2>Recent</h2>
      </div>
      <div rst-card style="--rst-cols: 2fr 110px 32px">
        <div rst-lrow="head">
          <span>Post</span>
          <span class="rst-m-hide">Status</span>
          <span></span>
        </div>
        <div rst-lrow>
          <a class="rst-nm" href="#">Release notes, August<small>Published 2 August</small></a>
          <span class="rst-m-hide"><span rst-status rst-tone="positive">Published</span></span>
          <span></span>
        </div>
        <div rst-lrow>
          <a class="rst-nm" href="#">Why we moved off the old runner<small>Draft</small></a>
          <span class="rst-m-hide"><span rst-status rst-tone="neutral">Draft</span></span>
          <span></span>
        </div>
      </div>
      <p rst-count-line>Displaying <strong>1–2</strong> of <strong>412</strong></p>
<!-- /fiesta:slot -->
<footer rst-page-foot>
        <details rst-dropdown rst-locale name="rst-menus">
          <summary>
            Language
            <span rst-caret aria-hidden="true">
              <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
            </span>
          </summary>
          <div rst-dropdown-menu>
            <a href="/en/" lang="en" dir="ltr" aria-current="true">English</a>
            <a href="/ga/" lang="ga" dir="ltr">Gaeilge</a>
            <a href="/zh-Hans/" lang="zh-Hans" dir="ltr">简体中文</a>
            <a href="/es/" lang="es" dir="ltr">Español</a>
            <a href="/hi/" lang="hi" dir="ltr">हिन्दी</a>
            <a href="/pt-PT/" lang="pt-PT" dir="ltr">Português</a>
            <a href="/bn/" lang="bn" dir="ltr">বাংলা</a>
            <a href="/ru/" lang="ru" dir="ltr">Русский</a>
            <a href="/ja/" lang="ja" dir="ltr">日本語</a>
            <a href="/yue/" lang="yue" dir="ltr">廣東話</a>
            <a href="/vi/" lang="vi" dir="ltr">Tiếng Việt</a>
            <a href="/ar/" lang="ar" dir="rtl">العربية</a>
          </div>
        </details>
        <div rst-scheme="icons" role="group" aria-label="Appearance">
          <form method="post" action="/_theme">
            <input type="hidden" name="scheme" value="light">
            <input type="hidden" name="return" value="/">
            <button type="submit" aria-label="Light">
              <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>
            </button>
          </form>
          <form method="post" action="/_theme">
            <input type="hidden" name="scheme" value="dark">
            <input type="hidden" name="return" value="/">
            <button type="submit" aria-label="Dark">
              <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"/></svg>
            </button>
          </form>
          <form method="post" action="/_theme">
            <input type="hidden" name="scheme" value="system">
            <input type="hidden" name="return" value="/">
            <button type="submit" aria-label="System" aria-current="true">
              <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="20" height="14" x="2" y="3" rx="2"/><line x1="8" x2="16" y1="21" y2="21"/><line x1="12" x2="12" y1="17" y2="21"/></svg>
            </button>
          </form>
        </div>
      </footer>
    </main>
  </body>
</html>

In an app this would reach /, /_theme, /ar/, /bn/, /en/, /es/, /ga/, /hi/, /ja/, /pt-PT/, /ru/, /vi/, /yue/, /zh-Hans/. Here its links and forms go nowhere.

Open the column shell (opens in a new tab)