{% include '@bolt-elements-type/type.twig' with {
  content: 'This is a type element.'
} only %}
| Prop Name | Description | Type | Default Value | Option(s) | 
|---|---|---|---|---|
| 
                  attributes
              
       | 
    
               A Drupal-style attributes object with extra attributes to append to this element.  | 
    
              
                                        object
                        
      
       | — |       
  | 
      
  
| 
                  content
              
       | 
    
               Content of the type element.  | 
    
              
                                        any
                        
      
       | — |       
  | 
      
  
| 
                  tag
              
       | 
    
               Set the semantic tag for the type element. Use   | 
    
              
                                        string
                        
      
       | 
                  p
               | 
      
                  
  | 
      
  
| 
                  size
              
       | 
    
               Control the font-size. If size is not defined or set to auto, font-size inherits from parent container.  | 
    
              
                                        string
                        
      
       | 
                  auto
               | 
      
                  
  | 
      
  
| 
                  hierarchy
              
       | 
    
               Control the hierarch of text. Each option comes with specific typographic styles.  | 
    
              
                                        string
                        
      
       | 
                  body
               | 
      
                  
  | 
      
  
| 
                  icon_before
              
       | 
    
               Append an icon before the text. Icon element is recommended. However, <img> elements are also acceptable.  | 
    
              
                                        any
                        
      
       | — |       
  | 
      
  
| 
                  icon_after
              
       | 
    
               Append an icon after the text. Icon element is recommended. However, <img> elements are also acceptable.  | 
    
              
                                        any
                        
      
       | — |       
  | 
      
  
npm install @bolt/elements-type