- Implementation
- ArtifactCard Props
Common Examples
To use theArtifactCard, 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
Usedescription 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
titlenames the whole-card button. - The artifact-type icon and trailing arrow are decorative.
- Users activate the focused card with Enter or Space.
titleLevelpreserves document structure independently of visual styling.