data-* attributes on the script tag. No code changes required.
Full Example
Options Reference
data-theme
Controls the widget’s color scheme.
| Value | Description |
|---|---|
auto | Matches the user’s system preference (default) |
light | Light background, dark text |
dark | Dark background, light text |
data-accent
Sets the accent color used for buttons, highlights, and the element selector. Accepts any hex color.
Default: #01adae
data-position
Controls which corner the widget appears in.
| Value | Description |
|---|---|
bottom-right | Bottom-right corner (default) |
bottom-left | Bottom-left corner |
data-trigger
Controls the style of the trigger button that opens the feedback panel.
| Value | Description |
|---|---|
fab | Floating action button with an icon (default) |
text | Inline text button |
tab | Tab attached to the edge of the screen |
none | No trigger — use your own button with Clayzo.open() |
data-trigger-text
Custom label for the trigger button. Only visible with the text and tab trigger styles.
Default: Feedback
Custom Trigger (BYO Button)
Setdata-trigger="none" to hide the default widget button, then call Clayzo.open() from anywhere in your UI:

