v0.16.46 BLOG EXAMPLE / BUSINESS / INSIGHTS

Company
blog.

Expertise, announcements, customer stories, and calls to action. Preview the finished page, then inspect the exact source compiled by the current Kudzu release.

01

LIVE OUTPUT

Preview

Open full page ↗
kudzu.local/example/blog/company/demo
02

PROJECT SOURCE

Build it yourself

src/components/examples/BlogTemplates.tsx · CompanyTSX
function Company({ blog }: { blog: BlogExample }) {
  return (
    <div className="tpl tpl-company">
      <header>
        <a href="#home">
          <i />
          NORTHSTAR
        </a>
        <nav>
          <a href="#product">Product</a>
          <a href="#customers">Customers</a>
          <a href="#resources">Resources</a>
          <a href="#company">Company</a>
        </nav>
        <button>Start free</button>
      </header>
      <main>
        <section className="company-hero">
          <div>
            <span>NORTHSTAR INSIGHTS</span>
            <h1>Useful thinking for growing teams.</h1>
            <p>Research, customer stories, and practical operating systems.</p>
          </div>
          <aside>
            <strong>12k+</strong>
            <span>teams learning together</span>
          </aside>
        </section>
        <section className="company-feature">
          <div>
            <span>FIELD GUIDE 06</span>
          </div>
          <article>
            <small>OPERATIONS · 11 MIN</small>
            <h2>
              <a href={`/example/blog/${blog.slug}/demo/${blog.posts[0].slug}`}>
                {blog.posts[0].title}
              </a>
            </h2>
            <p>
              A framework for replacing status meetings with decisions people
              can trust.
            </p>
            <a href={`/example/blog/${blog.slug}/demo/${blog.posts[0].slug}`}>
              Read the field guide →
            </a>
          </article>
        </section>
        <section className="company-grid">
          {blog.posts.slice(1).map((post, index) => (
            <article>
              <span>{index ? "COMPANY" : "CUSTOMER STORY"}</span>
              <h3>
                <a href={`/example/blog/${blog.slug}/demo/${post.slug}`}>
                  {post.title}
                </a>
              </h3>
              <p>Specific lessons from teams doing the work.</p>
              <a href={`/example/blog/${blog.slug}/demo/${post.slug}`}>
                Read more →
              </a>
            </article>
          ))}
        </section>
        <section className="company-letter">
          <div>
            <span>THE NORTHSTAR BRIEF</span>
            <h2>One useful operating idea, every other Thursday.</h2>
          </div>
          <button>Join 18,000 readers</button>
        </section>
      </main>
    </div>
  );
}
src/components/examples/BlogArticles.tsx · shared articleTSX
export function BlogArticle({ blog, post }: { blog: BlogExample; post: Post }) {
  const index = blog.posts.findIndex((entry) => entry.slug === post.slug);
  const previous =
    blog.posts[(index + blog.posts.length - 1) % blog.posts.length];
  const next = blog.posts[(index + 1) % blog.posts.length];
  const feature = articleFeature(blog.layout);
  const copy = articleCopy(blog.layout);
  const section = articleSection(blog.layout);
  const deck = articleDeck(blog.layout);
  const author = articleAuthor(blog.layout);
  const heading = articleHeading(blog.layout);
  const quote = articleQuote(blog.layout);

  return (
    <div className={`article-template article-${blog.layout}`}>
      <header>
        <a href={`/example/blog/${blog.slug}/demo`}>{blog.publication}</a>
        <nav>
          <a href={`/example/blog/${blog.slug}/demo`}>All stories</a>
          <a href="/example">Kudzu examples ↗</a>
        </nav>
      </header>
      <main>
        <div className="article-breadcrumb">
          <a href={`/example/blog/${blog.slug}/demo`}>{blog.name}</a>
          <span>/</span>
          <span>{post.meta}</span>
        </div>
        <article>
          <header>
            <span>{section}</span>
            <h1>{post.title}</h1>
            <p>{deck}</p>
            <div>
              <span>By {author}</span>
              <time>July 25, 2026 · 8 min read</time>
            </div>
          </header>
          <figure
            className="article-hero"
            role="img"
            aria-label={`${post.title} cover`}
          />
          <div className="article-content">
            {feature}
            <div className="article-copy">
              <p className="article-opening">{copy[0]}</p>
              <h2>{heading}</h2>
              <p>{copy[1]}</p>
              <blockquote>{quote}</blockquote>
              <p>{copy[2]}</p>
            </div>
          </div>
        </article>
        <footer className="article-pagination">
          <a href={`/example/blog/${blog.slug}/demo/${previous.slug}`}>
            <span>← Previous</span>
            <strong>{previous.title}</strong>
          </a>
          <a href={`/example/blog/${blog.slug}/demo/${next.slug}`}>
            <span>Next →</span>
            <strong>{next.title}</strong>
          </a>
        </footer>
      </main>
    </div>
  );
}

