# Tabs In Line 02

Tabs In Line 02 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-TabsInline.ps1`

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

New-HTML {

    New-HTMLTabPanelColor -BorderColor Red ## -AnchorDefaultPrimaryColor Grey -AnchorActivePrimaryColor LightGrey
    New-HTMLTab -Name 'Standard Top Level Tabs 1' -IconBrands 500px {
        New-HTMLTab -Name 'Nested Top Level Tabs 1' {
            New-HTMLSection -Invisible {
                New-HTMLSection -HeaderText 'My Section with nested tabs in section' {
                    New-HTMLTabPanel -Orientation vertical {
                        New-HTMLTab -Name 'Test 5' -IconBrands apple -IconColor Red -IconSize 15 -TextSize 15 -TextColor Blue {
                            New-HTMLTable -DataTable 'test'
                        }
                        New-HTMLTab -Name 'Test 6' -IconRegular address-book -IconColor Red -IconSize 15 -TextSize 15 -TextColor Blue {
                            New-HTMLDiagram {
                                New-DiagramOptionsLayout -HierarchicalEnabled $true #-HierarchicalDirection FromLeftToRight #-HierarchicalSortMethod directed
                                New-DiagramOptionsPhysics -Enabled $true -HierarchicalRepulsionAvoidOverlap 1 -HierarchicalRepulsionNodeDistance 200

                                New-DiagramNode -Label '1 test' -To '3', '6', '7' -ColorBackground Bisque
                                New-DiagramNode -Label '2' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '3' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '4' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '5' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '6' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '7' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '8' -To 'Przemyslaw Klys', '1 test'
                                New-DiagramNode -Label '9' -To 'Przemyslaw Klys', '1 test'
                            }
                        }
                    }
                }
                New-HTMLSection -HeaderText 'Another section' {
                    New-HTMLTable -DataTable 'test'
                }
            }
        }
        New-HTMLTab -Name 'Nested Top Level Tabs 2' {
            New-HTMLSection {
                New-HTMLPanel {
                    New-HTMLTabPanel {
                        New-HTMLTab -Name 'Test 1' {
                            New-HTMLTable -DataTable 'test1'
                        }
                        New-HTMLTab -Name 'Test 2' {
                            New-HTMLCalendar {
                                New-CalendarEvent -Title '213Active Directory Meeting' -Description 'We will talk about stuff' -StartDate (Get-Date)
                                New-CalendarEvent -Title '213Lunch' -StartDate (Get-Date).AddDays(2).AddHours(-3) -EndDate (Get-Date).AddDays(3) -Description 'Very long lunch'
                            }
                            New-HTMLCalendar {
                                New-CalendarEvent -Title 'Diff 123 meeting' -Description 'We will talk about stuff' -StartDate (Get-Date)
                                New-CalendarEvent -Title 'Ooops 123 i did it again' -StartDate (Get-Date).AddDays(2).AddHours(-3) -EndDate (Get-Date).AddDays(3) -Description 'Very long lunch'
                            } -InitialView timeGridDay
                        }
                    }
                }
                New-HTMLPanel {
                    New-HTMLTabPanel -Orientation vertical {
                        New-HTMLTab -Name 'Test 3' {
                            New-HTMLTable -DataTable 'test2'
                        }
                        New-HTMLTab -Name 'Test 4' {
                            New-HTMLTable -DataTable (Get-Process | Select-Object -First 3)
                        }
                    }
                }
            }
        }

    }
    New-HTMLTab -Name 'Standard Top Level Tabs 2' -IconRegular address-book {
        New-HTMLTab -Name 'Nested Top Level Tabs 2.2' {
            New-HTMLTable -DataTable 'SomeData'
        }
    }
} -Online -ShowHTML -FilePath $PSScriptRoot\Example-TabsInLine02.html
```

<!-- PowerForge markdown artifact sha256:38C6A62DC18279DC129F419133ECAD5165CA549C110C2844D244B9D114368A11 -->
