vscode-webview-ui-toolkit icon indicating copy to clipboard operation
vscode-webview-ui-toolkit copied to clipboard

Field label component

Open estruyf opened this issue 4 years ago • 3 comments

Feature/component description

Create a separate label component for your input fields: <vscode-label>Label<vscode-label>.

Use case

Fields that haven't been supported yet by the toolkit, can then be developed ourselves and still use the same label styles without the need to duplicate the styles.

estruyf avatar Oct 12 '21 08:10 estruyf

Great idea! We have this in the soon-to-be-released Figma toolkit. Agreed that it should be added here as well.

daviddossett avatar Oct 12 '21 19:10 daviddossett

Yep +1, I also really like this idea! I'd be happy to put this on my to-do list.

hawkticehurst avatar Oct 12 '21 20:10 hawkticehurst

Cool! Off the top of my head, a simple label will be a good first step. Could also consider configurations for required and slots of things like info icons as we go.

daviddossett avatar Oct 12 '21 21:10 daviddossett