// Layout-specific feature
case "company":
src/components/examples/BlogExamples.tsx · companyTSX
slug: "company",
src/pages/example/blog/[slug]/demo.tsxTSX
import {
  BlogDemo,
  BlogExample,
  blogExamples,
} from "../../../../components/examples/BlogExamples";
import {
  inlineStyles,
  loadBlogStyles,
} from "../../../../components/examples/ExampleSource";

export const metadata = {
  title: "Kudzu Blog Demo",
    description: "A static blog design compiled with Kudzu 0.16.46 TSX.",
  lang: "en",
  locale: "en_US",
  siteName: "Kudzu Examples",
  styles: true,
};

export function getStaticPaths() {
  return blogExamples.map((blog) => ({
    params: { slug: blog.slug },
    props: { blog },
  }));
}

export default async function BlogDemoPage({ blog }: { blog: BlogExample }) {
  const css = await loadBlogStyles(blog);
  return [inlineStyles(css), BlogDemo({ blog })];
}
src/pages/example/blog/[slug]/demo/[post].tsxTSX
import { BlogArticle } from "../../../../../components/examples/BlogArticles";
import {
  BlogExample,
  blogExamples,
} from "../../../../../components/examples/BlogExamples";
import {
  inlineStyles,
  loadBlogStyles,
} from "../../../../../components/examples/ExampleSource";

type Post = BlogExample["posts"][number];

export const metadata = {
  title: "Kudzu Blog Article Demo",
    description: "A statically generated article page compiled with Kudzu 0.16.46 TSX.",
  lang: "en",
  locale: "en_US",
  siteName: "Kudzu Examples",
  styles: true,
};

export function getStaticPaths() {
  return blogExamples.flatMap((blog) =>
    blog.posts.map((post) => ({
      params: { slug: blog.slug, post: post.slug },
      props: { blog, post },
    })),
  );
}

export default async function BlogArticlePage({
  blog,
  post,
}: {
  blog: BlogExample;
  post: Post;
}) {
  const css = await loadBlogStyles(blog);
  return [inlineStyles(css), BlogArticle({ blog, post })];
}
examples/styles/base.cssCSS
.tpl {
  min-height: 100vh;
}
.tpl,
.tpl * {
  box-sizing: border-box;
}
.tpl > main,
.tpl main {
  width: auto;
  margin: 0;
}
.tpl a {
  text-decoration: none;
}
.tpl button,
.tpl input {
  font: inherit;
}
.tpl nav {
  font-family: inherit;
}
.tpl h1 a,
.tpl h2 a,
.tpl h3 a {
  color: inherit;
}
.tpl .story-link {
  display: inline-block;
  padding: 11px 14px;
  color: inherit;
  border: 1px solid currentColor;
}
.article-template {
  min-height: 100vh;
  color: #25211d;
  background: #f3efe7;
  font-family: Georgia, serif;
}
.article-template > header,
.article-template > main {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.article-template > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid currentColor;
}
.article-template > header > a {
  color: inherit;
  font-size: 25px;
  font-weight: 700;
}
.article-template > header nav a {
  color: inherit;
  opacity: 0.7;
}
.article-breadcrumb {
  display: flex;
  gap: 12px;
  padding: 30px 0;
  color: #766f67;
  font: 10px var(--mono);
  text-transform: uppercase;
}
.article-breadcrumb a {
  color: inherit;
}
.article-template article > header {
  max-width: 920px;
  padding: 50px 0 65px;
}
.article-template article > header > p {
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
}
.article-template article > header > div {
  display: flex;
  gap: 30px;
  margin-top: 28px;
  color: #746c64;
  font: 10px var(--mono);
}
.article-hero {
  min-height: 620px;
  margin: 0;
  background: linear-gradient(130deg, #c55e40, #e7b778);
  background-position: center;
  background-size: cover;
}
.article-content {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px);
  gap: 70px;
  justify-content: center;
  padding: 80px 0 120px;
}
.article-content > aside {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 22px;
  border-top: 3px solid currentColor;
  background: #e7dfd2;
  font: 11px var(--mono);
  line-height: 1.6;
}
.article-content > aside a {
  color: inherit;
  border-bottom: 1px solid;
}
.article-copy {
  font-size: 18px;
  line-height: 1.85;
}
.article-copy .article-opening:first-letter {
  float: left;
  margin: 8px 10px 0 0;
  font-size: 76px;
  line-height: 0.7;
}
.article-copy h2 {
  margin: 60px 0 20px;
  font-size: 38px;
  line-height: 1.1;
}
.article-copy blockquote {
  margin: 55px 0;
  padding-left: 28px;
  border-left: 3px solid #b64b31;
  font: italic 31px/1.45 Georgia;
}
.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: auto;
  padding: 0 0 80px;
  border-top: 1px solid currentColor;
}
.article-pagination a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  color: inherit;
}
.article-pagination a:last-child {
  border-left: 1px solid;
  text-align: right;
}
.article-pagination span {
  color: #81786f;
  font: 9px var(--mono);
}
.article-pagination strong {
  font-size: 20px;
}
.article-ingredients ul,
.article-takeaways ol {
  margin: 0;
  padding-left: 20px;
}
.article-developer,
.article-changelog,
.article-photography,
.article-community {
  color: #e6edf3;
  background: #0d1117;
  font-family: var(--mono);
}
.article-developer article > header h1,
.article-changelog article > header h1 {
  font-family: var(--mono);
}
.article-developer article > header > span,
.article-changelog article > header > span {
  color: #56d29a;
}
.article-developer .article-content > aside,
.article-changelog .article-content > aside,
.article-community .article-content > aside {
  background: #161b22;
}
.article-developer .article-copy blockquote,
.article-changelog .article-copy blockquote {
  border-color: #56d29a;
}
.article-template article > header > span {
  color: #b64b31;
  font: 10px var(--mono);
  letter-spacing: 0.13em;
}
.article-template article > header h1 {
  margin: 22px 0;
  font:
    600 clamp(60px, 9vw, 120px)/0.87 Georgia,
    serif;
  letter-spacing: -0.07em;
}
.article-content > aside > strong:first-child,
.article-content > aside > span:first-child {
  color: #b64b31;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.article-editorial .article-hero {
  background-image: url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1500&q=85");
}

