> For the complete documentation index, see [llms.txt](https://sygnal.gitbook.io/sygnal-webflow-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sygnal.gitbook.io/sygnal-webflow-components/technical-notes/code-components/development-techniques.md).

# Development Techniques

## Versioning&#x20;

Code Components do not natively have a version indicator.  However, with the right build setup, you can modify the Name of the library in `webflow.json` to display the version.&#x20;

{% hint style="warning" %}
Do not modify the library ID, or deployments will create a new library rather than updating the current components.&#x20;
{% endhint %}

## Detect Environment&#x20;

|            |                                            |   |
| ---------- | ------------------------------------------ | - |
| Designer   | \<html> element has a w-design-mode class. |   |
| Preview    |                                            |   |
| Staging    |                                            |   |
| Production |                                            |   |
