Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

CompanyProfile Container

Manages company profile information including legal name, VAT/Tax ID, contact details, and payment/shipping configurations.

Version: 1.0.0-beta27

Configuration

The CompanyProfile container provides the following configuration options:

ParameterTypeReq?Description
classNamestringNoAdds custom CSS classes to the container element. Use to override default styles, integrate with existing design systems, or apply conditional styling based on application state.

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
CompanyDataSlotPropsNoCustomize company profile information display.

Usage

The following example demonstrates how to use the CompanyProfile container:

import { render as provider } from '@dropins/storefront-company-management/render.js';
import { CompanyProfile } from '@dropins/storefront-company-management/containers/CompanyProfile.js';
await provider.render(CompanyProfile, {
className: "Example Name",
slots: {
// Add custom slot implementations here
}
})(block);