{#if tag === 'input'}
{#if type === 'text' || type === 'password' || type === 'search' || type === 'tel' || type === 'url'}
{:else if type === 'color'}
{:else if type === 'email'}
{:else if type === 'file'}
{:else if type === 'checkbox' || type === 'radio' || type === 'switch'}