---json { "description": "The line spacing attribute lets you set the space between each line in a paragraph", "page_id": "o8tpni2zvj6h16u749dvf", "title": "ComboStrap - Line Spacing (Line height)" } --- ====== ComboStrap Styling - Line Spacing (Line Height) ====== ===== About ===== ''line-spacing'' is a [[styling|styling attributes]] that lets you define the height between each line inside a [[docs:block:block|block component]]. If you want to add space between component, you should use the [[docs:styling:spacing|spacing attribute]] ===== Syntax ===== line-spacing=value where value may be: * ''xs'' / ''extra-small'' * ''sm'' / ''small'' * ''md'' / ''medium'' (default) * ''lg'' / ''large'' The space value is scaled according to the [[scale|root scale value]] ===== Example ===== With the [[docs:block:text|text component]] that lets you create paragraphs with the same attributes **Extra-small line space**. This is a long paragraph written to show how the line-height of an element is affected. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. **Small line space**. This is a long paragraph written to show how the line-height of an element is affected. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. **Medium line space**. This is a long paragraph written to show how the line-height of an element is affected. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. **Large line space**. This is a long paragraph written to show how the line-height of an element is affected. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. * Output: ===== Configuration ===== ==== Base ==== The values are scaled based on the [[scale|root value]]. If you want to get bigger line spacing, you can increase this value.