Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Content Blocks for Astro

Astro media-and-text sections for explanations, stories, and project details.

Stacked media

Put the explanation before a full-width media area.

Prepare three tickets for a routing test

In the gnostic AI sample, one customer needs an invoice, one needs help with setup, and one asks for both. Have the support lead record the expected owner for each.

  • Copy each original message into the test queue
  • Assign the invoice request to billing
  • Assign the setup question to support
  • Send the mixed request to an intake reviewer
Winter landscape
bunx --bun shadcn@latest add @gnostic/content-1

Metrics and materials

Present measurements and material samples in two linked sections.

gnostic AI · Invoice review

Why did this invoice stop?

The supplier billed $264 against a $240 purchase order in this sample.

$24 over the order

The reviewer needs both source documents before deciding what to do.

Billed amount

$264

Total on the disputed invoice.

Sample invoice

How to check the difference

Use the totals from the invoice and its purchase order.

How much more did the supplier bill?

Subtract the $240 order from the $264 invoice. Record the $24 difference on the draft.

bunx --bun shadcn@latest add @gnostic/content-metrics-and-materials

Split media

Keep a supporting image beside the explanation.

What happens when two queues match?

Run the mixed ticket through the rule. Check that the reviewer receives both questions before deciding who should answer first.

  • Keep both questions in the ticket
  • Record the queue the rule suggests
  • Compare it with the expected owner
bunx --bun shadcn@latest add @gnostic/content-2

Features tabs

Give each tab a heading, a description, and an image. Select a tab or a dot to show its image.

Which image tags should the editor keep?

In this gnostic AI sample, a tool suggests a search tag for each illustration. Select a tag to compare it with the image.

A white spaceship in a forest clearing
bunx --bun shadcn@latest add @gnostic/features-tabs

Spread header

Arrange the heading and actions above the media.

Run the same tickets after a rule change

A change that sends the setup question to the right queue can also move the billing request. Repeat all three cases and record which assignments changed.

bunx --bun shadcn@latest add @gnostic/content-3

Wide media

Give the media more room than the supporting text.

Can the queue owner take over?

Ask the incoming support lead to pause the routing rule in the test queue and assign a waiting request. Keep the test tickets and expected owners with the handoff notes.

  • Find the requests that are still waiting
  • Assign one request by hand
  • Repeat the saved tests when the rule changes
bunx --bun shadcn@latest add @gnostic/content-4

Product introduction

Place partner logos above a large heading and product image.

gnostic AI

Keep the tenant’s original words

The work order pilot keeps the request beside the draft. A reviewer can check the unit number and the reported problem before scheduling a repair.

Mountain ridge beyond a lake
bunx --bun shadcn@latest add @gnostic/content-logo-statement

Results and method

Pair a main result with metric cards and expandable method notes.

gnostic AI · Sample invoice test

Which invoices should reach approval?

These are the expected results for three test submissions against one purchase order. Compare them with the queue after each test run.

1 of 3 ready for approval

Only the original invoice with the matching total should reach the usual approval queue.

Matching invoice

$240

The billed amount agrees with the order.

Fictional sample

Disputed invoice

$264

The billed amount exceeds the order by $24.

Fictional sample

Duplicate copies

1

The third submission repeats the supplier and invoice number from the first.

Fictional sample

How to read the queue

Check the route of each submission before counting the drafts ready for approval.

Does the second copy count as a new bill?

Count it as a test submission. It should point to the original draft and stay out of the approval queue.

What if the disputed invoice reaches approval?

Record the wrong route, correct the rule, and repeat all three submissions.

bunx --bun shadcn@latest add @gnostic/content-metrics-methodology

Image strip

Mara Reed, automation consultant

In this sample gnostic AI portfolio, Mara tests a billing ticket, a returns question, and a disputed invoice. Her field notes show where each case needs a person to review it.

  • Workflow mapping
  • Pilot testing
Pilot reviewergnostic AI sample team
Weeks 1–2
Mountain ridge beyond a lake

Recent works

bunx --bun shadcn@latest add @gnostic/content-image-strip

Split statement

Supply your own content. The section uses the selected project preset.

2

What needs repair, and where?

The pilot checks two details before it sends a draft work order for review: the problem and the unit number.

bunx --bun shadcn@latest add @gnostic/content-split-statement
PropType
contentSplitStatementContent

Section content.

TypeSplitStatementContent
class?string

Classes added to the root.

Typestring

Story and statistics

Supply your own content. The section uses the selected project preset.

gnostic AI · Sample invoice pilot

Follow an invoice through three checks

