Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Tab Panel

The ngs-tab-panel component creates a compact vertical tool or navigation panel with a linked aside content area. Use it in workspace and editor screens where selecting an item in the rail should show the matching tool, inspector, asset list, settings section, or panel content beside it.

PropTypeDefault
hideContentIfTabNotSelected
Whether to hide the content of the tab if it is not selected
booleanfalse
activeItemId
The id of the active tab item
any
compact
Whether the tab panel is in compact mode
booleanfalse
EventDescription
itemIdChangedExecuted when the active item id changes