Footer
The Footer component is a standardized footer for Malaysian government websites.
Usage
Main Wrapper: Footer
The Footer
serves as the primary container for the footer content. All subcomponents are nested within this wrapper. It is divided into two main sections:
FooterTopSection
FooterBottomSection
1.FooterTopSection
The FooterTopSection
is the upper part of the footer and contains two main areas:
1.1 FooterMainInfo
1.2 FooterContent
1.1 FooterMainInfo
The FooterMainInfo
area displays key organizational details. It includes the following components:
1.1.1 ImageWithTitle
Displays an image (e.g., logo) alongside a title.
Example:

Organization Title
1.1.2 Address
Displays the physical address of the organization. Content: Added as plain text inside the component.
Example:
Sample Address Line 1, Sample Street Name, Sample Area, Sample District, Sample City, 12345 Sample Postal Code, Sample Country
1.1.3 SocialMedia
A container for social media links, with icons imported.
Example:
1.2 FooterContent
The FooterContent
component is designed for grouping related links in a structured layout, typically organized into columns. Each column is represented by a FooterContentColumn
, which includes a title and associated links.
Example:
Title 1
Link 1
Link 2
Title 2
Link 1
Link 2
2.FooterBottomSection
The FooterBottomSection
is the lower part of the footer. It contains the following:
1.1 FooterCopyright
1.2 FooterTimestamp
2.1 FooterCopyright
The FooterCopyright
area displays copyright information and additional related links. It includes the following components:
2.1.1 FooterCopyrightDate
Displays a copyright statement with year
Example:
2.1.2 FooterCopyrightLinkWrapper
A container for additional links, such as disclaimers or policies.
Example:
Disclaimer
Privacy Policy
2.2 FooterTimestamp
Displays the last updated date and time.
Example:
Props
Footer
Prop | Type | Default |
---|---|---|
className | string | - |
background | string | - |
children | ReactNode | - |
FooterTopSection
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
FooterMainInfo
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
ImageWithTitle
Prop | Type | Default |
---|---|---|
imgSrc | string | - |
imgAlt | string | - |
className | string | - |
children | ReactNode | - |
Address
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
SocialMedia
Prop | Type | Default |
---|---|---|
title | string | - |
className | string | - |
children | ReactNode | - |
SocialMediaItem
Prop | Type | Default |
---|---|---|
icon | ReactNode | - |
href | string | - |
name | string | - |
className | string | - |
FooterContent
Prop | Type | Default |
---|---|---|
children | ReactNode | - |
FooterContentColumn
Prop | Type | Default |
---|---|---|
title | string | - |
children | ReactNode | - |
FooterBottomSection
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
FooterCopyright
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
FooterCopyrightDate
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
FooterCopyrightLinkWrapper
Prop | Type | Default |
---|---|---|
className | string | - |
children | ReactNode | - |
FooterTimestamp
Prop | Type | Default |
---|---|---|
time | string | number | Date | - |
className | string | - |
children | ReactNode | - |