Skip to content
Footer - Web Component
The Footer component can be used imported from:
Playground
Parameters
The Web component uses the <z-footer>
tag:
By default, all the parameters are optional or can be set in different, except for the ones marked as required
The parametrization of the component can be done with the following custom HTML params:
Name | Type | Description | Slot | A11y |
---|---|---|---|---|
columns | object[] | Columns to display in the footer | ||
social | object | Social media links | social | |
social-text | string | Social media header | social-text | |
footer | object[] | Links in the footer |
Events
This component has events. Check the documentation about how to use the events.
Name | Payload | Description |
---|
Slots
This component has slots. Check the documentation about how to use the slots.
Name | Tags | Description |
---|---|---|
default | span | Content of the footer. |
social | span | Social media links |
social-text | span | Social media header |
footer | span | Footer links |
Parameters use
columns
The columns
parameter is an array of objects that define the columns in the footer. Each object has the following properties:
header
string: The header of the column.items
object[]: An array of objects that define the items in the column. Each object has the following properties:text
string: The text of the item.href
string: The URL to navigate to when the item is clicked.
Make sure to use a maximum of 4 columns, following the design guidelines.
social
The social
parameter is an array of objects that define the social media links in the footer. Each object has the following properties:
icon
string: The name of the icon to display. Make sure to use the correct icon name. Check the icon cataloghref
string: The URL to navigate to when the icon is clicked.
footer
The footer
parameter is an array of objects that define the footer links. Each object has the following properties:
text
string: The text of the link.href
string: The URL to navigate to when the link is clicked.
Browser support
Detected engine:
Chromium
Webkit
Gecko