Design and customize in‑app messages using OneSignal’s HTML Editor for maximum flexibility, responsiveness, and branding.
Image illustrating code in-app code beside a rendered in-app
Image showing the HTML Editor beside the preview
data-onesignal-unique-label
on interactive elements so clicks are tracked and actionable.
div
, p
, li
<style>
blockshref
, src
, action
, and data
<script>
tagssafe-area-inset-*
variables to pad your layout:
<img>
with object-fit
), use modern formats when possible.font-display: swap
.