# Responsive Wrap Summary

Responsive Wrap Summary on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML)

Stars**1025**

Forks**115**

Open issues**0**

PowerShell Gallery downloads**7576901**

Release**v1.45.0**

Language: PowerShell Updated: 2026-11-19

Curated Examples

An example script from the PSWriteHTML repository.

- Source repository: [https://github.com/EvotecIT/PSWriteHTML](https://github.com/EvotecIT/PSWriteHTML)
- Example group: `Example-InfoCard`

```powershell
Import-Module ..\..\PSWriteHTML.psd1 -Force

New-HTML {
    New-HTMLSection -HeaderText "✅ SOLUTION: ResponsiveWrap for InfoCards" -Wrap wrap {

        New-HTMLText -Text @"
<h2>🎯 Problem Solved: InfoCards Now Respect Boundaries and Resize Properly!</h2>
<p><strong>Before:</strong> InfoCards would get cut off or overflow when resizing browser windows</p>
<p><strong>Now:</strong> InfoCards intelligently wrap to new rows and respect container boundaries</p>
"@ -Color Black

        # Demonstration: Traditional vs ResponsiveWrap
        New-HTMLSection -HeaderText "Traditional Layout" -Density Spacious {
            New-HTMLSection -Invisible -Density Comfortable {
                New-HTMLInfoCard -Title "Card 1" -Number "100%" -Subtitle "May get cut off" -Icon "📱" -IconColor '#d13438'
                New-HTMLInfoCard -Title "Card 2" -Number "100%" -Subtitle "Fixed layout" -Icon "📋" -IconColor '#d13438'
                New-HTMLInfoCard -Title "Card 3" -Number "100%" -Subtitle "No wrapping" -Icon "🏢" -IconColor '#d13438'
                New-HTMLInfoCard -Title "Card 4" -Number "100%" -Subtitle "Overflow issues" -Icon "⚙️" -IconColor '#d13438'
            }
        }

        New-HTMLSection -HeaderText "✅ NEW: ResponsiveWrap Layout" -Density Comfortable {
            New-HTMLInfoCard -Title "Card 1" -Number "100%" -Subtitle "Respects boundaries" -Icon "📱" -IconColor '#198754'
            New-HTMLInfoCard -Title "Card 2" -Number "100%" -Subtitle "Wraps when needed" -Icon "📋" -IconColor '#198754'
            New-HTMLInfoCard -Title "Card 3" -Number "100%" -Subtitle "Perfect alignment" -Icon "🏢" -IconColor '#198754'
            New-HTMLInfoCard -Title "Card 4" -Number "100%" -Subtitle "Intelligent resize" -Icon "⚙️" -IconColor '#198754'
        }

        New-HTMLText -Text @"
<h3>🚀 Usage:</h3>
<pre><code>New-HTMLSection -Density Compact {
    New-HTMLInfoCard -Title "Card 1" -Number 100 -Icon "📱"
    New-HTMLInfoCard -Title "Card 2" -Number 200 -Icon "📋"
    # Cards will wrap intelligently when resized!
}</code></pre>

<p><strong>Try resizing your browser window to see the difference!</strong></p>
"@ -Color Black
    }
} -FilePath "$PSScriptRoot\ResponsiveWrap-Summary.html" -TitleText "ResponsiveWrap Solution" -Online -Show
```

<!-- PowerForge markdown artifact sha256:1B977136EF38DDD3F16365516D66F99B790EEBDAA80FF6F10DBC0CE1BC954688 -->
