NV Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles Custom Elements Golang Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About Changelog Metrics Support Accessibility Contributions Requests Migration Foundations Overview Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Chat Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Dropzone

beta:  0.2.3 Coverage: 100.00% Bundle: 17.93kb Lighthouse: 100 Axe Core Released: 1.29.0
Overview API Examples

<nve-dropzone>

Properties

Property Attribute Description Values reset none

Resets the control value to its initial value.

() => void
setCustomValidity none
(message: string) => void
checkValidity none

Checks whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity

() => boolean
reportValidity none

Reports whether the control satisfies its constraints. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity

() => boolean
composedLabel none

Text content from labels associated with the control.

string
labels none
type none

The control type.

string
valueAsNumber none

The current value parsed as a number.

number
valueAsString none

The current value serialized as a string.

string
validationMessage none

The validation message shown when the control is invalid. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/validationMessage

string
validity none
willValidate none

Indicates whether the control participates in constraint validation. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/willValidate

true
false
form none
noValidate novalidate

Disables constraint validation for this control. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/novalidate

true
false
name name

The name submitted with the control value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/name

string
maxLength maxlength
number
minLength minlength
number
step step

Defines the value granularity for numeric inputs. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step

number
null
max max
number
null
min min
number
null
pattern pattern

Defines the pattern that text values must match. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern

string
required required

Requires a value before the parent form can submit. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required

true
false
disabled disabled

This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN

true The element has a disabled state and does not accept interaction.
false The element has an enabled state and accepts interaction.
readOnly readonly

Indicates whether the user can change the element's value while it remains visible and focusable. MDN

true The element has a readonly state: the user cannot change its value, but can still focus and copy it.
false The element allows editing and the user can change its value through interaction.
defaultValue none

The initial value used when the parent form resets.

string
value value

Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. MDN

array
formResetCallback none
i18n i18n

Enables updating internal string values for internationalization.

maxFileSize max-file-size
number
accept accept
string

Events

Event Description change

Dispatched when the value has changed (files located in event.target)

Slots

Slot Description content

default slot for content

icon

default slot for icon

default

use only when custom messaging requires it

CSS Properties

Css-property Description --color --min-height --padding --border-radius --border-color --background

CSS Parts

Css-part Description icon

The upload icon element