Engram

Bungie image

atom

Renders a Bungie image, resolving an ImageRef to a URL via @engram/core's configurable image base.

Install

npx shadcn@latest add @engram/bungie-image

Registry item: /r/bungie-image.json — the machine-readable definition agents install from.

Example

Festival Flight

Props

PropTypeDefaultDescription
src*ImageRef | stringAn Engram ImageRef (relative path + base) or an already-resolved URL.
altstringAlt text; falls back to the ImageRef's alt, then empty.
imageBasestringOverride the configured image base for this image only.

Dependencies

npm
@engram/core

Own the code: shadcn add copies this component's source into your repo to read and edit directly. Extend without forking — edit the source, use asChild to swap the element, or pass the typed annotations prop for curated data.