FooterSection
The FooterSection
component organizes a group of related links under a section title, making it easier to categorize and present navigational or informational links within the footer.
Props
title
string
The title of the footer section, displayed above the links.
links
Link[]
An array of link objects, each with a title
and link
(URL).
Link
Object Structure
title
string
The text displayed for the link.
link
string
The URL the link points to.
Dependencies
The FooterSection
component does not have any external dependencies.
Key Style Classes
Container Styles:
flex flex-col gap-1 items-center md:items-start
: Centers the content on smaller screens and aligns it to the left on larger screens for a clean, organized appearance.
Title Styles:
tracking-wider text-xs font-semibold text-neutral-600 uppercase
: Styles the section title with uppercase text, spacing between letters, and a subtle color to differentiate it from the links.
Link Styles:
text-neutral-300 hover:underline text-xs font-extralight
: Sets the link text color and weight, adding an underline on hover for a subtle interactive effect.
Usage Example
Additional Notes
Customizable Links: The
links
array can hold any number of links, making this component flexible for various footer content needs.Responsive Alignment: The alignment adjusts based on screen size, making the links easy to read on all devices.
This documentation should cover all aspects of the FooterSection
component.
Last updated