Skip to main content

Exports

This page provides a complete reference of all components, directives, and services exported from the ng-magary library.

Import Statement

All exports can be imported from the main package:
import { MagaryButton, MagaryTable, MagaryThemeService } from 'ng-magary';

Button Components

Components for user interactions and actions.
ExportTypeDescription
MagaryButtonComponentPrimary button component with variants, sizes, and icons
MagarySpeedDialComponentFloating action button with expandable menu
MagarySplitButtonComponentButton with a primary action and dropdown menu

Example

import { MagaryButton, MagarySpeedDial } from 'ng-magary';

Data Components

Components for displaying and managing data.
ExportTypeDescription
MagaryTableComponentAdvanced data table with sorting, filtering, and pagination
MagaryTemplateDirectiveTemplate directive for customizing table and other components
MagaryPaginatorComponentPagination control for data navigation
MagaryTreeComponentHierarchical tree view for nested data
MagaryUITreeNodeComponentInternal tree node component
MagaryTimelineComponentDisplay events in chronological order
MagaryOrganizationChartComponentVisualize organizational hierarchies
MagaryOrganizationChartNodeComponentInternal node component for organization chart
MagaryPickListComponentDual-list selection component
MagaryOrderListComponentOrdered list with drag-and-drop reordering
MagaryDataViewComponentDisplay data in grid or list layout
MagaryKanbanComponentKanban board for task management

Example

import { MagaryTable, MagaryPaginator, MagaryTree } from 'ng-magary';

File Components

Components for file operations.
ExportTypeDescription
MagaryUploadComponentFile upload component with drag-and-drop support

Example

import { MagaryUpload } from 'ng-magary';

Form Components

Components for form inputs and validation.
ExportTypeDescription
MagaryCascadeSelectComponentHierarchical dropdown selection
MagaryInputComponentText input component
MagaryCheckboxComponentCheckbox input
MagarySwitchComponentToggle switch
MagarySegmentedComponentSegmented control for grouped options
MagarySelectComponentDropdown select component
MagaryRadioComponentRadio button input
MagaryRadioGroupComponentContainer for radio buttons
MagaryTextareaComponentMulti-line text input
MagaryDatepickerComponentDate selection component
MagaryInputNumberComponentNumeric input with increment/decrement
MagarySliderComponentRange slider input
MagaryRatingComponentStar rating input

Example

import { MagaryInput, MagarySelect, MagaryDatepicker } from 'ng-magary';

Media Components

Components for displaying media content.
ExportTypeDescription
MagaryImageComponentEnhanced image display with lazy loading
MagaryGalleriaComponentImage gallery with thumbnails and navigation
MagaryCarouselComponentCarousel/slider for content rotation
MagaryCarouselComponentComponentAlternative export name for carousel

Example

import { MagaryImage, MagaryGalleria, MagaryCarousel } from 'ng-magary';
Navigation and menu components.
ExportTypeDescription
MagaryPanelMenuComponentAccordion-style menu panel
MagarySidebarComponentCollapsible sidebar navigation
MagaryBreadcrumbComponentBreadcrumb navigation trail
MagaryStepsComponentStep-by-step progress indicator
MagaryTieredMenuComponentMulti-level hierarchical menu
MagaryContextMenuComponentRight-click context menu
MagaryMenubarComponentHorizontal menu bar
MagaryMegaMenuComponentLarge dropdown menu with groups
MagarySlideMenuComponentSliding menu with sub-menus

Example

import { MagaryMenubar, MagarySidebar, MagaryBreadcrumb } from 'ng-magary';

Message Components

Components for user feedback and notifications.
ExportTypeDescription
MagaryToastComponentToast notification container
MagaryToastItemComponentIndividual toast message
MagaryToastServiceServiceService for managing toast notifications
MagaryMessageComponentInline message display

Example

import { MagaryToast, MagaryToastService, MagaryMessage } from 'ng-magary';

Misc Components

Utility and miscellaneous components.
ExportTypeDescription
MagaryAvatarComponentUser avatar display
MagarySkeletonComponentLoading skeleton placeholder
MagaryDividerComponentVisual content separator
MagaryTagComponentLabel or tag for categorization

Example

import { MagaryAvatar, MagarySkeleton, MagaryTag } from 'ng-magary';

Overlay Components

Components for overlays and modals.
ExportTypeDescription
MagaryTooltipDirectiveTooltip directive for hover information
MagaryDialogComponentModal dialog component
MagaryOverlayPanelComponentFloating overlay panel
MagaryConfirmDialogComponentConfirmation dialog
MagaryConfirmationServiceServiceService for confirmation dialogs

Example

import { MagaryDialog, MagaryTooltip, MagaryConfirmationService } from 'ng-magary';

Panel Components

Container and layout components.
ExportTypeDescription
MagaryCardComponentContent card container
MagaryFieldsetComponentFieldset for grouping form elements
MagaryTabsComponentTabbed content container
MagaryTabComponentIndividual tab component
MagaryToolbarComponentToolbar for actions and controls
MagaryAccordionComponentAccordion container
MagaryAccordionTabComponentIndividual accordion panel

Example

import { MagaryCard, MagaryTabs, MagaryTab, MagaryAccordion } from 'ng-magary';

Grid Components

Responsive grid layout components.
ExportTypeDescription
MagaryGridComponentGrid container for responsive layouts
MagaryGridItemComponentGrid item component

Example

import { MagaryGrid, MagaryGridItem } from 'ng-magary';

Services

Global services for application-wide functionality.
ExportTypeDescription
MagaryThemeServiceServiceService for managing application themes
MagaryToastServiceServiceService for displaying toast notifications
MagaryConfirmationServiceServiceService for confirmation dialogs

Example

import { MagaryThemeService, MagaryToastService } from 'ng-magary';

// In your component
constructor(
  private themeService: MagaryThemeService,
  private toastService: MagaryToastService
) {}

Complete Import Example

import {
  // Button
  MagaryButton,
  MagarySpeedDial,
  MagarySplitButton,
  
  // Data
  MagaryTable,
  MagaryTree,
  MagaryPaginator,
  
  // Form
  MagaryInput,
  MagarySelect,
  MagaryDatepicker,
  MagaryCheckbox,
  
  // Menu
  MagaryMenubar,
  MagarySidebar,
  MagaryBreadcrumb,
  
  // Services
  MagaryThemeService,
  MagaryToastService,
  
  // Interfaces
  MenuItem,
  MagaryTreeNode,
  SpeedDialItem
} from 'ng-magary';

See Also

  • Interfaces - TypeScript interfaces and type definitions
  • Components - Detailed component documentation

Build docs developers (and LLMs) love