Tailwind UI Pattern Registry for humans and agents

hero grid frame border geometry editorial design-system hero grid border frame ruled editorial hero with decorative grid lines ruled frame background effect grid column decoration hero

Hero Border Frame

Fetch pattern JSON: curl https://webspire.de/patterns/hero/border-frame.json

Details

Family
hero
Tier
enhanced
Kind
section
Extends
hero/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
herogridframebordergeometryeditorialdesign-system

Slots

Name Required Description
eyebrow No Mono-text label above the headline (version number, category).
heading Yes Primary headline.
subtext No Supporting description.
cta-primary No Primary action button.
cta-secondary No Secondary ghost/outline action.

Decorative 1px columns on both sides of the content create a ruled-frame effect — the content sits inside an invisible grid that’s made just barely visible. No custom CSS, no SVG backgrounds: just nested Tailwind grid divisions with border-r / border-l utilities.

The outer grid-cols-[1fr_min(72rem,100%)_1fr] layout constrains the content width while letting the frame columns fill the viewport margins.

On a dark background

<section class="ws-hero relative overflow-hidden bg-gray-950 py-28">
  <!-- same structure; tokens pick up dark colors automatically -->
</section>