Configuration
All widget options are configured via HTML data attributes.
Required Attributes
| Attribute |
Description |
data-capwave-upload |
Marker attribute that identifies this element as a widget container. No value needed. |
data-partner-id |
Your unique partner identifier provided by Capwave. |
Optional Attributes
Appearance
| Attribute |
Default |
Description |
data-max-width |
none |
Maximum width (e.g., 500px). Widget is fluid by default. |
data-min-width |
280px |
Minimum width for mobile responsiveness. |
Text Labels
| Attribute |
Default |
data-title |
Upload your deck for VC feedback and investor matches. |
data-button-text |
Upload your pitch deck |
data-file-types-text |
Max 25MB. Supports PDF, PPTX. |
data-legal-text |
Your data is safe with us. By uploading, you agree to our |
URLs
| Attribute |
Default |
Description |
data-base-url |
https://api.capwave.ai |
API endpoint base URL |
data-terms-url |
https://capwave.ai/terms |
Terms of service link |
data-policies-url |
https://capwave.ai/privacy |
Privacy policy link |
data-redirect-url |
(from API) |
Custom redirect URL after successful upload |
Behavior
| Attribute |
Default |
Description |
data-redirect-on-success |
true |
Whether to redirect after successful upload |
data-max-file-size |
26214400 |
Maximum file size in bytes (default 25MB) |
Full Example
<div
data-capwave-upload
data-partner-id="your-partner-id"
data-base-url="https://api.capwave.ai"
data-max-width="500px"
data-title="Submit your presentation for instant feedback."
data-button-text="Choose File"
data-redirect-on-success="false"
></div>