Skip to content

Settings

App card

AppCard — exported from the library at `src/components/apps/AppCard.tsx`. Awaiting a written description.
Available
Ports as-is

Examples

Rendered live from the maintained Storybook story. Lantern stores only the story id and embeds Storybook rather than duplicating the component or its demo.

App card

Rendered live from Storybook

Storybook must be running for this to load — bun run start:storybook from the monorepo root, or set NEXT_PUBLIC_STORYBOOK_URL to a deployed instance.

Props

The component's public API, read from its TypeScript source. Descriptions come from TSDoc on the prop, so this table cannot drift from the component.

PropTypeDefaultDescription
app*AppListing—Undocumented — add TSDoc to the prop in the library.
installedbooleanfalseShows the "Installed" pill over the cover.
onClick() => void—Fired when the card is activated. Replaces the source's `navigate()`.
hrefstring—Renders the card as an anchor instead of an `<article>`, for hosts that want a real link. `onClick` still fires.
coverIsLightboolean—Forces the "Installed" pill's contrast treatment: `true` = dark scrim (`bg-black/20`) for light artwork, `false` = light scrim (`bg-white/10`). Supplying it disables the sampling pass below, which is what every story does — see the note on determinism.
classNamestring—Undocumented — add TSDoc to the prop in the library.

Reference

Transcribed from the component audit. If this disagrees with the source, the source is right.

Source
src/components/apps/AppCard.tsx
Portability
Copies across unchanged — only the utils import path moves.