Skip to main content

Graphical components

This section references the Blazor components of Lagoon (Lg prefix). Each page details the properties, events, and public methods verified against the framework's source code.

The table below lists all documented components, grouped by use. Click on a component to access its reference page.

Interacting with users​

Buttons & actions​

ComponentDescription
LgButtonStandard button handling user actions (variants, icons, confirmation, link).
LgActionPanelHorizontal area combining a main action on the left and a toolbar on the right.
LgCopyButtonButton that copies a value to the clipboard.
LgPasteButtonButton that pastes text from the clipboard.
LgLabelActionRead-only value accompanied by a label and an action button.

Toolbars​

ComponentDescription
LgToolbarToolbar container organizing buttons, groups, and menus.
LgToolbarButtonButton adapted for toolbars (rendered as button or menu item).
LgToolbarGroupGroups multiple toolbar elements in a btn-group.
LgToolbarMenuAdds a dropdown menu to a toolbar.
LgCrudToolbarButtonToolbar button with secondary actions (rename, save, delete).
ComponentDescription
LgHyperlinkHyperlink.
LgNavLinkNavigation link with active state management.
LgNavigationBoxNavigation search area.

Editing & input​

ComponentDescription
LgHtmlEditorHTML editor (Jodit) bound to @bind-Value and validatable in an LgEditForm.
LgInputFileSelection, upload, download, and deletion of attached files.
ComponentDescription
LgModalDraggable modal window (title, content, footer, toolbar, close confirmation).

Labels & icons​

ComponentDescription
LgIconIcon from the Lagoon library, with optional tooltip and click.
LgLabelTranslated label, associable to a field via the for attribute.
LgTitleSection title rendered as h1 to h6.

Forms​

Form & validation​

ComponentDescription
LgEditFormEdit form with validation (DataAnnotations, IValidatableObject, ModelState).
LgValidatorAdding custom validation errors (business rules, server errors) to the form.

Input fields​

ComponentDescription
LgTextBoxText field (simple, multiline, password, input mask).
LgNumericBoxNumeric input (format, decimals, rounding, increment buttons).
LgSummaryBoxLong text edited in a modal window, with optional HTML editor.
LgTagBoxInput of a list of text values as tags.
LgSuggestBoxText field with suggestions filtered during input (local or remote source).
LgColorPickerBoxColor selection from a palette, with hexadecimal input.

Selection​

ComponentDescription
LgSelectSelection of a single value from a dropdown list.
LgCheckBoxCheckbox.
LgCheckBoxListMultiple selection by checkbox list.
LgRadioGroupRadio button group for single selection.
LgToggleBoolean switch (on/off) with customizable text.

Date & time​

ComponentDescription
LgDateBoxInput and selection of a day (calendar, bounds, formats).
LgMonthBoxMonth selection.
LgWeekBoxWeek selection (ISO number).
LgYearBoxInput and selection of a year (int).
LgTimeBoxInput of a time (mask or interactive clock).

Containers & layout​

Frames​

ComponentDescription
LgFrameStructuring container (header, body, summary, footer, toolbar, collapsible).
LgFilterFrameReady-to-use filter panel (reset, advanced filters).

Other containers​

ComponentDescription
LgAccordionAccordion of LgAccordionPane panels with only one open at a time.
LgCardClickable, navigable, or commandable content card (+ LgCardSeparator, LgCardStripe).
LgPagerPagination bar (known or unknown total pages).
LgSplitContainerTwo resizable panels separated by a grip.

Application structure​

ComponentDescription
LgMenuConfigurationCentralized declaration of the main menu, sidebar, and toolbars.
LgMenuItemNavigation or action entry in the menu.
LgMenuTitleSection title in the menu.
LgMenuSeparatorSeparator line between menu action groups.

Tabs​

ComponentDescription
LgTabContainerHorizontal tabs (activation, opening, closing, moving, reloading).
LgSideTabContainerSide tabs with resizable column.
ComponentDescription
LgBreadcrumbTrailBreadcrumb trail to locate the user in navigation.

Authorization​

ComponentDescription
LgAuthorizeViewConditions the display and editing of a UI area to policies.
LgCascadingPoliciesPropagates validated policies to a subtree of components.

Data & lists​

Grids​

ComponentDescription
LgGridViewData grid (display, filter, sort, group, paginate, select, edit, export).

Grid columns​

ComponentDescription
LgGridTextColumnText column (string value) and base for common parameters.
LgGridCustomColumnGeneric column linked to a value of any type.
LgGridBooleanColumnBoolean column as a checkbox.
LgGridColorColumnColor editing column from a palette.
LgGridDateColumnDate column (day or month precision).
LgGridMonthColumnMonth column (MM/yyyy) of a date value.
LgGridWeekColumnWeek column (week number) of a date value.
LgGridYearColumnYear column (yyyy) of a date value.
LgGridTimeColumnHour or duration column.
LgGridNumericColumnNumeric column with formatting, prefix, and suffix.
LgGridEnumColumnEnumeration column with selection filter.
LgGridEnumListColumnEnumeration list column (multi-selection).
LgGridSelectColumnColumn linked to a data source for display, editing, and filtering.
LgGridSelectMultipleColumnColumn for editing and filtering a collection of values.
LgGridSelectionColumnRow selection column (multiple or single).
LgGridImageColumnColumn displaying an image from a URL or computed path.
LgGridTagBoxColumnColumn of free text tags.
LgGridSummaryColumnColumn suited for long text and editable HTML content.
LgGridCommandColumnColumn displaying a button or command menu.
LgGridEditColumnInline editing column (Edit / Save / Cancel / Delete).
LgGridSeparatorColumnVertical separator column between column groups.

Timeline​

ComponentDescription
LgTimelineContainerContainer of a series of LgTimelineStep steps in a horizontal timeline.
LgTimelineStepValidatable step in a timeline (labels, central content, clickable state).

Sliders​

ComponentDescription
LgSliderSlider for selecting a single value on a bounded scale.
LgSliderRangeSlider for selecting a range between two bounds.

Other data presentations​

ComponentDescription
LgCalendarAnnual or multi-month calendar, with one line per day.
LgListViewCustomizable list with local or remote loading, sorting, filters, pagination, and selection.
LgTreeViewCollapsible tree structure for hierarchical data.
LgWorkSchedulerInteractive workload schedule (tasks, milestones, drag-and-drop).
LgLeafletMapLeaflet map (Blazor container driven by the LeafletMap object).
LgDocumentDocument display (image, video, frame) uploaded via a blob.
Charts (Chart.js)Chart integration via a third-party package (no native component).

Feedback​

Messages​

ComponentDescription
LgBannerContextual information banner persistent on the page.
LgBigMessageFull-page centered message (icon, title, description).
LgEmptyMessageEmpty state displayed when an area contains no data.
ToastsBrief non-blocking feedback triggered by LgComponentBase methods.

Progress indicators​

ComponentDescription
LgProgressHorizontal progress bar (bounded or indeterminate).
LgCircleProgressCompact circular progress.
LgLoaderViewLoading state automatically replaced by final content.

Notifications​

ComponentDescription
LgNotificationMenuItemNotification entry in the menu (icon, unread counter, list).
LgNotificationItemIndividual notification rendering.
LgNotificationCounterNotification number badge.
Notification systemNotification system guide (module Lagoon.UI.Notifications).
WebPush NotificationsBrowser notifications at the operating system level.
Remote Progress & Background TaskTracking of a long-running server task via SignalR.