TYPOGRAPHY
CardTitle
The title inside a card. Tiny, bold, with optional 2-line clamp.
PREVIEW
Short title
A very long title that would otherwise wrap to three lines, but is clamped to two with an ellipsis.
SOURCE
import { CardTitle } from '@objectifthunes/whiteboard'
<CardTitle>Short title</CardTitle>
<CardTitle clamp>Long title — clamped to two lines.</CardTitle>NOTES
Defaults to <p>. clamp caps at two lines with -webkit-line-clamp; useful inside ItemCards where titles vary in length.