{#if label}
{label} {#if required}
*
{/if}
{/if}
{#if prefixIcon}
{/if} {#if colorSwatch && isValidHexColor}
{/if} {#if type === 'textarea' && isTextarea(restProps)}
{:else}
{/if} {#if suffixIcon}
{/if} {#if colorSwatch}
{/if}
{#if (error || helpText || showCharCount) && !disabled} {/if}