React Footer Component

Footer

Rocket
New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.

React footer component is an additional navigation used for displaying general information that a user might want to access from any page within your site. It is a place to display boilerplate text about the site, company info, copyrights, links to a contact form, sitemap, FAQ and other such resources.

Other Frameworks

CoreUI components are available as native Angular, Bootstrap (Vanilla JS), and Vue components. To learn more please visit the following pages.

Example#

<CFooter>
<div>
<CLink href="https://coreui.io">CoreUI</CLink>
<span>&copy; 2025 creativeLabs.</span>
</div>
<div>
<span>Powered by</span>
<CLink href="https://coreui.io">CoreUI</CLink>
</div>
</CFooter>

Customizing#

CSS variables#

React footers use local CSS variables on .footer for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.

--cui-footer-min-height: #{$footer-min-height};
--cui-footer-padding-x: #{$footer-padding-x};
--cui-footer-padding-y: #{$footer-padding-y};
--cui-footer-color: #{$footer-color};
--cui-footer-bg: #{$footer-bg};
--cui-footer-border-color: #{$footer-border-color};
--cui-footer-border: #{$footer-border-width} solid var(--cui-footer-border-color);

How to use CSS variables#

const vars = {
'--my-css-var': 10,
'--my-another-css-var': "red"
}
return <CFooter style={vars}>...</CFooter>

SASS variables#

$footer-min-height: 3rem !default;
$footer-padding-y: $spacer * .5 !default;
$footer-padding-x: $spacer !default;
$footer-bg: var(--cui-tertiary-bg) !default;
$footer-color: var(--cui-body-color) !default;
$footer-border-width: var(--cui-border-width) !default;
$footer-border-color: var(--cui-border-color) !default;

API#

CFooter#

import { CFooter } from '@coreui/react'
// or
import CFooter from '@coreui/react/src/components/footer/CFooter'
Property Default Type
className# - string

A string of all className you want applied to the base component.

position# - 'fixed', 'sticky'

Place footer in non-static positions.