Section simple 04
Two columns of body text with no heading.
Last updated
---
/**
* Section simple 04: Two columns of body text with no heading.
*
* @block content
* @order 19
*/
import Section from '@/components/apogee/Section/Section.astro'
import Prose from '@/components/apogee/Prose/Prose.astro'
import type { ContentContent } from '@/components/apogee/sections/_shared/content.ts'
/** @composable */
interface Props extends ContentContent {}
const {
label = 'About our process',
} = Astro.props
---
<Section spacing="large" aria-label={label}>
<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 04: Two columns of body text with no heading.
*
* @block content
* @order 19
*/
import Section from '@/components/apogee/Section/Section.astro'
import Prose from '@/components/apogee/Prose/Prose.astro'
import type { ContentContent } from '@/components/apogee/sections/_shared/content.ts'
/** @composable */
interface Props extends ContentContent {}
const {
label = 'About our process',
} = Astro.props
---
<Section spacing="large" aria-label={label}>
<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-04
This copies the block to src/components/apogee/blocks/content/ with everything it uses: Prose, Section. 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.