@inherits DComponentBase @* daisyUI Text rotate: https://daisyui.com/components/text-rotate/ . Loops through 2-6 lines, one at a time, pausing on hover. The lines are Items, or children in ChildContent (for per-line classes). Set the loop time with a duration-* in Class (default 10s). *@ @if (Items is not null) { foreach (var item in Items.Take(6)) { @item } } @ChildContent @code { [Parameter] public IEnumerable Items { get; set; } [Parameter] public RenderFragment ChildContent { get; set; } /// Centre the lines horizontally. [Parameter] public bool Centered { get; set; } }