---
url: "https://designsystem.gov.cz/templates/components/detail/footer.html"
titulek: "Footer | Gov Design System CE - Templates"
h1: "Footer"
popis: ""
jazyk: "en"
kanonicka: ""
drobecky: []
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 02:17:16"
znaku: 15632
slov: 1911
kodovani: "utf-8"
sha256: "7295e1b4db8eb5256327b62dfea8f7b1ae0262a0f1e88c6013120c19325e14eb"
---
- HTML
- View
- Context
- Assets
- Info
- Notes
``
``
`{
"main": [
{
"heading": {
"tag": "h5",
"name": "Title",
"id": "nav1"
},
"link": [
"Link",
"Link",
"Link",
"Link",
"Link"
]
},
{
"heading": {
"tag": "h5",
"name": "Title",
"id": "nav2"
},
"link": [
"Link",
"Link",
"Link",
"Link",
"Link"
]
},
{
"heading": {
"tag": "h5",
"name": "Title",
"id": "nav3"
},
"link": [
"Link",
"Link",
"Link",
"Link",
"Link"
]
}
],
"main-short": [
{
"heading": {
"tag": "h5",
"name": "Title",
"id": "nav1"
},
"link": [
"Link",
"Link",
"Link",
"Link",
"Link"
]
},
{
"heading": {
"tag": "h5",
"name": "Title",
"id": "nav2"
},
"link": [
"Link",
"Link",
"Link",
"Link",
"Link"
]
}
],
"description": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam ligula pede, sagittis quis, interdum ultricies, scelerisque eu. Mauris dictum facilisis augue. Sed elit dui, pellentesque a, faucibus vel, interdum nec, diam.",
"contact": {
"tag": "h5",
"name": "Title"
},
"watch-us": {
"tag": "h5",
"name": "Sledujte nás"
},
"news": {
"title": {
"tag": "h5",
"name": "Odběr novinek"
},
"input": "E-mailová adresa",
"note": "Odesláním e-mailové adresy souhlasíte se zpracováním podle ochrany osobních údajů",
"button": {
"text": "Odebírat",
"aria-label": "Odebírat newsletter",
"color": "primary",
"type": "solid",
"size": "m",
"native-type": "submit"
}
},
"button-up": {
"classes": [
"gov-footer__up",
"js-gov-footer__up"
],
"color": "primary",
"type": "base",
"size": "m",
"aria-label": "Vrátit se na začátek stránky",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "arrow-up"
}
},
"apps": {
"heading": {
"tag": "h5",
"name": "Mobilní aplikace nebo jiná loga"
},
"logos": [
{
"src": "/assets/badge/app-store.svg",
"href": "https://apps.apple.com/us/app/port%C3%A1l-ob%C4%8Dana/id6483367664",
"title": "Přejít na Apple Store",
"aria-label": "Přejít na Apple Store",
"alt": "Stáhnout v App Store",
"img": {
"width": "auto",
"height": "36"
}
},
{
"src": "/assets/badge/google-play.svg",
"href": "https://play.google.com/store/apps/details?id=cz.gov.portal.v2.obcan",
"title": "Přejít na Google Play",
"aria-label": "Přejít na Google Play",
"alt": "Stáhnout na Google Play",
"img": {
"width": "auto",
"height": "36"
}
}
]
},
"social": {
"aria-label": "Odkazy na sociální sítě",
"social": [
{
"color": "primary",
"type": "base",
"size": "s",
"title": "Facebooku",
"aria-label": "Facebook",
"href": "#",
"external": true,
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "facebook",
"size": "s"
}
},
{
"color": "primary",
"type": "base",
"size": "s",
"title": "Instagram",
"aria-label": "Instagram",
"href": "#",
"external": true,
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "instagram",
"size": "s"
}
},
{
"color": "primary",
"type": "base",
"size": "s",
"title": "Youtube",
"aria-label": "Youtube",
"href": "#",
"external": true,
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "youtube",
"size": "s"
}
},
{
"color": "primary",
"type": "base",
"size": "s",
"title": "Linkedin",
"aria-label": "Linkedin",
"href": "#",
"external": true,
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "linkedin",
"size": "s"
}
},
{
"color": "primary",
"type": "base",
"size": "s",
"title": "Twitter X",
"aria-label": "Twitter X",
"href": "#",
"external": true,
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "twitter-x",
"size": "s"
}
}
]
}
}`
File:
- **Content:** `import {blockRapidClicks, smoothScrollTo} from "@gov-design-system-ce/utils";
class FooterButtonUp {
rootElement: Element;
constructor(rootElement: HTMLButtonElement) {
this.rootElement = rootElement;
this.registerListeners();
}
private registerListeners() {
this.rootElement.addEventListener('gov-click', blockRapidClicks(() => this.scrollToTop()));
this.rootElement.addEventListener('click', blockRapidClicks(() => this.scrollToTop()));
}
private scrollToTop() {
smoothScrollTo(0)
}
}
export default FooterButtonUp;`
- **URL:** [/components/raw/footer/footer-button-up.ts](../raw/footer/footer-button-up.ts)
- **Filesystem Path:** src/components/organisms/footer/footer-button-up.ts
- **Size:** 591 Bytes
- **Content:** `@import "../../../styles/mixins";
.gov-footer {
padding: var(--spacing-3xl) var(--templates-margin-l);
background-color: var(--component-footer-background);
color: var(--component-footer-text-secondary);
a, a span {
color: var(--component-footer-text-link) !important;
}
gov-link gov-icon,
.gov-link .gov-icon {
color: var(--icon-on-bold-white);
}
h5 {
@include typography("headline-s");
color: var(--component-footer-text-primary);
margin-bottom: var(--templates-margin-m);
}
hr {
width: 100%;
border-top: 1px solid var(--component-footer-separator);
}
&__content {
max-width: var(--templates-layout-page-limit-max);
margin: 0 auto;
padding: 0;
}
&__main {
width: 100%;
@include flex($direction: column, $justify: space-between, $gap: var(--spacing-l));
}
&__address {
padding: 0 !important;
margin: 0 !important;
@include flex($direction: column, $gap: var(--spacing-s-nudge));
li {
color: var(--component-footer-text-secondary);
}
}
.gov-social gov-button, .gov-social .gov-button,
&__up {
background-color: var(--component-footer-button-default) !important;
.element {
color: var(--icon-on-subtle-fixed-bg) !important;
}
&:hover {
background-color: var(--component-footer-button-hover) !important;
}
&:active {
background-color: var(--component-footer-button-active) !important;
}
}
&__description {
color: var(--text-white-fixed);
svg {
color: var(--icon-on-bold-white);
}
}
&__newsletter {
gov-form-message, .gov-form-message {
color: var(--component-footer-text-secondary);
a {
color: var(--component-footer-text-secondary) !important;
}
}
}
&__version {
height: auto;
span {
@include typography("body-xs");
&:first-child {
padding-right: var(--spacing-m);
margin-right: var(--spacing-m);
border-right: 1px solid var(--component-footer-text-secondary);
}
}
}
@include mq($from: md) {
&__main {
flex-direction: row;
flex-wrap: wrap;
gap: var(--templates-margin-l);
> li {
width: 224px;
&:last-child {
width: 248px;
}
&:has(.gov-footer__description) {
width: 368px;
}
&:has(.gov-footer__newsletter) {
width: 368px;
}
}
}
&__version {
span {
white-space: nowrap;
}
}
}
}`
- **URL:** [/components/raw/footer/footer.scss](../raw/footer/footer.scss)
- **Filesystem Path:** src/components/organisms/footer/footer.scss
- **Size:** 3 KB
- **Handle:** @footer
- **Variants *(4)*:** [Default](./footer--default.html),
[Description](./footer--description.html),
[Newsletter](./footer--newsletter.html),
[Simple](./footer--simple.html)
- **Preview:** [With layout](../preview/footer.html) [Component only](../render/footer.html)
- **Filesystem Path:** src/components/organisms/footer/footer.hbs
- **References *(7)*:** [@heading](./heading.html),
[@footer-contact](./footer-contact.html),
[@social](./social.html),
[@button](./button.html),
[@footer-logos](./footer-logos.html),
[@footer-links](./footer-links.html),
[@footer-copy](./footer-copy.html)
- **Referenced by *(28)*:** [@seznam-s-filtry](./seznam-s-filtry.html),
[@mrizka](./mrizka.html),
[@centrum-podpory](./centrum-podpory.html),
[@faq-akordeony](./faq-akordeony.html),
[@faq-bloky](./faq-bloky.html),
[@clanek](./clanek.html),
[@clanek--s-pozadim](./clanek--s-pozadim.html),
[@clanek--oddelene-bloky](./clanek--oddelene-bloky.html),
[@domovska-stranka](./domovska-stranka.html),
[@carousely](./carousely.html),
[@vice-informaci](./vice-informaci.html),
[@volna-mista](./volna-mista.html),
[@detail-pozice](./detail-pozice.html),
[@kontakty](./kontakty.html),
[@mapa-webu](./mapa-webu.html),
[@o-nas](./o-nas.html),
[@prvni-uroven](./prvni-uroven.html),
[@druha-uroven](./druha-uroven.html),
[@detail-zamestnance](./detail-zamestnance.html),
[@povinne-zverejnovane-informace](./povinne-zverejnovane-informace.html),
[@tiskove-zpravy](./tiskove-zpravy.html),
[@kontakty-pro-media](./kontakty-pro-media.html),
[@logo-manual](./logo-manual.html),
[@vysledky-vyhledavani](./vysledky-vyhledavani.html),
[@vice-kategorii](./vice-kategorii.html),
[@aktivni-filtry](./aktivni-filtry.html),
[@nacitani-vysledku](./nacitani-vysledku.html),
[@prazdne-vysledky](./prazdne-vysledky.html)
No notes defined.