Default
Surface tint, hairline border, large radius. The icon slot is optional.
Everything between the header and the footer, in the order you'd usually build it: sections, cards, decision tables, forms and the closing band.
Cards and features
A default surface card, a facet card with one clipped corner, and an accent card. Use the facet for the card you want read first, not for all of them.
Surface tint, hairline border, large radius. The icon slot is optional.
One clipped corner, sized by --pf-cut. Set that to zero and it becomes a rectangle.
The whole card is the anchor, with hover and focus handled.
Icon, heading, one line. For the grid of six that every landing page has.
Triangle bullets aligned to the first line, wrapping cleanly.
Numbered markers, used only where the content is a real sequence.
Decisions
Tables scroll horizontally inside .pf-table-wrap rather than squashing columns to unreadable widths on a phone.
Core only.
11 KB one file
Core, Headers, Content, Footers.
33 KB four files
All five, concatenated.
36 KB one bundle
| Page type | Core | Headers | Content | Footers | Utilities |
|---|---|---|---|---|---|
| Marketing landing | Yes | Yes | Yes | Yes | Yes |
| Documentation | Yes | Yes | Yes | Skip | Yes |
| Application shell | Yes | Yes | Yes | Skip | Yes |
| Sign-in screen | Yes | Skip | Yes | Skip | Skip |
Input and feedback
Default
Left rule in the accent colour.
Success
Deployed. The file is live at the path you set.
Careful
Utilities loads last. Move it above Content and its helpers stop winning ties.
Broken
Core is missing. Every other file reads its properties and renders unstyled without it.
<article class="pf-card pf-card--facet">
<h3 class="pf-card__title">Facet card</h3>
<p class="pf-card__body">Two classes, no wrapper.</p>
</article>
Open and close state is the browser's. No script, and it prints expanded.
Wrap them in .pf-accordion for the spacing and the marker.
A framework you can read end to end in an afternoon is a framework you can fix at 2am.
Mesh background, one masked edge of contrast, two actions. It sits above the footer.