Documentation and examples for typography, including global settings, headings, body text, lists, and more.
All HTML headings <h1>
through <h6>
are available, .h1
through .h6
classes are also available.
<div>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 through .h6 classes are also available -->
<p class="h1"> >h1. Nubra heading</p>
<p class="h2"> >h2. Nubra heading</p>
<p class="h3"> >h3. Nubra heading</p>
<p class="h4"> >h4. Nubra heading</p>
<p class="h5"> >h5. Nubra heading</p>
<p class="h6"> >h6. Nubra heading</p>
</div>
const Headings = () => {
return (
<React.Fragment>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 to .h6 classes are also available -->
<p className="h1"> >h1. Nubra heading</p>
<p className="h2"> >h2. Nubra heading</p>
<p className="h3"> >h3. Nubra heading</p>
<p className="h4"> >h4. Nubra heading</p>
<p className="h5"> >h5. Nubra heading</p>
<p className="h6"> >h6. Nubra heading</p>
</React.Fragment>
);
}
export default Headings;
const Headings = () => {
return (
<React.Fragment>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 to .h6 classes are also available -->
<p className="h1"> >h1. Nubra heading</p>
<p className="h2"> >h2. Nubra heading</p>
<p className="h3"> >h3. Nubra heading</p>
<p className="h4"> >h4. Nubra heading</p>
<p className="h5"> >h5. Nubra heading</p>
<p className="h6"> >h6. Nubra heading</p>
</React.Fragment>
);
}
export default Headings;
<template>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 to .h6 classes are also available -->
<p class="h1"> >h1. Nubra heading</p>
<p class="h2"> >h2. Nubra heading</p>
<p class="h3"> >h3. Nubra heading</p>
<p class="h4"> >h4. Nubra heading</p>
<p class="h5"> >h5. Nubra heading</p>
<p class="h6"> >h6. Nubra heading</p>
</template>
<template>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 to .h6 classes are also available -->
<p class="h1"> >h1. Nubra heading</p>
<p class="h2"> >h2. Nubra heading</p>
<p class="h3"> >h3. Nubra heading</p>
<p class="h4"> >h4. Nubra heading</p>
<p class="h5"> >h5. Nubra heading</p>
<p class="h6"> >h6. Nubra heading</p>
</template>
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 through .h6 classes are also available -->
<p class="h1"> >h1. Nubra heading</p>
<p class="h2"> >h2. Nubra heading</p>
<p class="h3"> >h3. Nubra heading</p>
<p class="h4"> >h4. Nubra heading</p>
<p class="h5"> >h5. Nubra heading</p>
<p class="h6"> >h6. Nubra heading</p>
Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
import React from 'react';
function DisplayHeadings() {
return (
<>
<div className="display-1">Display 1</div>
<hr />
<div className="display-2">Display 2</div>
<hr />
<div className="display-3">Display 3</div>
<hr />
<div className="display-4">Display 4</div>
<hr />
<div className="display-5">Display 5</div>
<hr />
<div className="display-6">Display 6</div>
</>
);
}
export default DisplayHeadings;
import React from 'react';
function DisplayHeadings() {
return (
<>
<div className="display-1">Display 1</div>
<hr />
<div className="display-2">Display 2</div>
<hr />
<div className="display-3">Display 3</div>
<hr />
<div className="display-4">Display 4</div>
<hr />
<div className="display-5">Display 5</div>
<hr />
<div className="display-6">Display 6</div>
</>
);
}
export default DisplayHeadings;
<template>
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
</template>
<template>
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
</template>
<div>
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
</div>
Use .heading-wth-icon
.
<h1 class="heading-wth-icon">
<span class="head-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>h1. Nubra heading</span>
</h1>
import React from 'react';
function HeadingsIcon() {
return (
<h1 className="heading-wth-icon m-0"> // you can use from h1 to h6
<span className="head-icon">
<span className="feather-icon"><DemoIcon /></span>
</span>
<span>h1. Nubra heading</span>
</h1>
);
}
export default HeadingsIcon;
import React from 'react';
function HeadingsIcon() {
return (
<h1 className="heading-wth-icon m-0"> // you can use from h1 to h6
<span className="head-icon">
<span className="feather-icon"><DemoIcon /></span>
</span>
<span>h1. Nubra heading</span>
</h1>
);
}
export default HeadingsIcon;
<template>
<h1 class="heading-wth-icon">
<span class="head-icon">
<feather-icon name="airplay" />
</span>
<span>h1.Nubra heading</span>
</h1>
</template>
<template>
<h1 class="heading-wth-icon">
<span class="head-icon">
<feather-icon name="airplay" />
</span>
<span>h1.Nubra heading</span>
</h1>
</template>
<div>
<h1 class="heading-wth-icon">
<span class="head-icon">
<feather-icon name="airplay" />
</span>
<span>h1.Nubra heading</span>
</h1>
</div>
Use title-lg, title, title-sm, title-xs
classNames for different sizes of Title.
<div class="title-lg"><span>Title LG</span></div>
<div class="title"><span>Title</span></div>
<div class="title-sm"><span>Title SM</span></div>
<div class="title-xs"><span>Title XS</span></div>
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
const Title = () => {
return (
<Container className="py-3">
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg m-0"><span>Title Lg</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title m-0"><span>Title Default</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm m-0"><span>Title sm</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs m-0"><span>Title xs</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
)
}
export default Title;
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
const Title = () => {
return (
<Container className="py-3">
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg m-0"><span>Title Lg</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title m-0"><span>Title Default</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm m-0"><span>Title sm</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs m-0"><span>Title xs</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
)
}
export default Title;
<template>
<div class="title-lg"><span>Title LG</span></div>
<div class="title"><span>Title</span></div>
<div class="title-sm"><span>Title SM</span></div>
<div class="title-xs"><span>Title XS</span></div>
</template>
<template>
<div class="title-lg"><span>Title LG</span></div>
<div class="title"><span>Title</span></div>
<div class="title-sm"><span>Title SM</span></div>
<div class="title-xs"><span>Title XS</span></div>
</template>
<div>
<div class="title-lg"><span>Title LG</span></div>
<div class="title"><span>Title</span></div>
<div class="title-sm"><span>Title SM</span></div>
<div class="title-xs"><span>Title XS</span></div>
</div>
Use .title-wth-divider
className with title element.
<div class="title-lg title-wth-divider"><span>Title Lg</span></div>
<div class="title title-wth-divider"><span>Title Default</span></div>
<div class="title-sm title-wth-divider"><span>Title sm</span></div>
<div class="title-xs title-wth-divider"><span>Title xs</span></div>
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
function TitleWithDivider() {
return (
<Container>
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg title-wth-divider m-0"><span>Title Lg</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title title-wth-divider m-0"><span>Title Default</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm title-wth-divider m-0"><span>Title sm</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs title-wth-divider m-0"><span>Title xs</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
);
}
export default TitleWithDivider;
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
function TitleWithDivider() {
return (
<Container>
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg title-wth-divider m-0"><span>Title Lg</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title title-wth-divider m-0"><span>Title Default</span></Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm title-wth-divider m-0"><span>Title sm</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs title-wth-divider m-0"><span>Title xs</span></Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
);
}
export default TitleWithDivider;
<template>
<div class="title-lg title-wth-divider"><span>Title Lg</span></div>
<div class="title title-wth-divider"><span>Title Default</span></div>
<div class="title-sm title-wth-divider"><span>Title sm</span></div>
<div class="title-xs title-wth-divider"><span>Title xs</span></div>
</template>
<template>
<div class="title-lg title-wth-divider"><span>Title Lg</span></div>
<div class="title title-wth-divider"><span>Title Default</span></div>
<div class="title-sm title-wth-divider"><span>Title sm</span></div>
<div class="title-xs title-wth-divider"><span>Title xs</span></div>
</template>
<div>
<div class="title-lg title-wth-divider"><span>Title Lg</span></div>
<div class="title title-wth-divider"><span>Title Default</span></div>
<div class="title-sm title-wth-divider"><span>Title sm</span></div>
<div class="title-xs title-wth-divider"><span>Title xs</span></div>
</div>
Use .title-icon
className.
<div class="title-lg">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title LG</span>
</div>
<div class="title">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title</span>
</div>
<div class="title-sm">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title SM</span>
</div>
<div class="title-xs">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title XS</span>
</div>
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
import { Airplay } from 'react-feather';
function TitleWithIcons() {
return (
<Container>
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title Lg</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title Default</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title sm</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title xs</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
);
}
export default TitleWithIcons;
import React from 'react';
import { Col, Container, Row } from 'react-bootstrap';
import { Airplay } from 'react-feather';
function TitleWithIcons() {
return (
<Container>
<Row>
<Col>
<Row className="align-items-center">
<Col xs={8} className="title-lg m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title Lg</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 1.125rem (18px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title Default</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 1rem (16px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-sm m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title sm</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 0.875rem (14px)</Col>
</Row>
<hr />
<Row className="align-items-center">
<Col xs={8} className="title-xs m-0">
<span className="title-icon"><span className="feather-icon"><Airplay /></span></span><span>Title xs</span>
</Col>
<Col xs={4} className="fs-7 ">Semibold 0.75rem (12px)</Col>
</Row>
</Col>
</Row>
</Container>
);
}
export default TitleWithIcons;
<template>
<div class="row align-items-center">
<div class="title-lg col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Lg</span>
</div>
<span class="col-4 fs-7 ">Semibold 1.125rem (18px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Default</span>
</div>
<span class="col-4 fs-7 ">Semibold 1rem (16px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-sm col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title sm</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.875rem (14px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-xs col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title xs</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.75rem (12px)</span>
</div>
</template>
<template>
<div class="row align-items-center">
<div class="title-lg col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Lg</span>
</div>
<span class="col-4 fs-7 ">Semibold 1.125rem (18px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Default</span>
</div>
<span class="col-4 fs-7 ">Semibold 1rem (16px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-sm col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title sm</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.875rem (14px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-xs col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title xs</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.75rem (12px)</span>
</div>
</template>
<div>
<div class="row align-items-center">
<div class="title-lg col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Lg</span>
</div>
<span class="col-4 fs-7 ">Semibold 1.125rem (18px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title Default</span>
</div>
<span class="col-4 fs-7 ">Semibold 1rem (16px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-sm col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title sm</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.875rem (14px)</span>
</div>
<hr>
<div class="row align-items-center">
<div class="title-xs col-8 m-0">
<span class="title-icon">
<feather-icon name="airplay" />
</span>
<span>Title xs</span>
</div>
<span class="col-4 fs-7 ">Semibold 0.75rem (12px)</span>
</div>
</div>
For quoting blocks of content from another source within your document. Wrap <blockquote className="blockquote">
around any HTML as the quote.
A well-known quote, contained in a blockquote element.
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
import React from 'react';
import { Figure } from 'react-bootstrap';
function BlockQuote() {
return (
<Figure>
<blockquote className="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption className="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</Figure>
);
}
export default BlockQuote;
import React from 'react';
import { Figure } from 'react-bootstrap';
function BlockQuote() {
return (
<Figure>
<blockquote className="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption className="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</Figure>
);
}
export default BlockQuote;
<template>
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
</template>
<template>
<div class="row">
<div class="col-md-4 mb-3">
<input type="text" class="form-control" placeholder="Input Box">
</div>
<div class="col-md-4 mb-3">
<input type="text" class="form-control"placeholder="Readonly" value="Readonly" readonly>
</div>
<div class="col-md-4 mb-3">
<input type="text" class="form-control" placeholder="Disabled" disabled>
</div>
<div class="col-md-4 mb-3">
<input type="text" class="form-control is-valid" placeholder="Input Box">
</div>
<div class="col-md-4 mb-3">
<input type="text" class="form-control is-valid" placeholder="Readonly" value="Readonly" readonly>
</div>
<div class="col-md-4 mb-3">
<input type="text" class="form-control is-valid" placeholder="Disabled" disabled>
</div>
<div class="col-md-4 mb-md-0 mb-3">
<input type="text" class="form-control is-invalid" placeholder="Input Box">
</div>
<div class="col-md-4 mb-md-0 mb-3">
<input type="text" class="form-control is-invalid" placeholder="Readonly" value="Readonly" readonly>
</div>
<div class="col-md-4">
<input type="text" class="form-control is-invalid" placeholder="Disabled" disabled>
</div>
</div>
</template>
<div>
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
</div>
Use the included utility classes to recreate the small secondary heading text from Bootstrap.
<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>
import React from 'react';
function CustomHeading() {
return (
<h3>
Fancy display heading
<small className="text-muted"> With faded secondary text </small>
</h3>
);
}
export default CustomHeading;
import React from 'react';
function CustomHeading() {
return (
<h3>
Fancy display heading
<small className="text-muted"> With faded secondary text </small>
</h3>
);
}
export default CustomHeading;
<template>
<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>
</template>
<template>
<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>
</template>
<div>
<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>
</div>
Make a paragraph stand out by adding .p-xl,.p-lg,.p-sm,.p-xs
.
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="p-xl">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-lg">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p>
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-sm">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-xs">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
import React from 'react';
const Paragraphs = () => {
return (
<>
<p className="p-xl mb-3">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-lg mb-3">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="mb-3">
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-sm mb-3">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-xs mb-3">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</>
);
}
export default Paragraphs;
import React from 'react';
const Paragraphs = () => {
return (
<>
<p className="p-xl mb-3">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-lg mb-3">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="mb-3">
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-sm mb-3">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p className="p-xs mb-3">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</>
);
}
export default Paragraphs;
<template>
<p class="p-xl">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-lg">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p>
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-sm">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
< class="p-xs">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</template>
<template>
<p class="p-xl">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-lg">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p>
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-sm">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
< class="p-xs">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</template>
<div>
<p class="p-xl">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-lg">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p>
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-sm">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
< class="p-xs">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</template>
Make a paragraph stand out by adding .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
import React from 'react';
const Lead = () => {
return (
<p className="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
);
}
export default Lead;
import React from 'react';
const Lead = () => {
return (
<p className="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
);
}
export default Lead;
<template>
<p class="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</template>
<template>
<p class="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</template>
<div>
<p class="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
</div>
Styling for common inline HTML5 elements.
You can use the mark tag to highlight text.
This line of text is meant to be treated as deleted text.
This line of text is meant to be treated as no longer accurate.
This line of text is meant to be treated as an addition to the document.
This line of text will render as underlined
This line of text is meant to be treated as fine print.
This line rendered as bold text.
This line rendered as italicized text.
This line rendered as italicized text.
This line rendered as italicized text.
<p>You can use the mark tag to
<mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p class="strikethrough"><s>This line rendered as italicized text.</s></p>
<p class="strikethrough"><del>This line rendered as italicized text.</del></p>
<p><em>This line rendered as italicized text.</em></p>
import React from 'react';
const InlineTextElem = () => {
return (
<>
<p className="mb-2">
You can use the mark tag to <mark>highlight</mark> text.
</p>
<p className="mb-2">
<del>This line of text is meant to be treated as deleted text.</del>
</p>
<p className="mb-2">
<s>This line of text is meant to be treated as no longer accurate.</s>
</p>
<p className="mb-2">
<ins>This line of text is meant to be treated as an addition to the document.</ins>
</p>
<p className="mb-2">
<u>This line of text will render as underlined</u>
</p>
<p className="mb-2">
<small>This line of text is meant to be treated as fine print.</small>
</p>
<p className="mb-2">
<strong>This line rendered as bold text.</strong>
</p>
<p className="mb-2 strikethrough">
<s>This line rendered as italicized text.</s>
</p>
<p className="mb-2 strikethrough">
<del>This line rendered as italicized text.</del>
</p>
<p>
<em>This line rendered as italicized text.</em>
</p>
</>
);
}
export default InlineTextElem;
import React from 'react';
const InlineTextElem = () => {
return (
<>
<p className="mb-2">
You can use the mark tag to <mark>highlight</mark> text.
</p>
<p className="mb-2">
<del>This line of text is meant to be treated as deleted text.</del>
</p>
<p className="mb-2">
<s>This line of text is meant to be treated as no longer accurate.</s>
</p>
<p className="mb-2">
<ins>This line of text is meant to be treated as an addition to the document.</ins>
</p>
<p className="mb-2">
<u>This line of text will render as underlined</u>
</p>
<p className="mb-2">
<small>This line of text is meant to be treated as fine print.</small>
</p>
<p className="mb-2">
<strong>This line rendered as bold text.</strong>
</p>
<p className="mb-2 strikethrough">
<s>This line rendered as italicized text.</s>
</p>
<p className="mb-2 strikethrough">
<del>This line rendered as italicized text.</del>
</p>
<p>
<em>This line rendered as italicized text.</em>
</p>
</>
);
}
export default InlineTextElem;
<template>
<p>You can use the mark tag to
<mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p class="strikethrough"><s>This line rendered as italicized text.</s></p>
<p class="strikethrough"><del>This line rendered as italicized text.</del></p>
<p><em>This line rendered as italicized text.</em></p>
</template>
<template>
<p>You can use the mark tag to
<mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p class="strikethrough"><s>This line rendered as italicized text.</s></p>
<p class="strikethrough"><del>This line rendered as italicized text.</del></p>
<p><em>This line rendered as italicized text.</em></p>
</template>
<div>
<p>You can use the mark tag to
<mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p class="strikethrough"><s>This line rendered as italicized text.</s></p>
<p class="strikethrough"><del>This line rendered as italicized text.</del></p>
<p><em>This line rendered as italicized text.</em></p>
</div>
Remove the default list-style and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the className for any nested lists as well.
<ul class="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<!--List Unstyled-->
<ul class="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<!--List Inline-->
<ul class="list-inline">
<li class="list-inline-item">Lorem ipsum</li>
<li class="list-inline-item">Phasellus iaculis</li>
<li class="list-inline-item">Nulla volutpat</li>
</ul>
import React from 'react';
const List = () => {
return (
<>
<ul className="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<div className="title-sm"><span>List Unstyled</span></div>
<ul className="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<div className="title-sm"><span>List Inline</span></div>
<ul className="list-inline">
<li className="list-inline-item">Lorem ipsum</li>
<li className="list-inline-item">Phasellus iaculis</li>
<li className="list-inline-item">Nulla volutpat</li>
</ul>
</>
);
}
export default List;
import React from 'react';
const List = () => {
return (
<>
<ul className="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<div className="title-sm"><span>List Unstyled</span></div>
<ul className="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<div className="title-sm"><span>List Inline</span></div>
<ul className="list-inline">
<li className="list-inline-item">Lorem ipsum</li>
<li className="list-inline-item">Phasellus iaculis</li>
<li className="list-inline-item">Nulla volutpat</li>
</ul>
</>
);
}
export default List;
<template>
<ul class="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<!--List Unstyled-->
<ul class="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<!--List Inline-->
<ul class="list-inline">
<li class="list-inline-item">Lorem ipsum</li>
<li class="list-inline-item">Phasellus iaculis</li>
<li class="list-inline-item">Nulla volutpat</li>
</ul>
</template>
<template>
<ul class="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<!--List Unstyled-->
<ul class="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<!--List Inline-->
<ul class="list-inline">
<li class="list-inline-item">Lorem ipsum</li>
<li class="list-inline-item">Phasellus iaculis</li>
<li class="list-inline-item">Nulla volutpat</li>
</ul>
</template>
<div>
<ul class="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<!--List Unstyled-->
<ul class="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<!--List Inline-->
<ul class="list-inline">
<li class="list-inline-item">Lorem ipsum</li>
<li class="list-inline-item">Phasellus iaculis</li>
<li class="list-inline-item">Nulla volutpat</li>
</ul>
</div>