Apple TV Docs

RockLabel

The primary text element used within custom controls.

Example Styling

<style>
    .rockLabel {
        tv-text-style: title2;
        color: green;
    }
</style>
StyleTypeDescription
background-colorColorThe color of the background of the view.
tint-colorColorThe color of the tint of the view.
colorColorThe color of the font.
margin4-Tuple  The margin of the view. Applies the same logic as standard CSS margin, so 4 would be a valid input, as would 4,4,4,4.
widthIntegerThe width of the frame of the label.
font-sizeIntegerThe font size of the label.
font-weightFont WeightThe weight of the font of the label.
tv-text-styletv-text-styleTV Text Style