Skip to content

adobe/aem-core-wcm-components

AEM WCM Core Components

Test Code Coverage Maven Central javadoc

Set of standardized Web Content Management (WCM) components for Adobe Experience Manager (AEM) to speed up development time and reduce maintenance cost of your websites.

Welcome

Documentation

  • Component Library: A collection of examples to view the components in their various configurations.
  • Component Documentation: For developers and authors, with details about each component.
  • Get Started:
    • WKND Tutorial: A two-day tutorial for building a new site.
    • Summit Tutorial: A two-hour tutorial for building a new site (from a Lab at US Summit 2019).
    • Gems Webinar: A guided tour of the Core Components (recorded on Dec 2018).

Features

  • Production-Ready: 29 robust components that are well tested, widely used, and that perform well.
  • Cloud-Ready: Whether on AEM as a Cloud Service, on Adobe Managed Services, or on-premise, they just work.
  • Versatile: The components represent generic concepts with which the authors can assemble nearly any layout.
  • Configurable: Template-level content policies define which features the page authors are allowed to use or not.
  • Trackable: The Adobe Client Data Layer and Google Data Layer integrations support the tracking of all aspects of the visitor experience.
  • Accessible: They comply WCAG 2.1 standard, provide ARIA labels, and support keyboard navigation.
  • SEO-Friendly: The HTML output is semantic and provides schema.org microdata annotations.
  • WebApp-Ready: The streamlined JSON output allows client-side rendering, still with a possibility of in-context editing.
  • Design Kit: A UI kit for Adobe XD allows designers to create wireframes that they can then style as needed.
  • Themeable: The components implement the Style System, and the markup follows BEM CSS conventions.
  • Customizable: Several patterns allow easy customization, from adjusting the HTML to advanced functionality reuse.
  • Versioned: The versioning policy ensures we won't break your site when improving things that might impact you.
  • Open Sourced: If something is not as it should, contribute your improvements!

Template Components

  1. Page
  2. Navigation
  3. Language Navigation
  4. Breadcrumb
  5. Quick Search
  6. Table of Contents

Page Authoring Components

  1. Title
  2. Text
  3. Image
  4. Button
  5. Teaser
  6. List
  7. Download
  8. PDF Viewer
  9. Embed
  10. Sharing
  11. Progress Bar
  12. Separator
  13. Experience Fragment
  14. Content Fragment
  15. Content Fragment List

Container Components

  1. Container
  2. Carousel
  3. Tabs
  4. Accordion

Form Components

  1. Core Form container
  2. Form text field
  3. Form options field
  4. Form hidden field
  5. Form button

Roadmap

To learn about the main upcoming components and features, visit the roadmap wiki page.

Usage

To include the Core Components in a new project, we strongly advise to use the AEM Project Archetype; this guarantees a starting point that complies to all recommended practices from Adobe.

For existing projects, take example from the AEM Project Archetype by looking at the core.wcm.components references in the main pom.xml, in all/pom.xml, and in ui.apps/pom.xml. For the rest, make sure to create Proxy Components, to load the client libraries and to allow the components on the template, as instructed in Using Core Components.

System Requirements

Core Components AEM as a Cloud Service AEM 6.5 Java SE Maven
2.24.2+ Continual 6.5.21.0+ 8,
11
3.3.9+

For the requirements from previous Core Component releases, see Historical System Requirements.

The Core Components require the use of editable templates and do not support Classic UI nor static templates. If needed, check out the AEM Modernization Tools.

Setup your local development environment for AEM as a Cloud Service SDK or for older versions of AEM.

Building

To compile your own version of the Core Components, you can build and install everything on your running AEM instance by issuing the following command in the top level folder of the project:

mvn clean install -PautoInstallPackage

You can also install individual packages/bundles by issuing the following command in the top-level folder of the project:

mvn clean install -PautoInstallPackage -pl <project_name(s)> -am

With AEM as a Cloud Service SDK, use the cloud profile as follows to deploy the components into /libs instead of /apps:

mvn clean install -PautoInstallPackage,cloud

Note that:

  • -pl/-projects option specifies the list of projects that you want to install
  • -am/-also-make option specifies the dependencies that should also be built

For detailed informations see BUILDING.md.

Configuration

The Core Components leverage both OSGi configurations and Sling context-aware configurations. For a description of defined configurations see CONFIGS.md

Known Issues

  • The provided oEmbed URL Processor configuration for Facebook and Instagram is not working at the moment as a new version of the endpoint was released by Facebook and now an access token needs to be passed in the request. A possible workaround is described in #1225