Footer#

Footer renders a <footer> styled as a DaisyUI footer: centred content on a base-200 background with generous padding. Group links in <nav> elements with a footer-title heading to get DaisyUI's column layout.

Import#

TSX
import { Footer } from '@sigx/daisyui';

Basic Usage#

TSX
Loading preview...
TSX
Loading preview...

Coloured#

background and padding replace the defaults; a theme colour brings its matching content colour with it.

TSX
Loading preview...

Props#

Footer accepts the shared box styling props.

PropTypeDefaultDescription
centerbooleanfalseVertically centre items (items-center)
backgroundBackgroundColor'base-200'Theme background; sets the matching content colour
paddingSpacing'10'Padding — a scale value or { x, y, top, … }
marginSpacing-Margin
roundedRadiusValue | boolean-Border radius; true is the theme box radius
widthSizeValue-Width preset or CSS length
heightSizeValue-Height preset or CSS length
classstring-Additional CSS classes

Slots#

SlotDescription
defaultFooter content