[ { "name": "meta", "type": "object", "required": false, "description": "Object containing options for the meta navigation.", "params": [ { "name": "visuallyHiddenTitle", "type": "string", "required": false, "description": "Title for a meta item section. Defaults to 'Support links'." }, { "name": "html", "type": "string", "required": false, "description": "HTML to add to the meta section of the footer, which will appear below any links specified using meta.items." }, { "name": "text", "type": "string", "required": false, "description": "Text to add to the meta section of the footer, which will appear below any links specified using meta.items. If meta.html is specified, this option is ignored." }, { "name": "items", "type": "array", "required": false, "description": "Array of items for use in the meta section of the footer.", "params": [ { "name": "text", "type": "string", "required": true, "description": "List item text in the meta section of the footer." }, { "name": "href", "type": "string", "required": true, "description": "List item href attribute in the meta section of the footer." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the anchor in the footer meta section." } ] } ] }, { "name": "navigation", "type": "array", "required": false, "description": "Array of items for use in the navigation section of the footer.", "params": [ { "name": "title", "type": "string", "required": true, "description": "Title for a section." }, { "name": "columns", "type": "integer", "required": false, "description": "Amount of columns to display items in navigation section of the footer." }, { "name": "width", "type": "string", "required": false, "description": "Width of each navigation section in the footer. Defaults to full width. You can pass any design system grid width here, for example, 'one-third'; 'two-thirds'; 'one-half'." }, { "name": "items", "type": "array", "required": false, "description": "Array of items to display in the list in navigation section of the footer.", "params": [ { "name": "text", "type": "string", "required": true, "description": "List item text in the navigation section of the footer." }, { "name": "href", "type": "string", "required": true, "description": "List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the anchor in the footer navigation section." } ] } ] }, { "name": "contentLicence", "type": "object", "required": false, "description": "Object containing options for the content licence.", "params": [ { "name": "text", "type": "string", "required": false, "description": "If `html` is set, this is not required. If `html` is provided, the `text` option will be ignored. If neither are provided, the text for the Open Government Licence is used." }, { "name": "html", "type": "string", "required": false, "description": "If `text` is set, this is not required. If `html` is provided, the `text` option will be ignored. If neither are provided, the text for the Open Government Licence is used. The content licence is inside a `` element, so you can only add [phrasing content](https://html.spec.whatwg.org/#phrasing-content) to it." } ] }, { "name": "copyright", "type": "object", "required": false, "description": "Object containing options for the copyright notice.", "params": [ { "name": "text", "type": "string", "required": false, "description": "If `html` is set, this is not required. If `html` is provided, the `text` option will be ignored. If neither are provided, Crown copyright is used." }, { "name": "html", "type": "string", "required": false, "description": "If `text` is set, this is not required. If `html` is provided, the `text` option will be ignored. If neither are provided, Crown copyright is used. The copyright notice is inside an `` element, so you can only use text formatting elements within it." } ] }, { "name": "containerClasses", "type": "string", "required": false, "description": "Classes that can be added to the inner container, useful if you want to make the footer full width." }, { "name": "classes", "type": "string", "required": false, "description": "Classes to add to the footer component container." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the footer component container." } ]