Skip to content

Commit a316105

Browse files
Add changelog entry
1 parent 8064018 commit a316105

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ Note: This release was created from the `support/10.x` branch.
66

77
### :new: **New features**
88

9+
#### New search input component
10+
11+
We've added a new [search input component](https://service-manual.nhs.uk/design-system/components/search-input).
12+
13+
To use the `searchInput` Nunjucks macro in your service:
14+
15+
```njk
16+
{{ searchInput({
17+
label: {
18+
text: "Find session"
19+
},
20+
name: "search",
21+
width: 10
22+
}) }}
23+
```
24+
25+
If you are not using Nunjucks macros, use the HTML markup from the [search input examples in the NHS digital service manual](https://service-manual.nhs.uk/design-system/components/search-input).
26+
27+
This change was introduced in [pull request #1660: Add search input component](https://github.com/nhsuk/nhsuk-frontend/pull/1660).
28+
929
#### Add icons to buttons
1030

1131
You can now [add icons](https://service-manual.nhs.uk/design-system/styles/icons) to buttons using the `icon` Nunjucks options.

0 commit comments

Comments
 (0)