Lumeo

Center

A utility component that centers its children both horizontally and vertically.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Center />

Centered content

No image selected

Click the

icon to add an item.

API Reference

Center

Property Type Default Description
Height string? Fixed height as a CSS value (e.g. "200px", "10rem"). When unset, defaults to h-full.
Inline bool false Use inline-flex instead of flex for inline centering within text.