Skip to content
Postkit

AudienceBoundary. An authored audience marker with a host-controlled visibility boundary.

  • Article structure
  • Static
  • Stability · Initial
  • :::postkit-audience-boundary

Audience: Postkit members

This section is available to the intended audience.

Usage.

<AudienceBoundary audience="Postkit members" showLabel>
  This section is available to the intended audience.
</AudienceBoundary>

Props. Always in step with the code.

PropTypeDefaultDescription
audienceRequiredstringNoneThe host-defined audience identifier.
fallbackstring"This section is available to a different audience."Fallback copy for an unauthorized viewer.
showLabelbooleanfalseWhether the audience label is visible.
Appearance
size"sm" | "md" | "lg""md"The component density and type scale.
variant"outline" | "subtle" | "plain""subtle"The component visual treatment.

Every component also takes unstyled and the part-styling props. Change a default for your whole site with defaults in createPostkit. Part styles

Anatomy. Every part is yours to restyle.

Every part

  • root
  • label
  • content
  • fallback

Renderers. One component, everywhere you publish.

  • Headless @postkit/reactSupported
  • Chakra @postkit/chakraSupported
  • Email @postkit/emailAs text
  • Astro @postkit/astroStatic
  • Web components @postkit/elementsPlanned
Postkit

Richer posts, written once, right everywhere.

© 2026 Postkit. MIT licensed.
LicensingPrivacy