// Standard card-replacement
{% include "@bolt-components-card-replacement/card-replacement.twig" with {
  media: {
    image: {
      src: "/images/placeholders/landscape-16x9-mountains.jpg",
      alt: "Image alt.",
    },
  },
  body: {
    eyebrow: "This is an eyebrow",
    headline: "This is a headline",
    paragraph: "This is a paragraph.",
  },
  actions: [
    {
      text: "This is a button",
      url: "https://pega.com",
    },
  ],
} only %}
// Custom section content
{% include "@bolt-components-card-replacement/card-replacement.twig" with {
  media: {
    content: "Pass custom content to the card-replacement media.",
  },
  body: {
    content: "Pass custom content to the card-replacement body.",
  },
} only %}
// Custom overall content
{% include "@bolt-components-card-replacement/card-replacement.twig" with {
  content: "Pass completely custom content to the card-replacement, without the styles of the card-replacement body.",
} only %}
  | Prop Name | Description | Type | Default Value | Option(s) | 
|---|---|---|---|---|
| 
									attributes
							
			 | 
		
							 A Drupal-style attributes object with extra attributes to append to this component.  | 
		
							
									object
							
			
			 | — | 			
  | 
		
| 
									tag
							
			 | 
		
							 HTML tag that contains the card-replacement content.  | 
		
							
									string
							
			
			 | 
									article
							 | 
			
						
  | 
		
| 
									horizontal
							
			 | 
		
							 Displays the card media + body horizontally.  | 
		
							
									boolean
							
			
			 | — | 			
  | 
		
| 
									height
							
			 | 
		
							 Controls the height of the card-replacement to auto fit to content or the full height of the column in a grid.  | 
		
							
									string
							
			
			 | 
									full
							 | 
			
						
  | 
		
| 
									borderRadius
							
			 | 
		
							 Controls the border-radius of the card-replacement.  | 
		
							
									string
							
			
			 | 
									small
							 | 
			
						
  | 
		
| 
									spacing
							
			 | 
		
							 Controls the spacing of the card-replacement.  | 
		
							
									string
							
			
			 | 
									medium
							 | 
			
						
  | 
		
| 
									theme
							
			 | 
		
							 Controls the theme of the individual card-replacement.  | 
		
							
									string
							
			
			 | 
									none
							 | 
			
						
  | 
		
| 
									link
							
			 | 
		
							 Providing a link will make the whole card-replacement clickable.  | 
		
							
									object
							
			
			 | — | 			
  | 
		
| 
									media
							
			 | 
		
							 Media section of the card-replacement, accepts either image and video, or custom content.  | 
		
							
									object
							
			
			 | — | 			
  | 
		
| 
									body
							
			 | 
		
							 Body section of the card-replacement, accepts pre-configured eyebrow, headline, and paragraph or custom content.  | 
		
							
									object
							
			
			 | — | 			
  | 
		
| 
									actions
							
			 | 
		
							 Actions section of the card-replacement, accepts buttons.  | 
		
							
									array
							
			
			 | — | 			
  | 
		
| 
									content
							
			 | 
		
							 Content will override media, body, and actions props. Use this to build a completely cuztomized card-replacement.  | 
		
							
														string
					, 														array
					, 														object
												 | 
		
			
			— | 			
  | 
		
| 
									raised
							
			 | 
		
							 Manually switch on / off the raised (shadow + animation effect) treament. By default this config option is applied if the card-replacement contains a bolt-card-replacement-link OR includes the   | 
		
							
									boolean
							
			
			 | — | 			
  | 
		
  npm install @bolt/components-card-replacement
  
        
  
      This is an eyebrow
This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
        
  
      This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
        
  
      This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
        
  
      This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
        
  
      This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
This is a paragraph. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
    
      Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
    
      Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
    
      Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
    
      Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
Each card-replacement can be individually theme, only when the theme is set to none should the card-replacement background be semi-transparent.
        
  
  
      
        
  
  
      
        
  
  
      
        
  
  
      This card doesn't have a link.
        
  
  
      This card has a url, which makes the whole card clickable, but you can still have text links in the body (
Video
Anthem debuts its next-generation service desktop, driving frictionless customer experiences.
This card has a link, which makes the whole card-replacement clickable, and you can make it play/pause the video. Action button is optional in this case.
        
  
  
      This is an eyebrow
This is a paragraph.
This is an eyebrow
This is a paragraph.
| This card is | completely customized | using the content prop | |
|---|---|---|---|
| Row 1 | R1C1 | R1C2 | R1C3 | 
| Row 2 | R2C1 | R2C2 | R2C3 | 
| Row 3 | R3C1 | R3C2 | R3C3 | 
| Footer | FC1 | FC2 | FC3 | 
        
  
  
      
        
  
  
      This is a paragraph.
        
  
      This is a paragraph.
        
  
  
      This is a paragraph.
        
  
  
      This is a paragraph.