Components
Contact form
Name, email and message; opens the visitor's mail app with the message ready.
app/contact/ContactForm.tsxLive preview
Tokens it uses
--radius-controlpx
Anything you click or type into.
--lineDividers, input borders, chip borders, nav and footer rules.
--inkMain text, headings and active nav links.
--ink-softSummaries, captions, inactive nav links, footer text.
--fs-labelpx
Small labels, chips and form labels.
--label-trackingem
Spacing between letters in labels.
--label-caseAll caps or as written.
--btn-heightpx
Height of every button.
--btn-pad-xpx
Space either side of the button text.
--btn-weightHow bold button text is.
--btn-borderpx
Outline thickness on buttons.
--btn-bgSolid buttons, and the border and hover fill of outline buttons.
--btn-inkText on solid buttons and selected chips.
--sansBody text, labels, nav and buttons.
Where it’s used
Works with
- ButtonSubmits with the standard solid button.
- Filter chipsInputs share the control radius and hairline border with chips.
Shared tokens
These components share tokens with Contact form, so editing a shared token changes them together — that’s what keeps the interface cohesive.
- Top barshares
TextSecondary textHairlines and bordersBody fontButton heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputs - Footershares
Hairlines and bordersSecondary textButton heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputsBody font - Buttonshares
Button heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputsBody font - Filter chipsshares
Buttons, chips and inputsHairlines and bordersTextButton fillButton textLabel sizeLabel letter-spacingLabel case - Playground rowshares
Hairlines and bordersTextSecondary textLabel sizeLabel letter-spacingLabel case - View toggleshares
Buttons, chips and inputsHairlines and bordersTextSecondary textButton fillButton text - Project cardshares
TextSecondary textLabel sizeLabel letter-spacingLabel case - Section introshares
Label sizeLabel letter-spacingLabel caseText - Page headershares
Label sizeLabel letter-spacingLabel caseSecondary text - Project windowshares
TextSecondary textHairlines and bordersButtons, chips and inputs - Contact linksshares
TextSecondary textHairlines and bordersButtons, chips and inputs - Type testershares
Hairlines and bordersTextSecondary text - Case study layoutshares
Body fontTextSecondary text - Back linkshares
Secondary textText - Logo rowshares
TextSecondary text - Say hishares
TextSecondary text - Your-version pillshares
Text