IFFDAYIFFDAYDesign
Film and community

SectionHeader

A section title with an optional count and a See all link.

import { SectionHeader } from '@iffday/web/src/kit';

Example

A section title is an 18px h2. count adds a count badge after it, to puts a See all link on the right and action holds a button. They combine.

Latest articles and reviews

See all

Reviews28

Lists3

Usage

With several sections on a page, give each SectionHeader an id and point the surrounding <section> at it with aria-labelledby, so screen reader users can jump between sections. The community page does this.

Props