Skip to content
API reference

components/store-card

Import
import * as api from "@fungi.computer/caps/molecules/store-card";
Kind Export Description
type alias StoreCardProps A shelf entry with independent opening and acquisition controls.
function StoreCard() Caps owns the cover, copy, metadata and independent interaction states.

StoreCardPropstype alias

Section titled “StoreCardProps”
Signature
type StoreCardProps = Omit<HTMLAttributes<HTMLDivElement>, "title"> &
Readonly<{
title: string;
tagline: string;
variant?: "listing" | "cartridge" | "server";
layout?: "stack" | "split";
cover?: ReactNode;
icon?: ReactNode;
seller?: ReactNode;
price?: PriceTagProps["price"];
badges?: readonly string[];
action?: ReactNode;
href?: string;
onSelect?: () => void;
}>;

A shelf entry with independent opening and acquisition controls.

Signature
function StoreCard(__namedParameters): Element;

Caps owns the cover, copy, metadata and independent interaction states.

Parameter Type
__namedParameters StoreCardProps

Element