All blocks

Split with framed product shot

Hero
npx astralis-cli add hero-01
media-rightdual-ctaannouncement-pillstatslight-surface

Add it to your project

  1. Run the command: it writes components/blocks/hero-01.tsx and leaves the rest of your project untouched.

    npx astralis-cli add hero-01
  2. Import it where you need it. The block only depends on astralis-ui, so it compiles in any React project: no extra packages, no framework lock-in.

  3. Edit it. The copy, links and layout are plain JSX in your repo now. This is your file, not a dependency to configure around.

Composes AspectRatio, Badge, Box, Button, Container, Flex, Grid, Heading, Stack, Text.