DisplayTitle
The large title of browsing pages: Feed, Screenings, Search and the festival directory.
import { DisplayTitle } from '@iffday/web/src/kit';Example
Archivo at its heaviest weight, 900, with letter spacing tightened by 2.5% and centred. The size follows the window between 32px and 50px. It is the page’s h1, so there is one per page.
Festival directory
import { useT } from '@iffday/i18n';
import { DisplayTitle } from '@iffday/web/src/kit';
export default function Example() {
const t = useT();
return <DisplayTitle>{t('nav.page.festivalDirectory')}</DisplayTitle>;
}Props
DisplayTitle
apps/web/src/kit.tsx:350| Prop | Type | Default |
|---|---|---|
children* | ReactNode |