Run the original bill first. Then change the total on a new bill and send a second copy of the original.

  1. First submission

    Match the order

    The $240 invoice matches the purchase order. Send its draft to the usual approval queue.

    Mountain ridge beyond a lake
  2. Second submission

    Hold the disputed total

    A new invoice number shows a $264 total. Give the reviewer both documents and the $24 difference.

    An illustrated entrance hall
  3. Third submission

    Find the original draft

    The copy repeats the first invoice number from the same supplier. Link it to the first draft for review.

    Illustration of an open field
bunx --bun shadcn@latest add @gnostic/content-story-stats
PropType
contentStoryStatsContent

Section content.

TypeStoryStatsContent
class?string

Classes added to the root.

Typestring

Editorial about

Use this section for the about part of a studio site.

Sample invoice intake

One order, three ways to test intake

The gnostic AI sample uses a matching invoice, a disputed total, and a duplicate to test the queue before a team connects it to live bills.

Purchase order total
$240
Test submissions
3
bunx --bun shadcn@latest add @gnostic/content-wordmark-stats
PropType
labelstring

Section label.

Typestring
titlestring

Main statement.

Typestring
descriptionstring

Supporting copy.

Typestring
wordmarkstring

Decorative wordmark.

Typestring
stats{ label: string; value: string }[]

Studio statistics.

Type{ label: string; value: string }[]
class?string

Classes for the root element.

Typestring

See serif accent font setup when installing this section.

Editorial project milestones

Each row pairs an organization and a project with a short title. This example uses the title for the check each team makes. The pilot field notes describe the three test cases.

gnostic AI · Sample project credits

Who checks each pilot?

Support operations

Verify that a mixed billing and setup ticket reaches a reviewer

Ticket routing

Customer support

Check which items need their original packaging before sending a reply

Reply review

Accounts payable

Check the extra $24 against the purchase order

Invoice intake

bunx --bun shadcn@latest add @gnostic/awards-credit-list

See serif accent font setup when installing this section.

Image strip benefits

gnostic AI

Test the intake rule with two requests

Mountain ridge beyond a lakeAn illustrated entrance hallIllustration of an open field

Where should each request go?

Report the same leak twice. Include the unit number in the first request and leave it out of the second.

  • Unit given: send the draft for review
  • Unit missing: ask the tenant
bunx --bun shadcn@latest add @gnostic/content-image-strip-benefits

Benefits stats

Try invoice intake with three sample bills

Use the gnostic AI test queue to see which draft can go to approval and which two need a closer look.

  • Check a price difference
  • Catch a second copy
Open the invoice test guide
Mountain ridge beyond a lake
Sample invoices
3
Purchase order
1
bunx --bun shadcn@latest add @gnostic/content-benefits-stats

Video demonstration

A local video with a poster, playback controls, and a caption.

Animation study

Over the rooftops

Watch a short landscape animation.

0:00 / 0:00
A study of light and motion.
bunx --bun shadcn@latest add @gnostic/content-video-demo

Split image and story

An imported image beside plain text and an optional action.

Mountain ridge beyond a lake

Work order intake

A leaking tap, but which unit?

A tenant reports a leaking kitchen tap. The message gives the building address but leaves out the unit number.

The intake rule saves the tenant’s message with the draft. A coordinator asks for the unit number before sending the work order for review.

See the pilot steps
bunx --bun shadcn@latest add @gnostic/content-split-story

Choose a content layout

Choose a content layout that fits the balance between your text and media. A short explanation can sit beside one image; a longer story may need several sections with separate headings.

Pass content from Astro

Pass the chosen variant’s title, description, optional features, buttons, and image data. Keep the text structured rather than placing an entire page in one description string. Use slots where the block exposes them for richer markup.

Responsive layout and images

Review the order when columns stack on small screens. Import local images for props typed as ImageMetadata and choose a crop suited to the displayed ratio. Check that text remains readable when the image is missing or delayed.

Compose the next section

Use Hero for the opening statement, Features for a set of benefits, and CTA for the next action.

Named slots

These slots are optional. Use the slot name on a direct child of the block.

content-image-strip-benefits

PropType
brand?Astro content

Sets the brand above the heading.

TypeAstro content
DefaultText from data.brand

content-benefits-stats

PropType
image?Astro content

Replaces the image beside the benefits.

TypeAstro content
DefaultAstro Image from data.image
PropType
mark?Astro content

Places the same mark before each case label.

TypeAstro content

image-compare-slider-section

PropType
slider?Astro content

Replaces the entire comparison control.

TypeAstro content
DefaultImageCompare with beforeImage, afterImage, and startingPosition

split-image-left

PropType
image?Astro content

Replaces the image next to the text.

TypeAstro content
DefaultImage from the image prop