Skip to content

Commit 5905e9c

Browse files
authored
Merge pull request #592 from dxc-technology/component-footer
Component footer documentation update
2 parents e5a18eb + 16f42b6 commit 5905e9c

File tree

6 files changed

+68
-64
lines changed

6 files changed

+68
-64
lines changed
58.6 KB
Binary file not shown.

guidelines/components/footer/README.md

Lines changed: 68 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,48 @@ _Footer component example_
66

77
Footers are a secondary element in a web page because they usually appear at the bottom and it is the last thing that the user interacts with. But the presence of the footer must be designed in every application and be part of it (consumer or back-office) as it is a key layout element to the overall experience. Is a choice of the designer to either leave the footer visible by default or push it down, depending on the use case.
88

9-
## Appereance
9+
## Usage
1010

11-
This area can contain a variety of things depending on the application and two approaches are followed to use a footer element.
11+
- The footer frame should be docked at the bottom of the page and should not scroll with any of the data within working section of the screen.
12+
- The footer frame should span the entire screen width.
13+
- The footer frame should display the copyright information at the right margin.
14+
- We recommend uploading either an alternate version or a smaller brand image than the used in the header. If the company has an alternate version of the logo, isotype, imagotype or isologo available, we encourage to use it. In the opposite case a smaller version of the main brand image can be used.
15+
16+
## Anatomy
1217

13-
- The first reason is that users scan or read the page and they don't find what they are looking for or need more detail regarding some information.
14-
- The second reason is that the user already has a conception of the footer, and the default action in the flow is to scroll down to the footer to find useful information.
18+
![Footer anatomy](images/footer_anatomy.png)
1519

20+
1. Container
21+
2. Logo
22+
3. Social icons
23+
4. Copyright
24+
5. Company links
25+
26+
## Content
27+
28+
![Footer custom content examples](images/footer_custom_content.png)
29+
30+
_Footer custom content examples_
31+
32+
The footer component has a custom area where many kinds of content can be placed, some of them are contemplated in the following list:
33+
34+
* Plain text or content
35+
* Informational purpose text
36+
37+
* Menu links
38+
* Global navigation
39+
* Sitemap
40+
* Useful links or resources
41+
42+
* Forms
43+
* Select language
44+
* Login / Sing up
45+
* Provide email adress / Subscribe
46+
47+
* Actions
48+
* Ask for help / Support
49+
* Business related actions / Call to action
50+
* Search
1651

1752
## Design specifications
1853

@@ -32,6 +67,28 @@ _Footer component design specs_
3267
| `socialLinksColor` | Social icons | `color-white` | #ffffff |
3368

3469

70+
### Typography
71+
72+
| Component token | Element | Core token | Value |
73+
| :-------------------------------- | :-------------------- | :--------------------------- | :------------------------- |
74+
| `bottomLinksFontFamily` | Bottom links | `font-family-sans` | 'Open Sans', sans-serif |
75+
| `bottomLinksFontSize` | Bottom links | `font-scale-01` | 0.75rem / 12px |
76+
| `bottomLinksFontWeight` | Bottom links | `font-weight-regular` | 400 |
77+
| `bottomLinksFontStyle` | Bottom links | `font-style-normal` | normal |
78+
| `bottomLinksTextDecoration` | Bottom links | `font-style-no-line` | none |
79+
| `copyrightFontFamily` | Copyright | `font-family-sans` | 'Open Sans', sans-serif |
80+
| `copyrightFontSize` | Copyright | `font-scale-01` | 0.75rem / 12px |
81+
| `copyrightFontWeight` | Copyright | `font-weight-regular` | 400 |
82+
| `copyrightFontStyle` | Copyright | `font-style-normal` | normal |
83+
84+
85+
### Border
86+
87+
| Component token | Element | Core token | Value |
88+
| :-------------------------------- | :-------------------- | :--------------------------- | :------------------------- |
89+
| `border-width` | Divider | `border-width-1` | 1px |
90+
| `border-style` | Divider | `border-style-solid` | solid |
91+
3592
### Height
3693

