New to Telerik UI for Blazor? Download free 30-day trial

Hide Start and End labels of the DateRangePicker


Product DateRangePicker for Blazor


Is there a way to disable/hide the labels for start and end? I'm having issues fitting this control in another vendor's Form Layout.


You can use some custom CSS rules to hide the Start and End labels. You can also remove the top padding of the k-floating-label-container, so that there is no gap left above the component.

To make sure you are only styling the desired instance of the DateRangePicker (and not all instances on the page/app) use its Class parameter to add your custom CSS class to the component and use it to specify the selector.

    .daterangepicker-no-labels .k-label {
        display: none;

    .daterangepicker-no-labels .k-floating-label-container{
        padding: 0;

<TelerikDateRangePicker Class="daterangepicker-no-labels"

@code {
    public DateTime? StartValue { get; set; } = DateTime.Now;
    public DateTime? EndValue { get; set; } = DateTime.Now.AddDays(10);
In this article