Registration
Prefix
Custom Element tags register globally in the browser so you must scope elements to prevent collisions.
- nve-* Elements
- [plugin/app abbrev]-* Plugins/Apps
Conventions
Tag names should avoid using verbs or actions within the name. The properties and events of the element should describe verbs or actions. Examples:
Do Don't
<nve-select></nve-select>
<nve-select></nve-select>
<nve-selection></nve-selection>
<nve-selection></nve-selection>
๐ Learn: elements should follow common and established names for existing UI patterns. See openui.org for more details on upcoming specs.
๐ Learn: learn common component names from the Open UI component name matrix.