sjgwebdev.Component Library

Components

Cards

Fourteen variants on one set of tokens. Any of these will take your palette, corner radius and typeface without being rewritten.

Basic

Card

Card

Title and description. The base every other variant extends.

Card with action

Card with action

Adds a single call to action at the foot.

Learn more
Icon card

Icon card

Leads with an icon. For service or capability lists.

Outlined card

Outlined card

No fill. Sits directly on the page for lower-emphasis groups.

With media

Media card

Media card

Image above the copy. The default for any listing grid.

Media card with meta

Category ·

Media card with meta

Adds a category and a date above the title. For editorial.

Overlay card
Category

Overlay card

Label sits on the image. For dense category grids.

Media card with tags

Media card with tags

Chips under the title for time, diet or difficulty.

20 minsTagTag

Pricing & feature

Pricing card

Pricing card

Price, unit and a feature list.

$00 per unit

  • Feature line one
  • Feature line two
  • Feature line three
Ask about this
Pricing card, featured
Feature card

Feature card

A capability, with a two-column list of what it includes. Wide enough to carry three lines of description without the columns collapsing.

  • Included item
  • Included item
  • Included item
  • Included item
  • Included item
  • Included item
See examples

Rows, people & quotes

List item

List item

No card at all. A hairline-separated entry with meta and tags.

· 2 min read · #tag#tag

Second entry

Shows how consecutive items separate without a border each.

· 4 min read · #tag

Profile card

Profile card

Role or title

Avatar, name and role. For team and author blocks.

Quote card
A testimonial with attribution, about as long as one of these should ever be.
Name
Role, Company

On a dark band

The same components, unchanged. The band reassigns the tokens underneath them, so neither of these knows which ground it is on.

Card on panel

Card on panel

Proof the base card needs no dark variant.

Learn more
Stat card
00Label here
00Label here

Elsewhere

Libraries worth a look when none of the above is the right shape. Nothing from these is copied in, anything worth having gets rebuilt against our own tokens.