PageHeaderTitle
Loading example…
Page title. Wrap a word in <span className="text-accent-word"> to accent it.
Import
Section titled “Import”import { PageHeaderTitle } from "@jcsoftdev/ui/containers";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/page-header.
<PageHeaderTitle> <> <div> <PageHeaderEyebrow>Sábado 11 de octubre</PageHeaderEyebrow> <PageHeaderTitle> Agenda de <span className="text-accent-word">hoy</span> </PageHeaderTitle> <PageHeaderLede> 12 citas con 3 barberos. Quedan 2 horarios libres por la tarde. </PageHeaderLede> </div> <PageHeaderActions> <Button variant="secondary">Bloquear horario</Button> <Button>Nueva cita</Button> </PageHeaderActions> </></PageHeaderTitle>This component declares no props of its own.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/containers/page-header/page-header.tsx