Skip to main content

Common Examples

To use the ArtifactCard, pass a required title and onPress handler. The whole surface is a button, and the title is its accessible name.

Artifact type

artifactType selects a decorative icon for "invoice", "message", or "document". Omit it to render no leading icon.

Description

Use description for compact supporting text. Omit it for a title-only content area.

Heading level

titleLevel sets the semantic heading tag from h3 through h6 without changing the visual style. Choose the level that fits the surrounding document outline.

Overflow

Long titles and descriptions wrap inside the card.

Internationalization

ArtifactCard has no component-owned strings. Localize title and description before passing them to the component.

React Accessibility

  • The required title names the whole-card button.
  • The artifact-type icon and trailing arrow are decorative.
  • Users activate the focused card with Enter or Space.
  • titleLevel preserves document structure independently of visual styling.
Last modified on August 28, 2026