Branding Preview
Preview tenant branding customization
SaaSTenant Admin
Overview
BrandingPreview renders a visual preview of tenant branding settings. It displays three sections: a simulated sidebar with the primary color, a mock login page with the accent color on the sign-in button, and a side-by-side color palette swatch. An optional logo URL replaces placeholder elements.
Usage
import { BrandingPreview } from "@leanicon/web-builder-library/saas";
<BrandingPreview primaryColor="#1e40af" accentColor="#3b82f6" />;Variants
Default
Preview
Sidebar
Login Page
Color Palette
Primary
#1e40af
Accent
#3b82f6
Dark
Preview
Sidebar
Login Page
Color Palette
Primary
#1e40af
Accent
#3b82f6
With Logo
Preview
Sidebar
Login Page
Color Palette
Primary
#7c3aed
Accent
#8b5cf6
Custom Colors
Preview
Sidebar
Login Page
Color Palette
Primary
#065f46
Accent
#10b981
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
logoUrl | string | — | No | |
primaryColor | string | — | Yes | |
accentColor | string | — | Yes |