Skip to main content

Momah UI Components

Welcome to the Momah UI Components documentation. Momah Components is a production-grade library of enterprise UI components engineered specifically for ASP.NET MVC and ASP.NET Core applications.


Key Features

  • ASP.NET MVC Native: Direct Razor @Html.Momah() HtmlHelpers and <momah-*> TagHelpers with strong C# ViewModel lambda bindings.

Component Architecture & Structure

Every component is self-contained and offers unified client/server interaction:

  1. Razor Markup (_*.cshtml): Clean, accessible markup rendered directly by ASP.NET View Engine.
  2. C# Helper API: Fluent builder syntax for ViewModel property binding, validation rules, and configuration hooks.
  3. Styles & Scripts: Modular CSS variables and zero-dependency Vanilla JS event handling.

Component Library Overview

📝 Form Controls

High-performance inputs built for data entry, validation, and complex user selection.

ComponentDescriptionStatus
DualDateDual Hijri & Gregorian date selector with custom date constraints.NEW
DateInputStandard single date picker with culture formatting.STABLE
DateRangePreset range date selector (Today, Last 7 Days, Month to Date).STABLE
InputFieldFormatted text input with icon slots and validation state.STABLE
SelectInputSearchable dropdown selector with option grouping.STABLE
MomahSelectCustom styled select control with dynamic AJAX data loading.STABLE
FileUploadDrag-and-drop file uploader with progress tracking.STABLE
AttachBoxCompact file attachment container widget.STABLE
TextAreaMulti-line text input with auto-height and character counter.STABLE
CkEditorRich text WYSIWYG editor wrapper for Razor views.STABLE

📊 Data Display

Components designed for rendering structured server data cleanly.

ComponentDescriptionStatus
MomahTableServer-side datagrid with sorting, filtering, and pagination.UPDATED
BadgeStatus tag and category badge component.STABLE
AttachmentCardDocument preview card with download and deletion actions.STABLE

💬 Overlays & Feedback

Popovers, alerts, and modal dialogs for contextual user interaction.

ComponentDescriptionStatus
TooltipContextual popover tooltip with smooth micro-animations.STABLE
LabelTipInline form label hint helper icon.STABLE
BannerFull-width system notification alert banner.STABLE
NotificationToast notification manager engine.STABLE
StatusModalState feedback modal dialog with custom action buttons.STABLE

🧩 Navigation

ComponentDescriptionStatus
BreadcrumbSemantic breadcrumb trail component.STABLE

Quick Example

Render a component inside any Razor View (.cshtml):

@model UserProfileViewModel

<!-- DualDate Picker Example -->
@Html.Momah().DualDateFor(m => m.BirthDate)
.SetLabel("Date of Birth")
.SetMode(DualDateMode.HijriGregorian)
.SetRtl(true)
.Render()

Explore components from the Components category in the left sidebar or browse the Components Gallery!