Showcase

Every Domma module, live - demos with their code, one page per module. Right-click any demo to copy its HTML or JavaScript, reset it, or open it on its own.

Core

Data

Dates

Moment-style dates: parse, format, compare and calculate.

  • Chainable API
  • Formatting & parsing
  • Relative time (fromNow)
  • Comparison & diff

Models

Reactive models with validation, computed values, effects and DOM bindings.

  • Pub/Sub events
  • Reactive data binding
  • Blueprint validation
  • Two-way DOM binding

Forms

Forms generated from a blueprint, with validation, wizards and CRUD.

  • Blueprint-driven generation
  • Automatic validation
  • Modal & wizard support
  • Complete CRUD helper

Tables

Data tables with sorting, filtering, pagination and export.

  • Sorting & filtering
  • Pagination
  • Row selection
  • CSV/JSON export

Blueprints

Unified schema system - define once, use everywhere for validation, forms, models, and CRUD.

  • Single source of truth
  • Form generation
  • Model validation
  • Blueprint composition

Reactivity

Dependency tracking - a write re-runs exactly the work that depends on it. Also published on its own as domma-reactive.

  • Observables and computed values
  • Effects, batched onto one flush
  • Usable without Domma

Bindings

Declarative bindings between markup and data, in a component template or on a page you already have.

  • data-bind-*, data-model,
  • data-on-*
  • Keyed lists that keep their DOM
  • CSP-safe - no eval

Dot notation

Read and write nested model fields with dot paths: user.address.city.

UI

Elements

Thirty UI components - modals, tabs, popovers, sortable lists and more.

  • Modals & tooltips
  • Tabs & accordions
  • Cards with effects
  • Config integration

Icons

200+ SVG icons in 15 categories, from a data-icon attribute.

  • 100+ icons in 8 categories
  • Render, inject, or scan
  • Size & colour options
  • Custom icon registration

Flags

Nation flags as inline SVG, by country code.

  • 50+ flags across 5 regions
  • Rect, rounded, square & circle
  • Render, inject, or scan
  • Custom flag registration

Themes

14 themes, each light and dark, switched live.

  • Light & dark themes
  • Ocean, forest, sunset variants
  • CSS-only or JS API
  • System preference detection

Effects

Typewriter, reveal, ripple, confetti and more, with reduced-motion respected.

  • Glow effects
  • Fireworks animations
  • Shadow utilities
  • Pure CSS implementation

Grid

12-column flexbox grid with mobile-first stacking, plus CSS Grid utilities.

Opacity & Translucency

Full opacity scale plus semantic translucency classes and a frosted glass variant.

  • 13-step opacity scale (0-100)
  • Semantic translucent utilities
  • Frosted glass effect
  • Hover variants with transitions

Accessibility & Text

Screen-reader-only text, skip links, line clamping, whole-card links and a divider with a word in it.

  • .sr-only / .visually-hidden and .skip-link
  • .line-clamp-1 to -5
  • .stretched-link
  • .divider-text

Sidebar

JSON-configured navigation sidebar: unlimited nesting, mobile drawer, theme variants.

Footer

Responsive footer in three layouts - simple, columns, minimal - with theme variants.

Tools