Components

BaseAttachment

A file chip with its icon, name, size and a download button, used by chat and email.

components/ui/BaseAttachment.vue
View in the demo

Example

API

Props

Name
Type
Default
Description
name
required
string—The file name.
sizestring—The formatted size.
blockbooleanfalseFills the width of its container.

Events

Name
Payload
Description
@download[name: string]The download button was pressed; receives the name.
© 2026 melsami UI.
Developer documentation for melsami UI.