Package

Front Components: Customer-Facing UI Building Blocks

Shared front-end controller and UI components for PrestaShop modules, with scoped styles and shared design tokens so customer-facing output stays consistent.

Front-end output that doesn't fight the theme

Module output on the customer-facing side of a PrestaShop store needs to blend with the active theme, matching its spacing, typography, colors, and interaction patterns. But it also needs to be consistent across modules and themes.

The Front Components package provides shared building blocks for customer-facing module output: a base front controller, scoped component styles and shared design tokens.

What it provides

  • Base front controller: a shared ModuleFrontController providing canonical URL and friendly-route behaviour. Front assets are registered by a separate helper.
  • Scoped styles: components use .mpr-* selectors so their rules stay inside their own markup
  • Responsive components: each component carries its own responsive styles and media queries
  • Theme tokens: some helpers pick up design tokens from the Theme Detector when that package is installed

Used by 29 modules

The participating customer-facing modules share these components and the same --mpr-* tokens.

← Back to Our Technology Stack

Loading...
Back to top