@media (max-width: 800px) {
  .article-template > header,
  .article-template > main {
    width: min(100% - 28px, 1120px);
  }
  .article-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
  }
  .article-content > aside {
    position: static;
  }
  .article-hero {
    min-height: 440px;
  }
  .tpl > header nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .article-template > header nav a:first-child {
    display: none;
  }
  .article-template article > header > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .article-pagination {
    grid-template-columns: 1fr;
  }
  .article-pagination a:last-child {
    border-top: 1px solid;
    border-left: 0;
    text-align: left;
  }
}
examples/styles/company.cssCSS
.tpl-company {
  color: #17204d;
  background: #f6f7fb;
  font-family: Arial;
}
.tpl-company > header,
.tpl-company > main {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.tpl-company > header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid #ccd0e3;
}
.tpl-company > header > a {
  color: inherit;
  font-weight: 800;
}
.tpl-company > header > a i {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background: #5262ee;
  transform: rotate(45deg);
}
.tpl-company > header button {
  justify-self: end;
  padding: 11px 16px;
  color: white;
  border: 0;
  background: #5262ee;
}
.tpl-company nav a {
  color: inherit;
}
.article-company {
  color: #17204d;
  background: #f6f7fb;
  font-family: Arial;
}
.article-company .article-hero {
  background: linear-gradient(135deg, #17204d, #6877ff);
}
.article-company .article-content > aside {
  background: #e5e8fa;
}
.company-hero {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 50px;
  align-items: end;
  padding: 100px 0 70px;
}
.company-hero span,
.company-feature small,
.company-grid > article > span,
.company-letter span {
  color: #5262ee;
  font: 10px var(--mono);
}
.company-hero h1 {
  max-width: 850px;
  margin: 18px 0;
  font-size: clamp(60px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}
.company-hero p {
  color: #687096;
  font-size: 19px;
}
.company-hero aside {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid #ccd0e3;
}
.company-hero aside strong {
  color: #5262ee;
  font-size: 54px;
}
.company-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 450px;
  background: #17204d;
  color: white;
}
.company-feature > div {
  display: grid;
  place-items: end start;
  padding: 25px;
  background: linear-gradient(135deg, #5364ef, #8e98ff);
}
.company-feature article {
  padding: 55px;
}
.company-feature h2 {
  font-size: 44px;
}
.company-feature p {
  color: #b9bfdc;
  line-height: 1.7;
}
.company-feature a {
  color: white;
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 55px 0;
}
.company-grid article {
  padding: 35px;
  border: 1px solid #ccd0e3;
}
.company-grid h3 {
  font-size: 30px;
}
.company-letter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  padding: 45px;
  background: #e6e9fb;
}
.company-letter h2 {
  max-width: 650px;
}
.company-letter button {
  padding: 14px;
  color: white;
  border: 0;
  background: #5262ee;
}

@media (max-width: 800px) {
  .company-hero,
  .company-feature,
  .company-grid {
    grid-template-columns: 1fr;
  }
  .company-feature > div {
    min-height: 320px;
  }
  .company-letter {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .company-hero {
    grid-template-columns: 1fr;
  }
  .company-hero aside {
    display: none;
  }
  .tpl-company > header {
    grid-template-columns: 1fr auto;
  }
  .tpl-company > header nav {
    display: none;
  }
}