# Responsive Wrap Test

Responsive Wrap Test 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 "ResponsiveWrap Test - Resize Browser to See Effect" -Wrap wrap {
        # Row 1: 4 cards with ResponsiveWrap - should wrap intelligently
        New-HTMLSection -HeaderText "Row 1: ResponsiveWrap" -Density Spacious {
            New-HTMLInfoCard -Title "Total Applications" -Number 55 -Subtitle "Should wrap nicely" -Icon "📱" -IconColor '#0078d4'
            New-HTMLInfoCard -Title "App Registrations" -Number 63 -Subtitle "Responsive behavior" -Icon "📋" -IconColor '#0078d4'
            New-HTMLInfoCard -Title "Enterprise Apps" -Number 45454 -Subtitle "Auto wrap when needed" -Icon "🏢" -IconColor '#0078d4'
            New-HTMLInfoCard -Title "Microsoft Apps" -Number 123 -Subtitle "Intelligent layout" -Icon "Ⓜ️" -IconColor '#0078d4'
        }

        # Row 2: Same cards with traditional Invisible section for comparison
        New-HTMLSection -HeaderText "Row 2: Traditional Invisible (No ResponsiveWrap)" -Density Spacious {
            New-HTMLSection -Invisible {
                New-HTMLInfoCard -Title "Total Applications" -Number 55 -Subtitle "Traditional layout" -Icon "📱" -IconColor '#d13438'
                New-HTMLInfoCard -Title "App Registrations" -Number 63 -Subtitle "May get cut off" -Icon "📋" -IconColor '#d13438'
                New-HTMLInfoCard -Title "Enterprise Apps" -Number 45454 -Subtitle "No intelligent wrap" -Icon "🏢" -IconColor '#d13438'
                New-HTMLInfoCard -Title "Microsoft Apps" -Number 123 -Subtitle "Fixed layout" -Icon "Ⓜ️" -IconColor '#d13438'
            }
        }

        # Row 3: ResponsiveWrap with more cards
        New-HTMLSection -HeaderText "Row 3: ResponsiveWrap)" -Density Spacious {
            New-HTMLInfoCard -Title "Managed Identities" -Number 13 -Subtitle "Min 2 per row" -Icon "🔐" -IconColor '#198754' -Style "Compact"
            New-HTMLInfoCard -Title "Delegated Permissions" -Number 19 -Subtitle "Better responsive" -Icon "👥" -IconColor '#198754' -Style "Compact"
            New-HTMLInfoCard -Title "Application Permissions" -Number 500 -Subtitle "Wraps at smaller sizes" -Icon "🔑" -IconColor '#198754' -Style "Compact"
            New-HTMLInfoCard -Title "No Sign-In Activity" -Number 2300 -Subtitle "Maintains alignment" -Icon "⚠️" -IconColor '#198754' -Style "Compact"
            New-HTMLInfoCard -Title "Security Alerts" -Number 5 -Subtitle "Extra card for demo" -Icon "🛡️" -IconColor '#198754' -Style "Compact"
            New-HTMLInfoCard -Title "Active Users" -Number 1250 -Subtitle "Shows wrapping behavior" -Icon "👤" -IconColor '#198754' -Style "Compact"
        }

        # Row 4: Mixed content with ResponsiveWrap
        New-HTMLSection -HeaderText "Row 4: Mixed Content with ResponsiveWrap" -Density Spacious {
            New-HTMLInfoCard -Title "Performance" -Number "Excellent" -Subtitle "Good performance" -Icon "📊" -IconColor '#6f42c1' -Style "Fixed"
            New-HTMLInfoCard -Title "Uptime" -Number "99.9%" -Subtitle "High availability" -Icon "⏰" -IconColor '#6f42c1' -Style "Fixed"
            New-HTMLInfoCard -Title "Users Online" -Number 847 -Subtitle "Active right now" -Icon "🌐" -IconColor '#6f42c1' -Style "Fixed"
            New-HTMLInfoCard -Title "System Health" -Number "Healthy" -Subtitle "All systems operational" -Icon "✅" -IconColor '#6f42c1' -Style "Fixed"
        }
    }
} -FilePath "$PSScriptRoot\Example-ResponsiveWrap-Test.html" -Online -Show
```

<!-- PowerForge markdown artifact sha256:8A7B9D60E0EDDA5883665D4BE59AB1D22A5C7C7213BF381AD0E61D8CB2688C1E -->
