Section simple 03
A heading block over two columns of body text.
Last updated
---
/**
* Section simple 03: A heading block over two columns of body text.
*
* @block content
* @order 18
*/
import Section from '@/components/apogee/Section/Section.astro'
import SectionHeader from '@/components/apogee/SectionHeader/SectionHeader.astro'
import Prose from '@/components/apogee/Prose/Prose.astro'
import { plain } from '@/components/apogee/sections/_shared/spine.ts'
import type { ContentContent } from '@/components/apogee/sections/_shared/content.ts'
/** @composable */
interface Props extends ContentContent {}
const {
eyebrow = 'Features',
heading = 'Beautiful analytics to grow smarter',
description = 'Powerful, self-serve product and growth analytics to help you convert, engage and retain more users.',
} = Astro.props
---
<Section spacing="large">
<SectionHeader eyebrow={eyebrow ?? undefined} heading={plain(heading)} description={description ?? undefined} class="mb-12 max-w-3xl" />
<div class="grid gap-8 md:grid-cols-2 md:gap-16">
<Prose>
<p>Most teams start a design system after the third button that looks almost, but not quite, like the other two. The cost is rarely the button; it is the conversation every time someone has to choose.</p>
<p>A system turns those conversations into decisions made once, written down where people work.</p>
</Prose>
<Prose>
<p>We work in short cycles with the people who will use the result:</p>
<ul>
<li>Name the parts the way the team already talks about them.</li>
<li>Write down when to use each one, and when not to.</li>
<li>Let the build check what people forget.</li>
</ul>
</Prose>
</div>
</Section>
Show codeHide code
---
/**
* Section simple 03: A heading block over two columns of body text.
*
* @block content
* @order 18
*/
import Section from '@/components/apogee/Section/Section.astro'
import SectionHeader from '@/components/apogee/SectionHeader/SectionHeader.astro'
import Prose from '@/components/apogee/Prose/Prose.astro'
import { plain } from '@/components/apogee/sections/_shared/spine.ts'
import type { ContentContent } from '@/components/apogee/sections/_shared/content.ts'
/** @composable */
interface Props extends ContentContent {}
const {
eyebrow = 'Features',
heading = 'Beautiful analytics to grow smarter',
description = 'Powerful, self-serve product and growth analytics to help you convert, engage and retain more users.',
} = Astro.props
---
<Section spacing="large">
<SectionHeader eyebrow={eyebrow ?? undefined} heading={plain(heading)} description={description ?? undefined} class="mb-12 max-w-3xl" />
<div class="grid gap-8 md:grid-cols-2 md:gap-16">
<Prose>
<p>Most teams start a design system after the third button that looks almost, but not quite, like the other two. The cost is rarely the button; it is the conversation every time someone has to choose.</p>
<p>A system turns those conversations into decisions made once, written down where people work.</p>
</Prose>
<Prose>
<p>We work in short cycles with the people who will use the result:</p>
<ul>
<li>Name the parts the way the team already talks about them.</li>
<li>Write down when to use each one, and when not to.</li>
<li>Let the build check what people forget.</li>
</ul>
</Prose>
</div>
</Section>Add
npx @ava-ui/apogee add content/section-simple-03
This copies the block to src/components/apogee/blocks/content/ with everything it uses: Prose, Section, SectionHeader. Every piece of copy is a prop, with the sample copy as its default. Pass yours, or null to hide a part; see copy is props.
Accessibility
- The heading is an
h2by default, so the block slots into a page under itsh1; item titles are one level down.
Related
ProseTypography styling for a block of rich, CMS, or markdown HTML you don't control element by element.
ShareLinksWays to pass a page on; Copy link, the device's share sheet and email.
TableOfContentsThe sections of a long page as in-page links in a named nav; one level of nesting and a current marker.