Widget Customization
Customise your import widget to match your brand and design system using the AppearanceConfig options.
Basic Example and Setup
const { showWidget, isImplerInitiated } = useImpler({
projectId: "",
templateId: "",
accessToken: "",
appearance: {
primaryColor: '#FF6B35',
fontFamily: 'Inter',
borderRadius: '8px'
}
});AppearanceConfig type definition
export type AppearanceConfig = {
widget?: {
backgroundColor?: string;
};
primaryColor?: string;
fontFamily?: string;
borderRadius?: string;
primaryButtonConfig?: ButtonConfig;
secondaryButtonConfig?: ButtonConfig;
};ApperaranceConfig Property with Available Customization Options
Quick Note
Last updated
Was this helpful?