{% extends "nswdesignsystem/base.html" %} {% block primary_content %}
{% for variant in h.nswdesignsystem_demo_variants(component) %} {% set embed_url = h.url_for("nswdesignsystem.embed", component=variant) %}

{{ variant.split("_") | join(" ") | capitalize }}

{% if use_iframe %} {% else %}
{% include h.nswdesignsystem_demo_template_for_component(variant) %}
{% endif %}
{{ h.nswdesignsystem_demo_code(variant) }}

{% endfor %}
{% endblock %}