The parts library

Every SpiderCaster page is made of small, tested parts: headers, cards, tables, menus, and more. Each part comes with a demo page, a spec, and the sources it learned from.

Families

276 parts in 26 families, 266 of them tested. Counted from the library folder during this build.

Screenshot: the demo page of the accordions/basic part, with example words only
accordions/basic

accordions

11 parts, 11 tested

Parts
  • basic
  • bordered-box
  • chevron-icon-css
  • dark
  • exclusive
  • faq-schema-microdata
  • first-open
  • flush-list
  • nested
  • numbered-steps
  • with-subtitle
Screenshot: the demo page of the alerts-banners/emergency part, with example words only
alerts-banners/emergency

alerts-banners

11 parts, 11 tested

Parts
  • emergency
  • error-summary
  • error
  • info
  • inline-field-error
  • maintenance
  • promo-strip
  • site-wide-notice
  • success
  • toast-status
  • warning
Screenshot: the demo page of the author-boxes/bio-basic part, with example words only
author-boxes/bio-basic

author-boxes

10 parts, 10 tested

Parts
  • bio-basic
  • compact-byline
  • contributor-card
  • editors-note
  • inline-end
  • latest-posts
  • multi-author
  • reviewer-credentials
  • schema-person
  • with-links
Screenshot: the demo page of the callouts/danger part, with example words only
callouts/danger

callouts

11 parts, 11 tested

Parts
  • danger
  • definition
  • inset-quote-text
  • key-takeaway
  • live-status-alert
  • medical-disclaimer
  • note
  • sponsored-disclosure
  • tip
  • updated-correction
  • warning
Screenshot: the demo page of the cards/badge-status part, with example words only
cards/badge-status

cards

12 parts, 12 tested

Parts
  • badge-status
  • compact-row
  • download-resource
  • event-date
  • featured-large
  • horizontal
  • link-list
  • quote
  • stat
  • text-article
  • with-footer-actions
  • with-tags
Screenshot: the demo page of the ctas/band part, with example words only
ctas/band

ctas

10 parts, 10 tested

Parts
  • band
  • centered-dual
  • contact-trio
  • donate
  • end-of-article
  • inline-box
  • split-text-button
  • sticky-footer-note
  • text-link
  • trial-with-reassurance
Screenshot: the demo page of the footers/accordion-columns-mobile part, with example words only
footers/accordion-columns-mobile

footers

12 parts, 12 tested

Parts
  • accordion-columns-mobile
  • back-to-top
  • centered-social-text
  • contact-address
  • dark-two-tier
  • four-column
  • government-licence-line
  • logo-address-columns
  • minimal-one-line
  • newsletter-plus-links
  • sitemap-categories
  • widget-three-up
Screenshot: the demo page of the headers/centered-logo part, with example words only
headers/centered-logo

headers

14 parts, 14 tested

Parts
  • centered-logo
  • cta-right
  • dark-bar
  • ecommerce
  • masthead-news
  • minimal-landing
  • phase-banner
  • search-inline
  • service-nav
  • split-logo-nav
  • three-zone
  • topbar-contact
  • underline-tabs
  • utility-bar
Screenshot: the demo page of the hero-blocks/article-title part, with example words only
hero-blocks/article-title

hero-blocks

12 parts, 12 tested

Parts
  • article-title
  • category-header
  • centered-cta
  • dark-band
  • left-eyebrow
  • minimal-title
  • newsletter-hero
  • notice-hero
  • page-title-banner
  • search-hero
  • split-text-list
  • stat-hero
Screenshot: the demo page of the mega-menus/az-directory part, with example words only
mega-menus/az-directory

mega-menus

10 parts, 10 tested

Parts
  • az-directory
  • compact-dropdown
  • featured-text-panel
  • full-width-tray
  • icon-free-categories
  • promo-cta-column
  • three-column-links
  • two-column-descriptions
  • two-level-accordion-tray
  • vertical-category-rail
Screenshot: the demo page of the mobile-nav/bottom-tab-bar part, with example words only
mobile-nav/bottom-tab-bar

mobile-nav

10 parts, 10 tested

Parts
  • bottom-tab-bar
  • chip-scroll
  • details-accordion
  • fullscreen-overlay
  • popover-drawer
  • search-first-menu
  • slide-down-panel
  • target-drawer
  • two-level-drill
  • wrap-all-links
Screenshot: the demo page of the newsletter-forms/band-dark part, with example words only
newsletter-forms/band-dark

newsletter-forms

10 parts, 10 tested

Parts
  • band-dark
  • card-style
  • error-state
  • footer-compact
  • inline-email
  • name-email
  • privacy-line
  • success-state
  • topic-preferences
  • with-consent
Screenshot: the demo page of the pagination/article-multipage part, with example words only
pagination/article-multipage

pagination

10 parts, 10 tested

Parts
  • article-multipage
  • az-letters
  • dark-pills
  • infinite-fallback
  • load-more-link
  • numbered-ellipsis
  • numbered-small
  • page-x-of-y
  • prev-next-only
  • with-per-page
Screenshot: the demo page of the popups-modals/alert-dialog-error part, with example words only
popups-modals/alert-dialog-error

popups-modals

10 parts, 10 tested

Parts
  • alert-dialog-error
  • basic-popover-modal
  • bottom-sheet
  • confirm-action
  • cookie-consent-banner
  • inline-dialog-open
  • newsletter-popup
  • slide-in-panel
  • target-fallback-modal
  • toggletip-help
