Design System

Every component, token, and pattern in the Shayan Spiel design system. The single source of truth. View manifest · View tokens

Tokens

--bg
--bg-1
--tx
--tx-2
--tx-3
--bd
--bd-1
--bd-2

Components (12)

btn

_includes/components/btn.html

A button. Two variants: primary, ghost. Optional arrow and leading icon.

Slots

  • label required
  • href required
  • variant optional — primary | ghost
  • arrow optional — boolean
  • icon optional — svg-path
  • attrs optional — string

Example


  Get Spiel
  
  


section-head

_includes/components/section-head.html

Centered section header with optional tag, title, and subtitle.

Slots

  • tag optional
  • title required
  • sub optional

Example

The Hidden Asset

...

card

_includes/components/card.html

A card. Variants: default, stat-shift. Optional href makes it a link. Optional icon adds visual variety.

Slots

  • tag optionaluse for stat numbers in default cards
  • title required
  • desc required
  • href optional
  • num optionalused with variant=stat-shift
  • icon optionaldecorative; above num for stat-shift
  • variant optional — default | stat-shift

Example

Refactor

Evidence, not code

...

prose-center

_includes/components/prose-center.html

Centered single-column reading prose.

Slots

  • text required
  • small optional — boolean

Example

For years I believed...

takeaway

_includes/components/takeaway.html

End-of-section insight. Lightbulb icon + text on one line, regular weight. Marks the single line a reader should leave the section with.

Slots

  • text required

Example

The building never stops. The content never starts. Not laziness. Wrong abstraction.

closer

_includes/components/closer.html

The closing block of a post. Distinct from sections: large relevant icon, silver-gradient key line, smaller echo, optional minimal actions. Use once per post, as the last content block.

Slots

  • icon required
  • takeaway required
  • echo optional
  • actions optional — list

Example


pullquote

_includes/components/pullquote.html

Large left-bordered quote with optional attribution.

Slots

  • quote required
  • attribution optional

Example

...
— ...

step-list

_includes/components/step-list.html

Numbered workflow. Pass steps as a list of title + body items.

Slots

  • steps required — list

Example

definition

_includes/components/definition.html

Term card with optional phonetic mark and definition.

Slots

  • term required
  • mark optional
  • def required

Example

/sesh/
Session-as-Content ...

cta-card

_includes/components/cta-card.html

End-of-post CTA with title, body, and action buttons.

Slots

  • title required
  • body optional
  • actions optional — list

Example

...

...

stat-big

_includes/components/stat-big.html

Large gradient number with optional small unit suffix.

Slots

  • value required
  • unit optional

Example

5.6 x

source

_includes/components/source.html

A single citation source. Renders inside a

    for a centered, minimal citation list. Author label above, title link below.

    Slots

    • author requiredshort source label like 'Theo (X)'
    • url required
    • title required

    Example