Components

Footer

The 'Want to work with me?' line with a button, then copyright and links. The line is hidden on Contact.

components/Footer.tsx

Live preview

Want to work with me or be friends?

Send me a message

Tokens it uses

--serif

Page titles, section headings, the footer line.

In typography

--fs-heading
px

About section headings and the footer line.

In typography

--line

Dividers, input borders, chip borders, nav and footer rules.

In colors

--ink-soft

Summaries, captions, inactive nav links, footer text.

In colors

--space-footer
px

Gap between page content and the footer.

In spacing

--gutter-max
px

Space between content and the screen edge (shrinks on phones).

In spacing

--wrap
px

How wide content can grow on large screens.

In spacing

--btn-height
px

Height of every button.

In buttons

--btn-pad-x
px

Space either side of the button text.

In buttons

--btn-weight

How bold button text is.

In buttons

--btn-border
px

Outline thickness on buttons.

In buttons

--btn-bg

Solid buttons, and the border and hover fill of outline buttons.

In colors

--btn-ink

Text on solid buttons and selected chips.

In colors

--radius-control
px

Anything you click or type into.

In radius

--sans

Body text, labels, nav and buttons.

In typography

Where it’s used

Works with

  • ButtonHolds the outline 'Send me a message' button.
  • Top barShares the wrapper, hairline colour and link style with the top bar.
  • Page headerIts headline uses the same serif as page titles, one step smaller.

Shared tokens

These components share tokens with Footer, so editing a shared token changes them together — that’s what keeps the interface cohesive.

  • Top barshares Secondary textHairlines and bordersPage side marginMax content widthBody fontButton heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputs
  • Contact formshares Buttons, chips and inputsHairlines and bordersSecondary textButton heightButton side paddingButton text weightButton border widthButton fillButton textBody font
  • Buttonshares Button heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputsBody font
  • View toggleshares Buttons, chips and inputsHairlines and bordersSecondary textButton fillButton text
  • Filter chipsshares Buttons, chips and inputsHairlines and bordersButton fillButton text
  • Project windowshares Secondary textHairlines and bordersButtons, chips and inputsPage side margin
  • Playground rowshares Headline fontHairlines and bordersSecondary text
  • Contact linksshares Secondary textHairlines and bordersButtons, chips and inputs
  • Case study layoutshares Body fontSecondary textPage side margin
  • Page headershares Headline fontSecondary text
  • Type testershares Hairlines and bordersSecondary text
  • Say hishares Headline fontSecondary text
  • Section introshares Headline font
  • Project cardshares Secondary text
  • Back linkshares Secondary text
  • Logo rowshares Secondary text