Components/blocks/Abstract Block

Abstract Block

Open Source
New

Scholarly summary block with measured content and rule-only structure.

API and behavior

Compound exports, owned slots, interaction law, and family hook routing.

Required props
children
Optional props
heading
Controlled props
None
Companion exports
AbstractBlock
Owned data-slot contract
abstract-blockabstract-block-titleabstract-block-content

Motif route

MOTIF_REGISTRY.abstract-block → apparatusTarget('abstract-block')

Keyboard

Document content retains native keyboard and selection behavior.

Accessibility

A real section and heading preserve article hierarchy.

Family hooks

Journal consumes abstract rules, measured body, heading, and density padding hooks.

Documented states
default abstractcustom headinglong measured content

Installation

npx shadcn@latest add @substrateui/abstract-block --yes

Upgrading a project that installed base before F1? Refresh the shared hooks first:

npx shadcn@latest add @substrateui/base --yes --overwrite

npm Dependencies

npm install class-variance-authority

Tags

journalabstractsummaryarticle