1. Demo
  2. HTML
  3. Context
  4. Full Screen ↗
<div aria-live="polite" aria-atomic="true" tabindex="-1" class="alert alert--warning z-depth-1">
<h2 class="alert__title headline3">Warning Alert</h2>
<div class="alert__content">
  Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea, esse nisi. Doloremque assumenda quas ullam ipsa ex quae, reiciendis voluptatum beatae officiis laudantium nesciunt qui rem perferendis eveniet sequi dignissimos.</div>
</div>
{{ c("alert", "alert", {
  "headline": "Warning Alert",
  "content": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea, esse nisi. Doloremque assumenda quas ullam ipsa ex quae, reiciendis voluptatum beatae officiis laudantium nesciunt qui rem perferendis eveniet sequi dignissimos.",
  "type": "warning",
  "page": {
    "url": "/design-system/components/alert/warning/",
    "outputPath": "dist/design-system/components/alert/warning/index.html",
    "date": "2024-10-23T19:28:34.665Z",
    "inputPath": "./src/design-system/components-pages.njk",
    "fileSlug": "components-pages",
    "filePathStem": "/design-system/components-pages",
    "outputFileExtension": "html",
    "templateSyntax": "njk"
  },
  "eleventy": {
    "version": "2.0.1",
    "generator": "Eleventy v2.0.1",
    "env": {
      "source": "cli",
      "runMode": "build",
      "config": "/home/runner/work/11ty-design-system/11ty-design-system/.eleventy.js",
      "root": "/home/runner/work/11ty-design-system/11ty-design-system",
      "isServerless": false
    }
  }
}) }}