Add
data-terms="accepted" to your container element. This attribute is required and confirms you've read our Terms of Use.Common issues and solutions when integrating the Calendar Week widget.
data-terms="accepted" to your container element. This attribute is required and confirms you've read our Terms of Use.data-logic attribute to set the correct week numbering:data-logic="iso" - ISO 8601 (Monday start, EU standard)data-logic="us" - US standard (Sunday start)data-lang="de" for German or data-lang="en" for English. This affects labels like "Week" / "Woche" and day names.thecalendarweek.com.</p><p>Verify script placement: The script should load after the DOM container exists, or use the async attribute.</p><p>Check browser console: Look for network errors or blocked requests.</p>thecalendarweek.com/api/week.json.</p><p>Firewall/proxy: Corporate networks may block unknown domains. Contact your IT team if needed.</p>font-family from the parent element. Ensure your container element has the desired font applied, or that your body/html has a font-family set. Note: Some designs (Classic, Analog) use specific fonts for aesthetic purposes.data-size="large" for a larger variant with an icon.</p><p>For all designs: The widget scales with font-size. Set a font size on the container to control overall scale.</p>data-bg for background, data-text for text color, data-primary for accent color, and data-hover for hover effects.div.tcw-embed) has no inherent padding. Any spacing comes from your parent container. You can apply CSS directly to the container element to control layout.key prop.</p><p>Script loading: Use the useEffect pattern from our React Guide to properly load the script once.</p><ClientOnly> in Nuxt, or use onMounted for script loading in Vue 3. See our Vue Guide.thecalendarweek.com.javascript: protocol stringsurl() CSS functions;, {}, <>#FF5733 or rgb(255, 87, 51) instead.</p>data-design value that doesn't exist. Available designs are: minimal, classic, card, calendar, dashboard, analog. Check for typos in your design attribute.script-src and connect-src directives.</p>