---
title: "Download"
subtitle: "<Download> downloads a single file, or several files bundled as a ZIP."
---

Download a single file, or bundle multiple files into a ZIP in the browser:

```mdx
<Download src="/assets/logo.svg" filename="butterix-logo.svg">
  <Button icon="lucide:download" outlined>Download logo (light)</Button>
</Download>

<Download sources={["/assets/logo.svg", "/assets/logo-dark.svg", "/assets/favicon.svg"]} filename="butterix-brand.zip">
  <Button icon="lucide:package" outlined>Download brand kit</Button>
</Download>
```

<ButtonGroup>
  <Download src="/assets/logo.svg" filename="butterix-logo.svg">
    <Button icon="lucide:download" outlined>Download logo (light)</Button>
  </Download>
  <Download sources={["/assets/logo.svg", "/assets/logo-dark.svg", "/assets/favicon.svg"]} filename="butterix-brand.zip">
    <Button icon="lucide:package" outlined>Download brand kit</Button>
  </Download>
</ButtonGroup>

<ParamField path="src" type="url">A single file, relative to the current page or an absolute URL. Use either this or `sources`.</ParamField>
<ParamField path="sources" type="string[]">Multiple URLs (or project paths), bundled into a ZIP in the browser; with only one, it downloads directly.</ParamField>
<ParamField path="filename" type="string">Download file name; ZIPs default to `download.zip`.</ParamField>