Screenshot: the demo page of the pricing-blocks/annual-monthly-text part, with example words only
pricing-blocks/annual-monthly-text

pricing-blocks

10 parts, 10 tested

Parts
  • annual-monthly-text
  • donation-tiers
  • four-tier
  • free-trial-plan
  • horizontal-plan
  • one-time
  • schema-offer
  • single-plan
  • three-tier
  • two-tier
Screenshot: the demo page of the search-bars/advanced-form part, with example words only
search-bars/advanced-form

search-bars

10 parts, 10 tested

Parts
  • advanced-form
  • basic
  • collapsible-details
  • hero-large
  • inline-compact
  • recent-suggestions
  • results-header
  • scope-radios
  • visible-label
  • with-scope-select
Screenshot: the demo page of the share-bars/bottom-bar-mobile part, with example words only
share-bars/bottom-bar-mobile

share-bars

8 parts, 8 tested

Parts
  • bottom-bar-mobile
  • copy-link-field
  • inline-after-title
  • labelled-heading
  • print-email
  • sticky-side
  • text-links
  • with-count-text
Screenshot: the demo page of the stat-strips/big-single part, with example words only
stat-strips/big-single

stat-strips

10 parts, 9 tested

Parts
  • big-single
  • dark-band
  • definition-list
  • dividers
  • four-up
  • inline-sentence
  • progress-meter
  • three-up
  • trend-text
  • with-context
Screenshot: the demo page of the sticky-headers/anchor-offset part, with example words only
sticky-headers/anchor-offset

sticky-headers

11 parts, 11 tested

Parts
  • anchor-offset
  • basic
  • blur-solid-fallback
  • bottom-cta
  • compact-on-phone
  • desktop-only
  • hide-on-scroll-hint
  • nav-only
  • section-subnav
  • shadow-on-stick
  • shrink-on-scroll-css
Screenshot: the demo page of the tables/basic part, with example words only
tables/basic

tables

12 parts, 12 tested

Parts
  • basic
  • compact
  • comparison-matrix
  • grouped-headers
  • key-value
  • row-links
  • sortable-links
  • stacked-mobile
  • status-text
  • sticky-first-column
  • striped
  • totals-footer
Screenshot: the demo page of the tabs/link-tabs part, with example words only
tabs/link-tabs

tabs

10 parts, 1 tested

Parts
  • boxed
  • link-tabs
  • pills
  • scrollable-row
  • segmented
  • stacked-mobile
  • two-tab-toggle
  • underline
  • vertical
  • with-counts
Screenshot: the demo page of the testimonials/case-study-teaser part, with example words only
testimonials/case-study-teaser

testimonials

10 parts, 10 tested

Parts
  • case-study-teaser
  • compact-list
  • left-rule
  • pull-quote-band
  • quote-with-cta
  • rated
  • schema-review
  • single-large
  • three-up
  • wall
Screenshot: the demo page of the tocs/collapsible part, with example words only
tocs/collapsible

tocs

10 parts, 10 tested

Parts
  • collapsible
  • compact-inline-run
  • current-marked
  • faq-jump-list
  • inline-list
  • jump-chips
  • numbered
  • progress-steps
  • sticky-rail
  • two-level

How a part is checked

Each part runs the same 32 checks before it counts as tested. These are the names of the checks, read from the part manifests.

  • aria_refs
  • contrast_4_5
  • css_syntax
  • css_vars
  • doctype
  • example_label
  • file_demo.html
  • file_manifest.json
  • file_spec.md
  • focus_style
  • form_labels
  • has_css
  • heading_order
  • html_parse
  • landmark
  • lang
  • main_present
  • manifest_sources
  • mobile_first
  • named_controls
  • no_external_urls
  • no_img_tags
  • no_inline_style_urls
  • no_premium_code
  • no_url_bg
  • reduced_motion
  • spec_photo_policy
  • spec_sections
  • tap_target_44
  • title
  • unique_ids
  • viewport

Molds

A mold is a whole-site starting point. These are the molds the engine reports today.

  • clarify-mix
  • discover-grid
  • spidercaster-com
  • warmth-authority

Use a part

This is the real snippet file of one part, cards/featured-large. Drop it into a page and add its stylesheet.

cards/featured-large/snippet.html
<section class="sc-wrap" aria-labelledby="ch"><h2 id="ch">EXAMPLE: Latest</h2><div class="grid featured-large"><article class="card"><p class="meta">EXAMPLE: Featured</p><h3><a class="stretch" href="#">EXAMPLE headline 1</a></h3><p>EXAMPLE: Summary.</p></article><article class="card"><p class="meta">EXAMPLE: Featured</p><h3><a class="stretch" href="#">EXAMPLE headline 2</a></h3><p>EXAMPLE: Summary.</p></article><article class="card"><p class="meta">EXAMPLE: Featured</p><h3><a class="stretch" href="#">EXAMPLE headline 3</a></h3><p>EXAMPLE: Summary.</p></article></div></section>

Where the parts come from

Original spec, markup and CSS written for SpiderCaster. Cited sources inform structure only; see each source licence line.

What each part ships with

A demo page

One page that shows the part working, with example words only.

A spec

What the part is for, when to use it, and what it must never do.

A snippet

The markup to drop into a page, with its own small stylesheet.

A manifest

The sources it learned from, each with its license line, and the result of its checks.

Start with words.

Build a site like this. One page of writing is enough for a first draft. The draft costs nothing, and the files are yours to keep.