Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

PostHeader

Article title, metadata, timestamps and supporting header controls.

Post@gaudi/design-system/post/PostHeaderView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import PostHeader from '@gaudi/design-system/post/PostHeader';

Usage

import { PostHeader } from '@gaudi/design-system';
<PostHeader frontMatter={frontMatter} siteMetadata={siteMetadata} tocControl={tocControl} />

Examples

Playground

Storybook

Prepared share and source actions

Storybook

API

7 props

Accessibility

Preserve one clear article heading and machine-readable dates.