Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Recipes

Copy-paste setups for the pages SHAUGHV projects actually ship.

Use the shared site baseline in every CDN-based page: cursor, frosted dropdowns, and both footer logos with copyright. Adapt colors and sizes while keeping canonical asset URLs.

Examples

A marketing page

A minimal page with fonts, a theme-aware favicon, motion, the custom cursor, and the paired-logo footer.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>SHAUGHV project</title>
    <link rel="stylesheet" href="https://cdn.shaughv.com/fonts/fonts.css" />
    <link rel="icon" href="https://cdn.shaughv.com/brand/shaughv/favicons/SHAUGHV-Favicon-Dark.svg" media="(prefers-color-scheme: light)">
    <link rel="icon" href="https://cdn.shaughv.com/brand/shaughv/favicons/SHAUGHV-Favicon-Light.svg" media="(prefers-color-scheme: dark)">
    <style>
      :root {
        --font-makira: "Makira", system-ui, sans-serif;
        --font-mono: "Geist Mono", ui-monospace, monospace;
        --bg: #f5f5f0;
        --fg: #5c5446;
        --accent: #5b8a5b;
      }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--fg);
        font-family: var(--font-makira);
      }
      h1 {
        font-family: var(--font-mono);
        text-transform: uppercase;
        letter-spacing: -0.04em;
        line-height: 0.92;
      }
    </style>
  </head>
  <body>
    <shaughv-mark style="display:block;width:72px;height:72px;color:var(--accent)" aria-label="SHAUGHV"></shaughv-mark>
    <h1>One address.<br>Every asset.</h1>
    <footer style="padding:32px 0">
      <div style="display:flex;align-items:center;gap:24px">
        <shaughv-mark data-static style="display:block;height:64px;width:95px;transform:translateY(7px)" aria-label="SHAUGHV"></shaughv-mark>
        <span role="img" aria-label="Shaughnessy family crest" style="display:block;width:80px;height:100px;background:currentColor;mask:url('https://cdn.shaughv.com/brand/crests/Shaughnessy-Crest-Footer.svg') center/contain no-repeat"></span>
      </div>
      <p><small>© 2026 Emmett Shaughnessy</small></p>
    </footer>
    <shaughv-cursor color="sage"></shaughv-cursor>
    <script defer src="https://cdn.shaughv.com/js/shaughv-cursor.js?v=2026-10-21.4"></script>
    <script defer data-auto src="https://cdn.shaughv.com/js/shaughv-dropdown.js?v=2026-10-21.2"></script>
    <script src="https://cdn.shaughv.com/js/animated-brand-mark.js"></script>
  </body>
</html>

A docs or app shell

Makira for chrome and body, Geist Mono for code and data.

:root {
  --font-ui: "Makira", system-ui, sans-serif;
  --font-code: "Geist Mono", ui-monospace, monospace;
}
html { font-family: var(--font-ui); }
code, kbd, pre, samp {
  font-family: var(--font-code);
}

A loading state

Keep the loader recipe intact. Change only color and box size.

<div style="display:grid;place-items:center;min-height:40vh;background:#f5f5f0;color:#5b8a5b;">
  <shaughv-loader style="height:120px"></shaughv-loader>
</div>
<script src="https://cdn.shaughv.com/js/shaughv-loader.js"></script>

An article with a figurine

Use a transparent illustration at a restrained reading-column size.

<img
  src="https://cdn.shaughv.com/brand/shaughv/figurines/transparent/figurine-header.webp"
  alt="SHAUGHV figurine"
  style="width:min(100%,22rem)"
/>

Usage

The custom cursor guide includes the required frosted dropdown companion and framework cleanup examples. Add a footer with both logos and copyright. For full-screen sites, keep main at min-height: 100svh; width: 100% with a 100vh fallback and put the footer after main in normal flow. Use usage.components.cursor.integration from the live catalog and set the site’s base color. Difference blending, automatic button/link/dropdown outlines, checkbox/radio snapping, and subtle text-field borders are included by default. Link outlines have extra spacing, and field waves settle when focused. Loading the script alone leaves the normal cursor unchanged.

Reference

For a moving texture behind a hero or a whole page, use the optional ambient background. Follow its layering recipe and lifecycle cleanup. Discover its script, colors, and source notices through usage.components.ambient.

Do not scrape these docs for a file list. Fetch the catalog:

const tree = await fetch("https://cdn.shaughv.com/tree.json").then((r) => r.json());
if (!tree.fonts?.all?.defaults) throw new Error("Missing font defaults");
const monoKey = tree.fonts.all.defaults.monospace;
const css = tree.fonts[monoKey].css_url;

The /agents skill teaches the same workflow without enumerating paths.

Was this page helpful?