Button component written in HTL.
- Linkable to content pages, external URLs or page anchors.
- Allows an icon identifier to be configured for rendering an icon.
- Style System support.
The Button component uses the
com.adobe.cq.wcm.core.components.models.Button Sling model as its Use-object.
Edit Dialog Properties
The following properties are written to JCR for the Button component and are expected to be available as
./jcr:title- defines the button text
./link- defines the button link
./icon- defines an icon identifier for rendering an icon
./accessibilityLabel- defines an accessibility label for the button
BLOCK cmp-button ELEMENT cmp-button__text ELEMENT cmp-button__icon MOD cmp-button__icon--<icon>
- Vendor: Adobe
- Version: v1
- Compatibility: AEM 6.3
- Status: production-ready
- Documentation: https://www.adobe.com/go/aem_cmp_button_v1
- Component Library: https://www.adobe.com/go/aem_cmp_library_button
- Author: Richard Hand
If you were involved in the authoring of this component and are not credited above, please reach out to us on GitHub.