Getting Started with CldUploadButton

The CldUploadButton creates a button element that uses an instance of the Cloudinary Upload Widget to give you an easy way to add upload capabilities to your Svelte/SvleteKit app.

The CldUploadButton component wraps the CldUploadWidget component providing a pre-defined UI (a button). The same concepts apply, including having the option of using Signed or Unsigned uploads.

Basic Usage

<script>
  import { CldUploadButton } from 'svelte-cloudinary';
</script>

<CldUploadButton uploadPreset="<Upload Preset>" />

URL: undefined

Learn More about CldUploadButton


MIT 2023 ©