Skip to main content

Login

LoginLogoExtension

Defines a custom logo component for the login page.

Signature
interface LoginLogoExtension {
component: React.ComponentType;
}

component

property
React.ComponentType

A React component that will replace the default Vendure logo.

LoginBeforeFormExtension

Defines content to display before the login form.

Signature
interface LoginBeforeFormExtension {
component: React.ComponentType;
}

component

property
React.ComponentType

A React component that will be rendered before the login form.

LoginAfterFormExtension

Defines content to display after the login form.

Signature
interface LoginAfterFormExtension {
component: React.ComponentType;
}

component

property
React.ComponentType

A React component that will be rendered after the login form.

LoginImageExtension

Defines a custom login image component that replaces the default image panel.

Signature
interface LoginImageExtension {
component: React.ComponentType;
}

component

property
React.ComponentType

A React component that will replace the default login image panel.

DashboardLoginExtensions

Defines all available login page extensions.

Signature
interface DashboardLoginExtensions {
logo?: LoginLogoExtension;
beforeForm?: LoginBeforeFormExtension;
afterForm?: LoginAfterFormExtension;
loginImage?: LoginImageExtension;
}

Custom logo component to replace the default Vendure logo.

beforeForm

Component to render before the login form.

afterForm

Component to render after the login form.

loginImage

Custom login image component to replace the default image panel.