Components

Over 40 standalone components cover layout, widgets and form controls. Every selector uses the lte- prefix; the exported class names follow the Lte…Component convention. Import each class into your component's imports array.

Layout

SelectorClassPurpose
lte-dashboard-layoutDashboardLayoutComponentFull app shell.
lte-auth-layoutAuthLayoutComponentCentered login/register layout.
lte-app-contentAppContentComponentPage wrapper + title/breadcrumbs.
lte-topbarTopbarComponentApplication header navbar.
lte-sidebarSidebarComponentOff-canvas sidebar.
lte-footerFooterComponentApp footer.
lte-color-mode-toggleColorModeToggleComponentLight/dark toggle.
lte-fullscreen-toggleFullscreenToggleComponentFullscreen toggle.

Widgets

SelectorClassPurpose
lte-cardCardComponentCard with collapse/maximize/remove tools.
lte-small-boxSmallBoxComponentColored stat box.
lte-info-boxInfoBoxComponentIcon chip + number + progress.
lte-alertAlertComponentDismissible alert.
lte-calloutCalloutComponentBordered notice.
lte-progressProgressComponentProgress bar.
lte-progress-groupProgressGroupComponentLabeled progress row.
lte-ratingsRatingsComponentStar rating.
lte-timelineTimelineComponentVertical timeline.
lte-profile-cardProfileCardComponentUser profile card.
lte-description-blockDescriptionBlockComponentStat block.
lte-breadcrumbBreadcrumbComponentStandalone breadcrumb.
lte-direct-chatDirectChatComponentChat card + contacts pane.
lte-tabs / lte-tabTabsComponent / TabComponentTab container + panels.
lte-accordion / lte-accordion-itemAccordionComponent / AccordionItemComponentAccordion.
lte-modalModalComponentBootstrap modal.
lte-apex-chartApexChartComponentApexCharts wrapper.
lte-datatableDatatableComponentSortable table (simple-datatables).
lte-command-paletteCommandPaletteComponent⌘K palette.

Topbar dropdowns

NavMessagesComponent ([lte-nav-messages]), NavNotificationsComponent ([lte-nav-notifications]) and NavTasksComponent ([lte-nav-tasks]) drop into the topbar's [topbar-end] slot — see Layout.

Forms

The form controls implement ControlValueAccessor, so they work with reactive and template-driven forms, and also expose a model() for simple two-way binding.

SelectorClassTwo-way model
lte-buttonButtonComponent
lte-inputInputComponent[(value)]
lte-textareaTextareaComponent[(value)]
lte-selectSelectComponent[(value)]
lte-input-switchInputSwitchComponent[(checked)]
lte-input-flatpickrInputFlatpickrComponent[(value)]
lte-input-tom-selectInputTomSelectComponent[(value)]

Snippets

Card with a chart

<lte-card title="Sales" icon="bi-bar-chart" [collapsible]="true" [maximizable]="true">
  <lte-apex-chart [options]="chartOptions()" />
  <span footer>Updated just now</span>
</lte-card>

Card inputs include theme (BootstrapTheme), variant ('default' | 'outline' | 'solid'), gradient, collapsible, maximizable and removable. Project the body into the default slot, a footer into [footer], and extra header buttons into [tools].

Stat boxes

<div class="col-lg-3 col-6">
  <lte-small-box title="150" text="New Orders" icon="bi-bag" theme="primary" url="#" />
</div>
<div class="col-md-4">
  <lte-info-box title="1,410" text="Bookmarks" icon="bi-bookmark" theme="info" [progress]="70" />
</div>

Form input with binding

<lte-input label="Email" type="email" icon="bi-envelope" [(value)]="email" />
<lte-input-switch label="Email notifications" [(checked)]="notify" />
<lte-button theme="primary" icon="bi-save" type="submit">Save</lte-button>

Theme inputs accept the standard Bootstrap variants: primary, secondary, success, info, warning, danger, light, dark.


AdminLTE 4 · Angular port Edit on GitHub