shared · Used on several pages

Container

components/site/Container.tsx

preview

Content sits in the site container: centered, with the page gutter.

usage · in this app
components/landing/final-cta.tsx
import { Container } from '@/components/site/Container'

<Container className="relative py-28 text-center">
  <Reveal>
    <h2 className="mono mx-auto max-w-3xl text-display-md font-medium leading-display tracking-heading lg:text-display-2xl">
      <span className="whitespace-nowrap">Beautiful pages.</span>{' '}
      <span className="whitespace-nowrap">One system.</span>
      <br />
      <span className="whitespace-nowrap text-[var(--fg-dim)]">Docs included.</span>
    </h2>
  </Reveal>
  <Reveal delay={0.1}>
    <div className="mono mx-auto mt-10 inline-flex max-w-full items-center gap-3 overflow-x-auto rounded-md border border-[var(--border-strong)] bg-[var(--surface)] px-4 py-3 text-ui shadow-cta">
      <span className="text-[var(--accent)]">$</span>
      <span className="whitespace-nowrap text-[var(--foreground)]">{INSTALL}</span>
      <CopyChip text={INSTALL} />
    </div>
  </Reveal>
  <Reveal delay={0.2}>
    <div className="mono mt-6 text-caption text-[var(--fg-dim)]">
      MIT · open source · Next.js + Claude Code
    </div>
  </Reveal>
</Container>
props
{ children: ReactNode className?: string }
used on · 8
tokens · 0
referenced in its file
No token referenced directly; it may style itself through the components it renders.
history · 1
verified
Previews for the site components
2026-10-21
Coherent Design MethodGitHubDesign system read from this app's code