poshud/pages/radio.ps1


New-UDPage -Name "Radio" -Icon circle -Content {
    New-UDRow -Columns {
        New-UDColumn -Size 2 -Content {}
        New-UDColumn -Size 10 -Content {
            New-UDHeading -Size 1 -Text "Radios"  -Color $Colors.FontColor

            New-UDParagraph -Content {
                "Radio Buttons are used when the user must make only one selection out of a group of items. "
            } -Color $Colors.FontColor
            
            New-UDElementExample -Example {
                New-UDRadio -Label Red -Checked
                New-UDRadio -Label Yellow 
                New-UDRadio -Label Green -WithGap
                New-UDRadio -Label Brown -Disabled
            }
        }
    }
}