Direct-to-S3 / Azure tus 1.0 resume IndexedDB Golden Retriever 30 locales Webcam & screen capture

Custom Button

Replace the default browse button with your own styled button. Use the asp-button-text attribute or provide custom HTML.

What you should see: the default browse button replaced with your own label while the underlying file input stays hidden and fully keyboard-reachable.
Drag & drop files here, or paste from clipboard
<core-upload asp-upload-url="/api/upload/upload"
 asp-button-text="Choose Files..."
 asp-multiple="true"
 asp-progress="true">
</core-upload>

Changing the label

asp-button-text replaces the default Select Files. It is a small thing that does real work: a button that says what it will do in the context of the page — “Attach receipts”, “Upload scans” — removes the need for a separate instruction line.

Restyling goes further

asp-button-class puts your own classes on it, and the rendered markup carries stable class names, so a button matching your design system is CSS rather than configuration. Keep it a real <button> so keyboard focus and screen reader announcement keep working.