Skip to content

Naming conventions ​

How to build and use unique names for widgets to make them recognizable and verbose, and to ensure encapsulation.

HTML selectors proposal ​

Format:

widget-{team-name}-{description}

Example: widget-nsweb-station-list

TIP

Use the team name which your team uses on Nexus or Azure Devops

Widget bundle file name proposal ​

Format:

{team-name}-{description}.widget.js

Example: nsweb-station-list.widget.js

Prefix Nessie webcomponents proposal ​

Format:

{team-name}-

Example: nsweb-nes-button

Learn more about using Nessie webcomponents in widgets