s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Commerce · Components

VendorDetail

Props for the vendor detail/summary surface.

Public export

typescript
import { VendorDetail } from '@happyvertical/smrt-commerce/svelte';
Import path
@happyvertical/smrt-commerce/svelte
Props
11
Props described
11 of 11
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
vendorVendorDisplayDataYesVendor and Profile projection to render.
labelsPartySurfaceLabelsNoVendor terminology and action-label overrides.
contactLabelsPartyContactLabelsNoContact terminology overrides.
backHrefstringNoCaller-owned URL back to the vendor directory.
editHrefstringNoCaller-owned URL for editing this vendor.
canEditbooleanNoControls whether the edit affordance is presented.
minorUnitExponentnumberNoCurrency exponent used only for minor-unit display conversion.
localestringNoLocale used for currency display.
extensionPartyExtension<VendorDisplayData>NoConsumer content rendered after the standard vendor sections.
headlessbooleanNoOmits the built-in page header (title, subtitle, and its create/edit action) for hosts that frame the page themselves.
headerSnippetNoReplaces the built-in page header; not rendered when `headless` is set.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation