Movatterモバイル変換


[0]ホーム

URL:


CoreUI Angular Logo
Framework:
Getting startedIntroductionSupport CoreUICustomizeSassOptionsCSS VariablesLayoutBreakpointsContainersGridColumnsGuttersFormsOverviewAutocompletePRODate PickerPRODate Range PickerPROForm ControlSelectMulti SelectPROChecks & RadiosPassword InputPRORangeRange SliderPRORatingPROStepperPROInput GroupFloating LabelsLayoutTime PickerPROValidationComponentsAccordionAlertAvatarBadgeBreadcrumbButtonButton GroupCalendarPROCalloutCardCarouselClose buttonCollapseDropdownFooterHeaderImageList GroupLoading ButtonPROModalNavNavbarOffcanvasPaginationPlaceholderPopoverProgressSmart PaginationPROSmart TablePROSidebarSpinnerTableTabsNewToastTooltipWidgetsIconsChartsTemplatesNewAdmin & DashboardDownloadInstallationCustomizeContentMigrationv4 → v5v3 → v4Angular version


DownloadHire UsGet CoreUI PRO
On this page

Angular Header Component

Documentation and examples for Angular Header - a powerful, responsive navigation header. Includes support for branding, links, dropdowns, and more.

Supported content

Headers come with built-in support for a handful of sub-components. Choose from the following as needed:

  • cHeaderBrand for your company, product, or project name
  • cHeaderNav for a full-height and lightweight navigation (including support for dropdowns)
  • cHeaderToggler for use with navigation toggling
  • cHeaderText for adding vertically centered strings of text
  • cHeaderDivider to separate subheaders
  • Flex and spacing utilities for any form controls and actions

Examples

Here's an example of all the sub-components included in a responsive light-themed header that automatically collapses at thelg (large) breakpoint.

Loading...
Loading...
Loading...

API reference

Header Module

import { HeaderModule } from '@coreui/angular';@NgModule({imports: [HeaderModule,]})export class AppModule() { }

c-header

component

Inputs
propdescriptiontypedefaultnotes
containerDefines optional container wrapping children elementsContainerundefinedboolean , string
positionPlace a footer in non-static positionsPositionsundefinedfixed, sticky
roleDefault role for a headerstringheader

c-header-brand

component

Inputs
propdescriptiontypedefaultnotes
roleDefault role for a header-brandstringbutton

c-header-nav

component

Inputs
propdescriptiontypedefaultnotes
roleDefault role for a header-navstringnavigation

cHeaderText

directive

cHeaderToggler

directive

Inputs
propdescriptiontypedefaultnotes
typeDefault type for a header-brandstringbutton
aria-labelDefault aria-label attr for header-togglerstringToggle navigation

CoreUI for Angular is Open Source UI Components Library for Angular.

Currently v5.5.17 Code licensed MIT, docs CC BY 3.0 .
CoreUI PRO requires acommercial license.


[8]ページ先頭

©2009-2025 Movatter.jp