UNPKG

@umbraco-ui/uui-symbol-file

Version:

Umbraco symbol-file custom element, displays a file

39 lines (27 loc) 888 B
# uui-symbol-file [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-file?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-file) ### See it in action Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-symbol-file--docs) ## Usage ```zsh npm i @umbraco-ui/uui-symbol-file ``` Import the registration of `<uui-symbol-file>` via: ```javascript import '@umbraco-ui/uui-symbol-file'; ``` When looking to leverage the `UUIInputElement` base class as a type and/or for extension purposes, do so via: ```javascript import { UUIInputElement } from '@umbraco-ui/uui-symbol-file'; ``` ## Example ```html <uui-symbol-file label="Username" type="text" placeholder="Enter your username..."></uui-symbol-file> <uui-symbol-file label="Password" type="password" placeholder="Enter your password..."></uui-symbol-file> ```