---
id: portfolio.ds.action-block
name: "Action Block"
type: component
status: active
relations: [{"type":"composes","target":"portfolio.ds.surface-button"}]
sources: ["packages/design-system/src/components/ActionBlock.astro","apps/portfolio-site/src/design-system/docs/action-block.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/action-block.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/action-block.astro"]
---
# Action Block

## Purpose
Heading-free pair of large calls to action, intended after Package Hero on Homepage.

## Contract
- Listed directly under Blocks, with Surface Button as its child and existing block routes unchanged.
- Accepts primary and secondary action records. Owns composition, not child interaction styling or business destinations.
- Exactly two Surface Buttons: primary first, secondary second. No title or descriptive prose.
- Mobile (up to 640px) stacks vertically; Tablet, Desktop and Ultra-wide use equal-width columns in one row.
- Uses semantic block side/bottom padding and gap tokens, with no additional top padding after the preceding block; children stretch to equal row height without truncating text.
- The two-button grid stays in normal flow without scroll-linked translation, fade or an internal vertical scroller. The master has no scroll listeners, motion observers or motion-clearance reserve in any consumer.
- Buttons keep their own interaction states and Reduced Motion rules. Their keyboard focus rings are not clipped.
- Actual usage and isolated Preview use the same layout; the Preview adds no extra motion-stage padding.
- Defaults are empty action records so Surface Button supplies its own abstract label; the parent must not duplicate child fallback copy or invent destinations. Preview controls use the established ComponentPreview shell.
- Production labels and actions are supplied by the route; no production copy belongs in isolated DS Preview.
- Homepage uses Get started (primary) and Request a demo (secondary), with localized mailto subjects/bodies. A future Get started form is tracked separately in #0142.

## Verification
- Confirm child order and absence of headings; check all four Preview breakpoints and actual viewport widths.
- Confirm no horizontal overflow with wrapped labels.
- Confirm forward/reverse scrolling does not translate or fade the grid, focus outlines remain visible, and the spacing after the last Package Item uses ordinary block tokens without changing package row height.
- Run the Design System graph validation.

## Use
- Two prominent page actions without an additional section heading.

## Do Not Use
- Do not replace compact toolbar controls or invent business destinations in the component.

## Accessibility
- DOM order matches reading and tab order at every breakpoint. Native semantics belong to Surface Button.
