Buttonv1

Button allows the display of a button or anchor button.

Using Core Components

Adobe Help Center

Examples

Standard

Simple Button with only a text configured.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. jcr:title: Button
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. jcr:lastModified:
  7. sling:resourceType: core/wcm/components/button/v1/button
    
        

    

Linked

Button linked to a page. Buttons with links provided are rendered as anchors.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. jcr:title: Anchor Button
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. link: /content/core-components-examples/library/button
  7. jcr:lastModified:
  8. sling:resourceType: core/wcm/components/button/v1/button

Icon

An icon identifier can be provided for rendering an icon in the button.

  1. jcr:primaryType: nt:unstructured
  2. jcr:createdBy: admin
  3. jcr:title: Contact Us
  4. jcr:lastModifiedBy: admin
  5. jcr:created:
  6. icon: email
  7. jcr:lastModified:
  8. sling:resourceType: core/wcm/components/button/v1/button