Skip to content

InlineCardPlacement

InlineCardPlacement<C>(__namedParameters): any

Abstract inline card/embed placement rendered within the page flow.

Handles:

  • Visibility gating
  • Theme-aware card container with border, radius, padding
  • Optional image, header, body, and CTA
  • data-rt-placement="inline-embed" attribute

Extend by wrapping and injecting children for custom card bodies.

C extends ResolvedContent = ResolvedContent

InlineCardPlacementProps<C>

any

function FeatureCallout(props: PlacementSlotProps<MyContent>) {
return (
<InlineCardPlacement {...props}>
<FeatureGrid features={props.content.features} />
</InlineCardPlacement>
);
}