RS UI

Text Utilities

Text utilities are important for any website. Text utilities to control size, alignment, color, transform.

Heading

Use the following f-{size} utility classes to set the font size for any text element.

h1. Sparrow Heading

h2. Sparrow Heading

h3. Sparrow Heading

h4. Sparrow Heading

h5. Sparrow Heading
h6. Sparrow Heading
                    
                        <h1 class="f-xxl ">h1. Sparrow Heading</h1>

                        <h2 class="f-xl">h2. Sparrow Heading</h2>

                        <h3 class="f-l">h3. Sparrow Heading</h3>

                        <h4 class="f-m">h4. Sparrow Heading</h4>

                        <h5 class="f-s">h5. Sparrow Heading</h5>

                        <h6 class="f-xs">h6. Sparrow Heading</h6>
                    
                

Text Align

Use the following text-{align} utility classes to align any text element.

Text Left Demo
Text Center Demo
Text right Demo
                    
                        <div class="text-left ">Text Left Demo</div>
                         <div class="text-center">Text Center Demo</div>
                         <div class="text-right">Text right Demo</div>
                    
                

Text Color

Use the following text-{color} utility classes to set color for any text element.

Text color white
Text color mute
Text color primary
Text color warning
Text color success
Text color Danger
                    
                        <div class="text-white">Text color White</div>
                        <div class="text-mute">Text color Gray</div> 
                        <div class="text-primary">Text color primary</div>
                        <div class="text-warning">Text color warning</div>
                        <div class="text-success">Text color success</div>
                        <div class="text-danger">Text color Danger</div>
                    
                

Text Transform

Use the following text-{transform} utility classes to transform any text element.

text lowercase
text uppercase
text capitalize
                    
                        <div class="text-lowercase">text lowercase</div>
                        <div class="text-uppercase">text uppercase</div> 
                        <div class="text-capitalize">text capitalize</div>