sigilUI

Blog Header

Introduce an article with its title, metadata, and description.

@sigil-ui/componentsReact

Preview

Interactive blog header Interactive

Import

import { BlogHeader } from "@sigil-ui/components";

Usage

<BlogHeader
    title="Notes on"
    accent="designed software"
    subtitle="Research, field notes, and practical guidance from the Sigil team."
    categories={["All", "Tokens", "Components", "Workflow"]}
  />

Props

PropTypeDefaultDescription
title (required)string—Heading displayed in the component.
accentstring—Accent configuration.
subtitlestring—Subtitle configuration.
categoriesstring[]—Categories configuration.
activeCategorystring—Active Category configuration.
onCategoryChange(category: string) => void—On Category Change configuration.
iconReactNode—Icon configuration.

Token integration

CSS VariablePurpose
--s-font-displayFont display
--s-textText
--s-primaryPrimary
--s-text-mutedText muted
--s-borderBorder
--s-border-styleBorder style
--s-font-monoFont mono
--s-surface-elevatedSurface elevated
--s-duration-fastDuration fast