Skip to main content
Compendium / Pillars & Roles / Identity Tiles / Pillar Tile · Compact · DO
#361

Pillar Tile · Compact · DO

Compact DO pillar nameplate — single-row identity strip for dense layouts.

STABLE DO
#card #real-content #dark-mode-tested
Live
DO
DOcument · № I
Author
COMPACT

Specification is the only source of truth.

Spec

Intent

A single-row, compact restatement of the DO pillar identity for layouts that have already established context. Trades the full charter chrome for a horizontal strip carrying short, full, role, and ordinal.

Acceptance Criteria

  • [ ] Renders 'DO · Author' in one row at 220px width
  • [ ] Carries the canonical principle in a single line
  • [ ] Includes pillar ordinal № I
  • [ ] Does not introduce runtime state — pure render

Constraints

  • Theme-aware via tokens
  • No hex literals in brand-colour slots
  • ≤ 150 lines body
// pillar-tile-compact-do.astro
---
import type { CompendiumMeta } from '../../../data/types';

export const meta: CompendiumMeta = {
  id: 361,
  slug: 'pillar-tile-compact-do',
  name: 'Pillar Tile · Compact · DO',
  category: 'pillars-roles',
  subcategory: 'identity-tiles',
  pillar: 'do',
  description: 'Compact DO pillar nameplate — single-row identity strip for dense layouts.',
  spec: `## Intent
A single-row, compact restatement of the DO pillar identity for layouts that have already established context. Trades the full charter chrome for a horizontal strip carrying short, full, role, and ordinal.

## Acceptance Criteria
- [ ] Renders 'DO · Author' in one row at 220px width
- [ ] Carries the canonical principle in a single line
- [ ] Includes pillar ordinal № I
- [ ] Does not introduce runtime state — pure render

## Constraints
- Theme-aware via tokens
- No hex literals in brand-colour slots
- ≤ 150 lines body`,
  tags: ['card', 'real-content', 'dark-mode-tested'],
  status: 'stable',
  health: { ics: 80, a11y: 'aa', themed: true, animated: false },
};

const pillar = {
  short: 'DO',
  full: 'DOcument',
  role: 'Author',
  principle: 'Specification is the only source of truth.',
  ordinal: 'I',
};
---

<article data-this-component class="w-full bg-paper text-black border-4 border-black shadow-nb-sm relative overflow-hidden">
  <div class="grid grid-cols-[auto_1fr_auto] items-stretch">
    <div class="bg-do border-e-4 border-black flex items-center justify-center px-3 font-black text-2xl shrink-0">{pillar.short}</div>
    <div class="px-3 py-2 min-w-0">
      <div class="font-mono text-[9px] uppercase tracking-[0.25em] opacity-60 truncate">{pillar.full} · № {pillar.ordinal}</div>
      <div class="font-black uppercase text-base leading-tight truncate">{pillar.role}</div>
    </div>
    <div class="border-s-2 border-black border-dashed px-2 py-2 font-mono text-[8px] uppercase tracking-widest opacity-60 flex items-center shrink-0">COMPACT</div>
  </div>

  <div class="border-t-4 border-black px-3 py-2">
    <p class="text-[11px] leading-snug font-semibold">{pillar.principle}</p>
  </div>
</article>