3794
| Property | Value |
@@ -56,48 +113,25 @@ _Footer component design specs_
56113
| Property | Value |
57114
| ----------------- | --------- |
58115
| `padding-top` | 24px |
59-
| `padding-right` | 36px |
60-
| `padding-bottom` | 24px |
116+
| `padding-right` | 32px |
117+
| `padding-bottom` | 22px |
61118
| `padding-left` | 36px |
62119

63120

64-
### Typography
65-
66-
| Property | Element | Value |
67-
| ------------- | ------------------------- | --------------- |
68-
| `font-size` | Titles | 1rem/16px |
69-
| `font-size` | Links | 0.875rem/14px |
70-
| `font-size` | Copy-write | 0.75rem/12px |
71-
| `line-height` | Copy-write | 1.25rem |
72-
| `font-size` | Terms & company links | 0.75rem/12px |
73-
| `line-height` | Terms & company links | 1.25rem |
74-
| `font-weight` | Titles | 600 |
75-
| `font-weight` | Links | 400 |
76-
77-
78121
### Iconography
79122

80-
| Property | Element | Value |
81-
| ----------------- | --------------------- | ----------- |
82-
| `height`/ `width` | Social media icons | 24/24px |
83-
123+
| Property | Element | Value |
124+
| :----------------- | :--------------------- | :----------- |
125+
| `height`/ `width` | Social media icons | 24/24px |
126+
| `max-height` | DXC logo | 32px |
84127

85-
### DXC Logo
86128

87-
88-
| Property | Element | Value |
89-
| ------------- | ------------- | --------- |
90-
| `max-height` | DXC logo | 32px |
91-
92-
93-
### Terms & Company Links
129+
### Bottom Links
94130

95131
| Property | Element | Core token | Value |
96132
| :----------------------- | :--------------------- | :------------------------- | :--------------- |
97133
| `min height` | Links container | `-` | 20px |
98134
| `padding-top` | Links container | `spacing-03` | 0.5rem / 8px |
99-
| `border-width` | Links separator | `border-width-1` | 1px |
100-
| `border-style` | Links separator | `border-style-solid` | solid |
101135

102136

103137
### Custom content
@@ -108,31 +142,7 @@ _Footer component design specs_
108142

109143
The content of the footer should be adapt to the space available depending on the screen device.
110144

111-
## Content
112145

113-
![Footer custom content examples](images/footer_custom_content.png)
114-
115-
_Footer custom content examples_
116-
117-
The footer component has a custom area where many kinds of content can be placed, some of them are contemplated in the following list:
118-
119-
* Plain text or content
120-
* Informational purpose text
121-
122-
* Menu links
123-
* Global navigation
124-
* Sitemap
125-
* Useful links or resources
126-
127-
* Forms
128-
* Select language
129-
* Login / Sing up
130-
* Provide email adress / Subscribe
131-
132-
* Actions
133-
* Ask for help / Support
134-
* Business related actions / Call to action
135-
* Search
136146

137147

138148
## Responsive version for mobile and tablet
@@ -144,12 +154,6 @@ Regarding his behavior, the footer must be pushed down always so it is not visib
144154
On the mobile version, first we have the logo. Below it the links to privacy and terms to let a space for custom component and at the bottom the copyright terms, centered.
145155
At this stage, the custom content and the disposition is responsability of the user, the same way as it is in the desktop and tablet version.
146156

147-
### User Interface Design Considerations
148-
149-
- The footer frame should be docked at the bottom of the page and should not scroll with any of the data within working section of the screen.
150-
- The footer frame should span the entire screen width.
151-
- The footer frame should display the copyright information at the right margin.
152-
- We recommend uploading either an alternate version or a smaller brand image than the used in the header. If the company has an alternate version of the logo, isotype, imagotype or isologo available, we encourage to use it. In the opposite case a smaller version of the main brand image can be used.
153157

154158

155159
## Links and references
25.6 KB
Loading
2.71 KB
Loading
590 Bytes
Loading
2.35 KB
Loading

0 commit comments

Comments
 (0)