Changelog Azalea Kit UI 101 Usage Customizing Utilities Form controls Laravel Vue FHIR Types Accessibility Icons Actions Button Button group Layout and structure Card Card section Care summary Care timeline Divider Empty state Footer Header Layout Stack Table Selection and input Calendar Checkbox Checkbox group Color picker Combobox Combobox option Input Input mask Memorable date Number input Option Phone input Radio Radio button Radio group Range Select SSN input Tag Textarea Toggle ZIP code input Images and icons Avatar Icon Icon button Logo Feedback indicators Badge Banner Progress bar Skeleton Skeleton body text Skeleton display text Skeleton thumbnail Spinner Typography Text Navigation Breadcrumb Breadcrumb item Dropdown Menu Menu item Menu label Navigation Nav group Nav item Nav toggle Pagination Tab Tab group Tab panel Top bar Tree Tree item User menu Overlays Dialog Popover Tooltip Utilities Collapsible FHIR address FHIR human name FHIR quantity FHIR questionnaire Format bytes Format date Format number Relative time Resize observer Split panel Tooltip Border Color Shadow Spacing Transition Typography Z-index Contributing Visual Tests Light Dark System

Nav Toggle

<ahi-nav-toggle> | AhiNavToggle

Nav toggle is meant for hiding and showing the primary navigation. This component is used internally in the Layout component, but can also be used separate to further customize the behavior.

<ahi-nav-toggle></ahi-nav-toggle>

Importing

Script Bundler

To import this component using a script tag:

<script type="module" src="/path/to/azalea-kit-ui/dist/components/nav-toggle/nav-toggle.js"></script>

To import this component using a bundler:

import '@azaleahealth/azalea-kit-ui/dist/components/nav-toggle/nav-toggle.js';

Methods

Name Description Arguments
click() Simulates a click on the nav toggle. -
focus() Sets focus on the nav toggle. options: FocusOptions
blur() Removes focus from the nav toggle. -

Learn more about methods.

Dependencies

This component automatically imports the following dependencies.

  • <ahi-button>
  • <ahi-icon>
  • <ahi-spinner>