# TabStrip Tab Pinning and Reordering

The Telerik TabStrip for Blazor allows users to change the tab order in two ways:

* [Reorder tabs by drag-and-drop](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/tab-reorder#reorder-tabs)
* [Pin tabs to a high-priority position](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/tab-reorder#pin-tabs)

## Reorder Tabs

To enable users reorder tabs with drag-and-drop, set the TabStrip `EnableTabReorder` parameter to `true`.

> caption TabStrip with drag-and-drop tab reordering

```RAZOR.skip-repl
<TelerikTabStrip EnableTabReorder="true" />
```

## Pin Tabs

Pinned tabs display at the start of the tab list, before all other unpinned tabs.

To allow a specific tab to be pinned, set the `TabStripTab` `Pinnable` parameter to `true`. Users can pin tabs through a context menu on the desired tab.

Use the tab's `Pinned` parameter to set the initial or runtime pinned state of a tab. Use two-way binding or the [`PinnedChanged` event](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/events#pinnedchanged) to keep the `Pinned` value in sync when users toggle the pin state through the context menu.

```RAZOR.skip-repl
<TelerikTabStrip>
    <TabStripTab Pinnable="true"
                 @bind-Pinned="@TabPinned">
        Tab Content.
    </TabStripTab>
</TelerikTabStrip>

@code {
    private bool TabPinned { get; set; }
}
```

## Reorder and Pin Rules

The tab reorder and tab pin fatures obey the following rules:

* [Pinned tabs](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/tab-reorder#pin-tabs) can only be reordered among other pinned tabs.
* Unpinned tabs can only be reordered among other unpinned tabs. A pinned tab cannot be dragged and dropped on the unpinned tab area.
* Disabled tabs cannot be reordered, pinned or unpinned. However, the order index of disabled tabs can change when users reorder the other tabs.

## Example

> caption Using TabStrip tab reordering and pinning

<demo metaUrl="client/tabstrip/tab-reorder/example-1/" height="320"></demo>

## Next Steps

* [Customize TabStrip UI with templates](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/templates)
* [Change the number of tabs at runtime](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/tabs-collection)
* [Manage TabStrip state](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/state)
* [Handle TabStrip events](https://www.telerik.com/blazor-ui/documentation/components/tabstrip/events)

## See Also

* [Live Demo: TabStrip Tab Reordering](https://demos.telerik.com/blazor-ui/tabstrip/tab-reorder)
* [Live Demo: TabStrip Tab Pinning](https://demos.telerik.com/blazor-ui/tabstrip/tab-pinning)
