Gov.om Design System — Blazor Reference

Blazor implementation of the GUP web-component library — 75 pages covering every component, form control, page template and layout foundation. All CSS and assets ship with the package; nothing requires npm.

Building with an AI assistant? Point it at this site and it can read the whole component reference — every parameter, slot, enum and example as plain markdown.

Start at https://gupdesign.sme.gov.om/docs — it carries the conventions and a worked example inline. Also /ai/index.md · /ai/conventions.md · /ai/patterns.md

Example prompt — copy this into your assistant:
Read https://gupdesign.sme.gov.om/docs and use GUPBlazor to build an SME licence application form.

Documentation

6

How to install the library and the conventions worth knowing before you build a page.

Tools

1

For checking a page before it ships.

Foundations

9

Tokens and layout primitives everything else is built from.

Components

51

The component set, grouped the way the upstream Storybook groups it.

Button

Button appearances, icons, disabled states, and button groups.

/demo/buttons

Button group

Groups of related buttons, with the stacking behaviour used on mobile.

/demo/button-group

Banner

Page-level messages in four severities, outline and filled appearances.

/demo/banner

Callout

Block quote with optional author, in three appearances.

/demo/callout

Badge

Status badges in the full colour range.

/demo/badges

Badge chip

Compact status chips with optional icon.

/demo/badge-chips

Filter chip

Removable chips for active filters.

/demo/filter-chip

Avatar

User avatar from initials or an image.

/demo/avatar

Tooltip

Hover and focus tooltip with placement options.

/demo/tooltip

Details

Single disclosure with quote, sink and none appearances.

/demo/details

Spinner

Indeterminate loading indicator in several sizes.

/demo/spinner

Page status

Empty, error and loading states for a whole page.

/demo/page-status

Labelled item

Label and value pair for read-only data.

/demo/labelled-item

File item

A single uploaded file row with size, link and remove action.

/demo/file-item

Screenreader text

Visually hidden text that assistive technology still announces.

/demo/screenreader-text

Skip link

Keyboard-only link that jumps past the header to main content.

/demo/skip-link

Search

Search field with submit and clear affordances.

/demo/search

Pagination

Page controls with previous/next and page-number buttons.

/demo/pagination

Feedback

Inline feedback prompt and rating control.

/demo/feedback

Header

The service header — brand, service name, language toggle and account area.

/demo/header

Content header

Page title, summary and optional actions at the top of a page.

/demo/content-header

Wizard main & footer

The wizard shell: main content region and the pinned Back/Continue footer.

/demo/wizard

Form components (all-in-one)

Input fields, form sections, checkboxes, radio buttons, and dropdowns on one page.

/demo/forms

Input field

Single-line text with label, hint, error and read-only states.

/demo/inputs/text

Email input

type=email with the WHATWG pattern and a leading icon.

/demo/inputs/email

Phone input

type=tel — raises the telephone keypad on mobile.

/demo/inputs/tel

Number input

type=number for incremental values; spinners included.

/demo/inputs/number

Date input

Native date control with RTL-aware mirroring.

/demo/inputs/date

Password input

Masked entry with a reveal toggle.

/demo/inputs/password

Textarea field

Multi-line entry with character counter.

/demo/inputs/textarea

Checkbox

Single, grouped and indeterminate states.

/demo/inputs/checkbox

Radio button

Radio groups, horizontal and vertical.

/demo/inputs/radio

Toggle

On/off switch with label and hint.

/demo/inputs/toggle

Dropdown

Single and multi-select with search, clear and grouped options.

/demo/inputs/dropdown

File upload

Drag-and-drop or browse, with file list and remove actions.

/demo/file-upload

Form section

Titled section with optional footer for action buttons.

/demo/form-section

Form list

Repeating rows of fields with add and remove controls.

/demo/form-list

Hint & validation message

The hint and error slots shared by every field component.

/demo/hint-validation

Error summary

Validation summary banner that links each error to its field.

/demo/error-summary

Read-only cascade

Lock every field on a page with one cascaded flag, plus GupReadOnlyRegion.

/demo/read-only-cascade

Breadcrumbs

Trail with current-item state; collapses to first and last below 599px.

/demo/breadcrumbs

Tabs

Default, toggle and vertical appearances, with tab panels and tabs navigation.

/demo/tabs

Stepper

The wizard progress indicator, with stepper items in complete, current and upcoming states.

/demo/stepper

Accordion

Collapsible sections, single or multiple open, including item actions.

/demo/accordion

Data table

Table chrome around GupTable — search, filter panel with removable chips, empty state, pagination footer.

/demo/data-table

Table & table cell

The table primitives — header, row and cell, including alignment and wrapping.

/demo/table-cell

Data display

Labelled items and key/value layouts for read-only data.

/demo/data-display

Data sheet

Bordered card grouping labelled items — order summaries and similar.

/demo/data-sheet

Dialog

Modal in five sizes including fullscreen, with action buttons.

/demo/dialogs

Flyout

Side panel from any edge — the mobile-friendly home for add-row forms.

/demo/flyout

Toast & toast container

Transient messages in four severities, stacked bottom-end by the global container.

/demo/toasts

Patterns

3

Compositions that solve a recurring task — built from the components above.

Page templates

5

Whole-page compositions — the shapes a service actually ships. Each is a faithful port of the matching upstream Storybook template.