Veil UI
Components

Blog Post Page

An article page with metadata, prose, code and related posts.

Installation

$ npx veil-ui@latest add blog-post-page

Usage

import { BlogPostPage } from "@/components/ui/blog-post-page";

<BlogPostPage />;

Examples

Basic

VVeil UI
Design

Designing calm interfaces for busy teams

Why reducing visual noise helps people focus, and the small defaults that make it happen.

MC

Mira Chen

Oct 22, 2026 6 min read

A calm mountain landscape at sunrise

Calm software does not mean empty software. It means every element earns its place. When a dashboard is noisy, people scan instead of read, and important signals get buried under decoration.

The fix is rarely a redesign. It is a set of defaults: fewer borders, a consistent spacing rhythm, one accent color doing real work, and typography that establishes hierarchy before color does.

Start with the tokens

Most visual noise comes from inconsistent values. Once spacing and color live in tokens, components stop inventing their own scales and the interface starts to feel intentional.

tokens.ts
const tokens = {
  color: {
    primary: "oklch(0.62 0.19 264)",
    surface: "oklch(0.98 0.005 264)",
  },
  radius: {
    sm: "0.375rem",
    md: "0.5rem",
    lg: "0.75rem",
  },
};
Calm is a technical decision, not a mood. It comes from constraints applied consistently.
Mira Chen, Product lead

Remove before you add

Audit one screen and list every border, shadow and divider. In our experience half of them can go without losing meaning. What remains becomes a stronger signal.

  • Use spacing to group content before reaching for a card.
  • Reserve color for state and action, not decoration.
  • Keep type scales small; three sizes are often enough.

None of this requires a new library. It requires defaults that make the calm choice the easy one — which is exactly what a good component registry is for.

design systemsaccessibilityproduct
MC

Mira Chen

Product lead at Acme. Writes about design systems and calm tools for busy teams.

Keep reading

Owen Park

Veil UI

Accessible primitives and page sections for product teams.

© 2026 Veil UI. All rights reserved.

API reference

The package exports blog-post-page along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Page templates use semantic landmarks and a single page-level heading.
  • Navigation links and actions have discernible names and visible focus styles.
  • Decorative imagery uses empty alt text; content images carry descriptions.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add blog-post-page --framework vue or switch the framework in components.json.

