Tag helpers

Principles

Introduction

  1. Use native HTML elements and features
  2. Minimize need to JavaScript
  3. Allow Customization
  4. Brevity
  5. Data binding

Use Native HTML elements

Minimize the need for Javascript

Easy customization

via

  • composability
  • DuneUI template component
  • central style configuration

Brevity

Can use shorthand format, e.g. avatar, fields, etc

Data binding

On this page

IntroductionUse Native HTML elementsMinimize the need for JavascriptEasy customizationBrevityData binding