API reference
components/store-card
Import
Section titled “Import”import * as api from "@fungi.computer/caps/molecules/store-card";Exports
Section titled “Exports”| 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”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.
StoreCard()function
Section titled “StoreCard()”function StoreCard(__namedParameters): Element;Caps owns the cover, copy, metadata and independent interaction states.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
StoreCardProps |
Returns
Section titled “Returns”Element