Tabs
Sistema de pestañas con estado sincronizado a la URL. Indicador animado, badges y pestañas deshabilitadas.
TypeScript
import { NeuTabsComponent, NeuTabPanelComponent } from '@neural-ui/core/tabs';Con badge y tab deshabilitado
Contenido de ajustes generales
TypeScript
import { NeuTabsComponent, NeuTabPanelComponent } from '@neural-ui/core/tabs';
@Component({
imports: [NeuTabsComponent, NeuTabPanelComponent],
template: `
<neu-tabs [tabs]="tabs" tabParam="tab">
<neu-tab-panel tabId="preview">
<!-- Preview content -->
</neu-tab-panel>
<neu-tab-panel tabId="api">
<!-- API content -->
</neu-tab-panel>
</neu-tabs>
`
})
export class MyComponent {
tabs: NeuTab[] = [
{ id: 'preview', label: 'Preview' },
{ id: 'api', label: 'API', badge: 'New' },
{ id: 'disabled', label: 'Disabled', disabled: true },
];
}