About the NHS.UK Visual Studio Code extension
This extension for Visual Studio Code includes snippets to help in building the UK's NHS digital services.
Available snippets
Styles
Layout
Typography
Components
Name |
Shortcut |
Notes |
Addresses |
nhsuk-address |
|
Bank details |
nhsuk-bank-details |
|
Button |
nhsuk-button |
|
Character count |
nhsuk-character-count |
|
Checkboxes |
nhsuk-checkboxes |
|
Checkbox or radio option |
nhsuk-option |
Use in conjunction with the nhsuk-checkboxes and nhsuk-radios Nunjucks snippets. |
Date input |
nhsuk-date |
|
Email address |
nhsuk-email |
|
Error summary |
nhsuk-error-summary |
|
Fieldset |
nhsuk-fieldset |
|
National insurance number |
nhsuk-nino |
|
Radios |
nhsuk-radios |
|
Select |
nhsuk-select |
|
Select option |
nhsuk-select-option |
Use in conjunction with the nhsuk-select Nunjucks snippet. |
Telephone number |
nhsuk-telephone |
|
Text input |
nhsuk-input |
|
Textarea |
nhsuk-textarea |
|
Content presentation
Navigation
Dependencies
Using this extension depends on the installation of the NHS.UK Frontend and Nunjucks into your project.
Support
This repository is maintained by Simon Whatley. If you’ve got a question or need support you can:
Contributing
If you’ve got an idea or suggestion you can:
Licence
Unless otherwise stated, this codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.
| |