Skip to content

<CldUploadButton />

The CldUploadButton creates a button that wraps the CldUploadWidget giving you an easy way to add upload capabilities to your Svelte app. It’s recommended you use CldUploadWidget directly and bring your own button.

Basic Usage

<script>
import { CldUploadButton } from 'svelte-cloudinary';
</script>
<CldUploadButton uploadPreset="<Upload Preset>" />