docbox docbox
  • About Mateu
  • Java
  • Kotlin
  • C#
  • Python
  • Design systems
  • Native
  • AI
GitHub repo
to navigate to select ESC to close
  • Create your project

    • Prerequisites
    • Springboot MVC
    • Springboot Webflux
    • Micronaut
    • Quarkus
    • Helidon MP
  • Java

      • Quickstart
      • First app
      • Admin panel
      • Distributed backoffice
      • Embedded UI
      • State, actions and fields
      • Validation
      • Field stereotypes
      • Declarative vs fluent
      • Action behavior
      • UI effects
      • Application shell
      • Navigation and menus
      • Foreign keys and options
      • Domain models
      • Rules
      • Breadcrumbs
      • Layout and composition
      • Custom web components
      • Extensibility
      • Testing
      • Security
  • Components

    • Overview
    • Layouts
    • Forms
    • Grids
    • Actions
    • The component tree
    • Supported components
    • Client-side logic
  • Java
  • Java
  • Advanced
  • Rules

Rules

Mateu lets you define dynamic client-side behavior declaratively with @Rule.

Rules are evaluated in the browser and can modify:

  • field attributes
  • values
  • styles
  • CSS classes
  • actions

Mental model

Rules define how the browser UI changes dynamically.

👉 See the full Interaction model in Mateu →