Dismiss Modal

Overview

The Component Library is where you can view and test how different elements would look and behave in your site.

The components shown here will all be displayed as defined by the theme settings. You can also view the components’ default look/behavior. This can be helpful in determining how much your theme is changing the components from their baseline.

Access the Component Library

The Component Library section is available on the homepage.

Screenshot of the HealthHub dashboard with the Component Library section highlighted

Click one of the available buttons to begin previewing elements:

  • View DX Engine Components: View components with default HealthHub look/behavior.
  • DX Engine Branded Components: View components with look/behavior as defined in your theme.

Preview elements

After clicking DX Engine Branded Components in the DXE dashboard, a new browser tab will open where you can preview how components will look on your site.

To preview an item, select it in the menu on the left. Depending on the item you selected, you may also have to select a variant in a second menu that appears. A preview of the selected item will display in the top right. The code for the item will display below that.
 

Demonstration of browsing components in the Component Library

The components you can preview are organized in 3 main categories:

  • Base: The common, shared elements used as the foundation for content across your site.
  • Blocks: Combination of different base items to form more complex UI elements. For example, a web form is built with a heading, various field inputs, checkbox items, and a button.
  • Layouts: Combination of base elements and blocks to create a complete area within the site. For example, Site Search uses a heading, tabs and form field.
Base Blocks Layout
  • Anchor Tag
  • Badge
  • Blockquote
  • Buttons
  • Checkboxes
  • Forms
  • Headings
  • Image Styles
  • Inputs
  • Lazyload Images
  • Ordered Lists
  • Radio Buttons
  • Unordered Lists
  • Accordions
  • Alerts
  • Breadcrumbs
  • Cards
  • CTA
  • Description Lists
  • Drill Downs
  • Dropdowns
  • Horizontal Scrollbar
  • Key Tiles
  • Light Gallery
  • List Groups
  • Marquee Carousel
  • Marquee Featured Image
  • Marquee Hero
  • Marquee Two Column
  • Modals
  • Multi Select Checkbox
  • Nav Tabs
  • Notifications
  • Offcanvas
  • Pagination
  • Parallax
  • Process List
  • Select Search
  • Slideshow
  • Spinner
  • Tabs
  • Tooltip
  • Video
  • CTA (Call to action)
  • Equal Columns
  • Footer
  • Header
  • Site Search

Component statuses

As noted on the front page of the Component Library, each component will be tagged with a status.

Screenshot of the Component statuses chart in the Component Library

Only components with the Ready status are used in HealthHub.