input
Information
- Folder
src/components/template-components/header/search/input
Files
Schema
$schema: http://json-schema.org/draft-07/schema
$id: /template-components/header/search/input
additionalProperties: false
required:
- label
- input
properties:
label:
type: string
format: html
input:
type: string
format: html
Mocks
label: <label for="header-search-input">Search</label>
input:
$tpl: elements/input
$ref: elements/input
id: header-search-input
placeholder: Search …
Template
<div class="HeaderSearchInput">
<div class="u-hiddenVisually">
{{ label }}
</div>
{{ input }}
</div>
Variants