carbon-components
Version:
The Carbon Design System is IBM’s open-source design system for products and experiences.
21 lines (18 loc) • 802 B
HTML
<!--
Copyright IBM Corp. 2016, 2018
This source code is licensed under the Apache-2.0 license found in the
LICENSE file in the root directory of this source tree.
-->
<div class="bx--form-item">
<strong class="bx--file--label">Account
photo</strong>
<p class="bx--label-description">Only .jpg and .png files. 500kb max file size.</p>
<div class="bx--file" data-file data-file-demo-state-manager>
<label for="legacy-file-uploader" class="bx--file-btn bx--btn bx--btn--primary"
role="button" tabindex="0">Add file</label>
<input type="file" class="bx--file-input" id="legacy-file-uploader" data-file-uploader
data-target="[data-file-container]" multiple />
<div data-file-container data-file-drop-container class="bx--file-container">
</div>
</div>
</div>