@cocokits/angular-tabs
v1.2.0
Published
The `@cocokits/angular-tabs` package provides a flexible tabs component for Angular applications. Designed for performance, it supports custom templates, programmatic control, and adaptive behaviors for complex UI scenarios.
Readme
@cocokits/angular-tabs
The @cocokits/angular-tabs package provides a flexible tabs component for Angular applications. Designed for performance, it supports custom templates, programmatic control, and adaptive behaviors for complex UI scenarios.
Included Components:
TabsComponentTabComponent
Key Components Overview:
TabsComponent
The container component that manages tab state and synchronization. Handles coordination between tabs and their content panels.
Features:
Custom Header Templates: Fully customize tab headers using Angular templates
Animation Control: Toggle transition animations
Disabled Tabs: Disable individual tabs using [disabled] property
Imperative Control: Programmatically activate tabs
Tab Align: Configure tab headers alignment (left/right/center/stretch)
Content Persistence: Option to preserve DOM state when switching tabs
TabComponent
Defines individual tab sections with associated header and content.
Features:
Header Customization: Use simple text labels or custom templates via
<ng-template cckTabHeader>State Control: Support for disabled states
Styling and Theming
As with other CocoKits components, these accordion related components do not come with built-in styles but apply CSS classes based on configuration. This allows you to style them or use CocoKits' theming options for a consistent look across your application.
Documentation and Examples
For more information on configuring and using these components, visit the documentation:
Contributing
We welcome contributions! If you'd like to contribute to this project, please read our Contributing Guidelines
License
This project is licensed under the Apache License. See the LICENSE file for details.