<template>
<link rel="preload" as="image" href="https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&amp;fit=crop&amp;w=1200&amp;q=70"/><div data-slot="blog-post-page" class="w-full overflow-hidden rounded-xl border bg-background min-h-[600px]"><header data-slot="navbar" class="mx-auto flex h-14 w-full max-w-7xl items-center gap-4 bg-background/95 px-4 backdrop-blur sm:px-6 border-b"><div data-slot="logo" class="inline-flex items-center gap-1.5"><span data-slot="logo-mark" class="flex shrink-0 items-center justify-center overflow-hidden rounded-md size-6"><span class="grid size-full place-items-center bg-primary text-[10px] font-bold text-primary-foreground">V</span></span><span data-slot="logo-name" class="font-semibold tracking-tight text-sm">Veil UI</span></div><button data-slot="button" data-variant="link" data-size="default" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 text-primary underline-offset-4 hover:underline h-9 px-4 py-2 ml-auto">Back to journal</button></header><article class="mx-auto w-full max-w-3xl px-6 py-10"><nav data-slot="breadcrumb" aria-label="breadcrumb" class="w-full"><ol data-slot="breadcrumb-list" class="flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2"><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><a data-slot="breadcrumb-link" class="rounded-sm outline-none transition-colors hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50" href="#">Journal</a></li><li data-slot="breadcrumb-separator" role="presentation" aria-hidden="true" class="[&amp;&gt;svg]:size-3.5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></li><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><a data-slot="breadcrumb-link" class="rounded-sm outline-none transition-colors hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50" href="#">Design</a></li><li data-slot="breadcrumb-separator" role="presentation" aria-hidden="true" class="[&amp;&gt;svg]:size-3.5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg></li><li data-slot="breadcrumb-item" class="inline-flex items-center gap-1.5"><span data-slot="breadcrumb-page" role="link" aria-disabled="true" aria-current="page" class="font-normal text-foreground">Designing calm interfaces</span></li></ol></nav><header class="mt-6"><span data-slot="badge" data-variant="secondary" class="inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded-md border px-2 py-0.5 text-xs font-medium transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [&amp;&gt;svg]:pointer-events-none [&amp;&gt;svg]:size-3 border-transparent bg-secondary text-secondary-foreground">Design</span><h1 class="mt-3 text-3xl font-semibold tracking-tight sm:text-4xl">Designing calm interfaces for busy teams</h1><p class="mt-3 text-lg text-muted-foreground">Why reducing visual noise helps people focus, and the small defaults that make it happen.</p><div class="mt-6 flex flex-wrap items-center justify-between gap-4 border-y py-4"><div class="flex items-center gap-3"><span data-slot="avatar" data-size="default" class="relative flex shrink-0 overflow-hidden rounded-full bg-muted size-8 text-xs"><span data-slot="avatar-fallback" class="flex size-full items-center justify-center rounded-full bg-muted font-medium text-muted-foreground">MC</span></span><div class="text-sm"><p class="font-medium">Mira Chen</p><p class="flex items-center gap-3 text-xs text-muted-foreground"><span class="inline-flex items-center gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar-days size-3.5" aria-hidden="true"><path d="M8 2v3"></path><path d="M16 2v3"></path><rect x="3" y="3" width="18" height="18" rx="2"></rect><path d="M3 9h18"></path><path d="M8 13h.01"></path><path d="M12 13h.01"></path><path d="M16 13h.01"></path><path d="M8 17h.01"></path><path d="M12 17h.01"></path><path d="M16 17h.01"></path></svg> Oct 22, 2026</span><span class="inline-flex items-center gap-1"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock-3 size-3.5" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="M12 6v6h4"></path></svg> 6 min read</span></p></div></div><div class="flex items-center gap-1"><button data-slot="button" data-variant="ghost" data-size="icon" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground size-9" aria-label="Copy link"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></button><button data-slot="button" data-variant="ghost" data-size="icon" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground size-9" aria-label="Share"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-share-2" aria-hidden="true"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" x2="15.42" y1="13.51" y2="17.49"></line><line x1="15.41" x2="8.59" y1="6.51" y2="10.49"></line></svg></button><button data-slot="button" data-variant="ghost" data-size="icon" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground size-9" aria-label="Bookmark"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-bookmark" aria-hidden="true"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"></path></svg></button></div></div></header><img src="https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&amp;fit=crop&amp;w=1200&amp;q=70" alt="A calm mountain landscape at sunrise" class="mt-8 aspect-[2/1] w-full rounded-xl object-cover"/><div class="mt-8 space-y-5 text-base leading-relaxed"><p>Calm software does not mean empty software. It means every element earns its place. When a dashboard is noisy, people scan instead of read, and important signals get buried under decoration.</p><p>The fix is rarely a redesign. It is a set of defaults: fewer borders, a consistent spacing rhythm, one accent color doing real work, and typography that establishes hierarchy before color does.</p><h2 class="pt-2 text-xl font-semibold tracking-tight">Start with the tokens</h2><p>Most visual noise comes from inconsistent values. Once spacing and color live in tokens, components stop inventing their own scales and the interface starts to feel intentional.</p><figure data-slot="code-block" class="overflow-hidden rounded-lg border bg-muted/40"><figcaption class="flex items-center justify-between gap-3 border-b px-3 py-1.5"><span class="truncate font-mono text-xs text-muted-foreground">tokens.ts</span><button type="button" aria-label="Copy code" class="rounded-sm p-1 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-copy size-3.5" aria-hidden="true"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"></rect><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"></path></svg></button></figcaption><pre class="overflow-x-auto p-4 text-sm leading-relaxed"><code class="font-mono">const tokens = {
  color: {
    primary: &quot;oklch(0.62 0.19 264)&quot;,
    surface: &quot;oklch(0.98 0.005 264)&quot;,
  },
  radius: {
    sm: &quot;0.375rem&quot;,
    md: &quot;0.5rem&quot;,
    lg: &quot;0.75rem&quot;,
  },
};</code></pre></figure><blockquote data-slot="blockquote" cite="Mira Chen, Product lead" class="border-l-2 pl-4 text-sm italic text-muted-foreground">Calm is a technical decision, not a mood. It comes from constraints applied consistently.<footer class="mt-2 text-xs not-italic"><span aria-hidden="true">— </span><cite>Mira Chen, Product lead</cite></footer></blockquote><h2 class="pt-2 text-xl font-semibold tracking-tight">Remove before you add</h2><p>Audit one screen and list every border, shadow and divider. In our experience half of them can go without losing meaning. What remains becomes a stronger signal.</p><ul class="list-disc space-y-1 pl-5 text-muted-foreground"><li>Use spacing to group content before reaching for a card.</li><li>Reserve color for state and action, not decoration.</li><li>Keep type scales small; three sizes are often enough.</li></ul><p>None of this requires a new library. It requires defaults that make the calm choice the easy one — which is exactly what a good component registry is for.</p></div><div class="mt-8 flex flex-wrap items-center gap-2 border-t pt-6"><span data-slot="badge" data-variant="outline" class="inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded-md border px-2 py-0.5 text-xs font-medium transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [&amp;&gt;svg]:pointer-events-none [&amp;&gt;svg]:size-3 text-foreground">design systems</span><span data-slot="badge" data-variant="outline" class="inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded-md border px-2 py-0.5 text-xs font-medium transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [&amp;&gt;svg]:pointer-events-none [&amp;&gt;svg]:size-3 text-foreground">accessibility</span><span data-slot="badge" data-variant="outline" class="inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden whitespace-nowrap rounded-md border px-2 py-0.5 text-xs font-medium transition-colors focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [&amp;&gt;svg]:pointer-events-none [&amp;&gt;svg]:size-3 text-foreground">product</span><button data-slot="button" data-variant="ghost" data-size="sm" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 hover:bg-accent hover:text-accent-foreground h-8 rounded-md px-3 text-xs ml-auto"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle" aria-hidden="true"><path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"></path></svg> 12 comments</button></div><div class="mt-8 flex items-center gap-4 rounded-xl border bg-muted/30 p-5"><span data-slot="avatar" data-size="lg" class="relative flex shrink-0 overflow-hidden rounded-full bg-muted size-10 text-sm"><span data-slot="avatar-fallback" class="flex size-full items-center justify-center rounded-full bg-muted font-medium text-muted-foreground">MC</span></span><div class="min-w-0 flex-1"><p class="font-medium">Mira Chen</p><p class="text-sm text-muted-foreground">Product lead at Acme. Writes about design systems and calm tools for busy teams.</p></div><button data-slot="button" data-variant="outline" data-size="sm" class="inline-flex shrink-0 items-center justify-center gap-2 whitespace-nowrap font-medium outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&amp;_svg]:pointer-events-none [&amp;_svg]:shrink-0 [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-8 rounded-md px-3 text-xs">Follow</button></div></article><section class="mx-auto w-full max-w-5xl px-6 pb-12"><h2 class="text-xl font-semibold tracking-tight">Keep reading</h2><div class="mt-5 grid gap-6 sm:grid-cols-2"><div data-slot="article-card" class="flex flex-col gap-4 rounded-lg border bg-card text-card-foreground shadow-xs overflow-hidden py-0 max-w-none"><img src="https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&amp;fit=crop&amp;w=800&amp;q=60" alt="" loading="lazy" class="aspect-[2/1] w-full object-cover"/><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto] pt-5"><span class="text-xs font-medium uppercase tracking-wide text-primary">Engineering</span><div data-slot="card-title" class="font-medium text-lg leading-snug"><a class="outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring" href="#">A registry approach to shared components</a></div></div><div class="flex flex-wrap items-center gap-x-2 gap-y-1 border-t px-5 py-3 text-xs text-muted-foreground"><span class="font-medium text-foreground">Owen Park</span><span aria-hidden="true">·</span><time>Oct 18, 2026</time></div></div><div data-slot="article-card" class="flex flex-col gap-4 rounded-lg border bg-card text-card-foreground shadow-xs overflow-hidden py-0 max-w-none"><img src="https://images.unsplash.com/photo-1492619375914-88005aa9e8fb?auto=format&amp;fit=crop&amp;w=800&amp;q=60" alt="" loading="lazy" class="aspect-[2/1] w-full object-cover"/><div data-slot="card-header" class="grid auto-rows-min items-start gap-1 px-5 has-[[data-slot=card-action]]:grid-cols-[1fr_auto] pt-5"><span class="text-xs font-medium uppercase tracking-wide text-primary">Product</span><div data-slot="card-title" class="font-medium text-lg leading-snug"><a class="outline-none hover:underline focus-visible:ring-2 focus-visible:ring-ring" href="#">Shipping accessible defaults without slowing down</a></div></div><div class="flex flex-wrap items-center gap-x-2 gap-y-1 border-t px-5 py-3 text-xs text-muted-foreground"><span class="font-medium text-foreground">Lena Ortiz</span><span aria-hidden="true">·</span><time>Oct 12, 2026</time></div></div></div></section><footer data-slot="marketing-footer" class="border-t bg-muted/20 px-6 py-12 border-x-0 border-b-0"><div class="mx-auto grid w-full max-w-6xl gap-10 md:grid-cols-[1.5fr_repeat(3,1fr)]"><div><p class="text-base font-semibold tracking-tight">Veil UI</p><p class="mt-2 max-w-xs text-sm text-muted-foreground">Accessible primitives and page sections for product teams.</p></div><nav aria-label="Product"><p class="text-xs font-semibold uppercase tracking-wide text-muted-foreground">Product</p><ul class="mt-3 grid gap-2 text-sm"><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Components</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Journal</a></li><li><a href="#" class="text-muted-foreground transition-colors hover:text-foreground">Pricing</a></li></ul></nav></div><div class="mx-auto mt-10 w-full max-w-6xl border-t pt-6 text-xs text-muted-foreground"><p>© 2026 Veil UI. All rights reserved.</p></div></footer></div>
</template>

On this page