---
url: "https://designsystem.gov.cz/templates/components/detail/suggestions.html"
titulek: "Našeptávač vyhledávání | Gov Design System CE - Templates"
h1: "Našeptávač vyhledávání"
popis: ""
jazyk: "en"
kanonicka: ""
drobecky: []
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 02:15:18"
znaku: 10558
slov: 1357
kodovani: "utf-8"
sha256: "8fce1b1dc5e696581d2e9e0f1d11c896eb808f72ac42de465394075965395854"
---
- HTML
- View
- Context
- Assets
- Info
- Notes
`
Zrušit
- Naposledy hledané
- Naposledy navštívené
-
Vydání cestovního pasu
-
Evidence uchazeče - zprostředkování zaměstnání
Vyřídit
- Ostatní navštěvují
-
Výpis z rejstříku trestů
Vyřídit
-
Vydání občanského průkazu
-
Vydání řidičského průkazu
Vyřídit
-
Vydání cestovního pasu
-
Ohlášení změny místa trvalého pobytu
-
Změna trvalého pobytu
- Zkuste tyto kategorie
`
` {{ render '[@button](./button.html)' search-mobile/button-erase }} {{ render '[@button](./button.html)' search-mobile/button-cancel }} {{#if empty}} -
{{{ empty/searched }}}
{{ empty/text }}
{{/if}} {{#each heading}} - {{ heading }} {{#if last}}
{{#each last}} - {{{ text }}} {{ render '[@button](./button.html)' button }}
{{/each}}
{{/if}} {{#if link}} {{#each link}} - {{{ name }}} {{#if button}} {{ render '[@button](./button.html)' button }} {{/if}}
{{/each}}
{{/if}} {{#if chips}} {{ render '[@chips](./chips.html)' chips }} {{/if}} {{/each}} {{#if all-results}} - {{ render '[@button](./button.html)' all-results/button }}
{{/if}}
`
`{
"search-mobile": {
"placeholder": "Hledejte v názvu, ...",
"aria-label": "Hledejte v názvu, obsahu...",
"button-erase": {
"slot": "button-erase",
"color": "neutral",
"type": "base",
"size": "m",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "x"
}
},
"button-cancel": {
"text": "Zrušit",
"color": "primary",
"type": "base",
"size": "m"
}
},
"heading": [
{
"heading": "Naposledy hledané",
"last": [
{
"text": "cestovní pas",
"button": {
"color": "neutral",
"type": "base",
"size": "xs",
"aria-label": "Odstranit výraz",
"icon-start": {
"slot": "icon-start",
"type": "components",
"name": "x-lg"
}
}
},
{
"text": "pas rychle",
"button": {
"color": "neutral",
"type": "base",
"size": "xs",
"aria-label": "Odstranit výraz",
"icon-start": {
"slot": "icon-start",
"type": "components",
"name": "x-lg"
}
}
}
]
},
{
"heading": "Naposledy navštívené",
"link": [
{
"name": "Vydání cestovního pasu"
},
{
"name": "Evidence uchazeče - zprostředkování zaměstnání",
"button": {
"text": "Vyřídit",
"color": "secondary",
"type": "solid",
"size": "xs"
}
}
]
},
{
"heading": "Ostatní navštěvují",
"link": [
{
"name": "Výpis z rejstříku trestů",
"button": {
"text": "Vyřídit",
"color": "secondary",
"type": "solid",
"size": "xs"
}
},
{
"name": "Vydání občanského průkazu"
},
{
"name": "Vydání řidičského průkazu",
"button": {
"text": "Vyřídit",
"color": "secondary",
"type": "solid",
"size": "xs"
}
},
{
"name": "Vydání cestovního pasu"
},
{
"name": "Ohlášení změny místa trvalého pobytu"
},
{
"name": "Změna trvalého pobytu"
}
]
},
{
"heading": "Zkuste tyto kategorie",
"classes": [
"gov-mb--s"
],
"chips": {
"aria-label": "Nabízené kategorie",
"chip": [
{
"name": "Doklady",
"color": "primary",
"type": "outlined",
"size": "s",
"href": "#"
},
{
"name": "Výpisy",
"color": "primary",
"type": "outlined",
"size": "s",
"href": "#"
},
{
"name": "Doprava",
"color": "primary",
"type": "outlined",
"size": "s",
"href": "#"
},
{
"name": "Daně a finance",
"color": "primary",
"type": "outlined",
"size": "s",
"href": "#"
},
{
"name": "Manželství a partnerství",
"color": "primary",
"type": "outlined",
"size": "s",
"href": "#"
}
]
}
}
]
}`
File:
- **Content:** `@import "../../../styles/mixins";
.gov-suggestions {
position: absolute;
top: 0;
left: 0;
min-height: 100%;
z-index: 100;
padding-top: calc((var(--spacing-s-nudge) * 2) + var(--height-component-m));
background-color: var(--background-block-primary);
border: 1px solid var(--border-subtlest);
border-radius: var(--corner-radius-s);
@include shadow("m");
> * {
height: auto;
}
div > strong {
display: inline-block;
}
.gov-link a > span {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
&__search {
position: fixed;
top: 0;
left: 0;
z-index: 2;
padding: var(--spacing-s-nudge) var(--spacing-m);
background-color: var(--background-block-primary);
}
&__results {
display: flex;
flex-direction: column;
gap: var(--spacing-m);
width: 100vw;
padding: var(--spacing-s-nudge) var(--spacing-m);
ul {
margin-top: 0;
}
}
&__empty {
padding: var(--spacing-s-nudge);
background-color: var(--background-neutral-subtlest);
color: var(--text-secondary);
border-radius: var(--corner-radius-s);
}
&__empty-searched {
color: var(--text-primary);
}
&__all-results {
margin-top: var(--spacing-s);
}
@include mq($from: md) {
top: calc(var(--height-component-l) + var(--spacing-s));
padding-top: var(--spacing-s-nudge);
min-width: rem-calc(416);
&__results {
width: rem-calc(416);
}
}
}`
- **URL:** [/components/raw/suggestions/suggestions.scss](../raw/suggestions/suggestions.scss)
- **Filesystem Path:** src/components/molecules/suggestions/suggestions.scss
- **Size:** 1.7 KB
- **Handle:** @suggestions
- **Preview:** [With layout](../preview/suggestions.html) [Component only](../render/suggestions.html)
- **Filesystem Path:** src/components/molecules/suggestions/suggestions.hbs
- **References *(2)*:** [@button](./button.html),
[@chips](./chips.html)
- **Referenced by *(2)*:** [@search](./search.html),
[@header](./header.html)
No notes defined.