GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing design-system.service.gov.uk — Prototyping – GOV.UK Design System PrototypingThis guide explains how to create prototypes using the GOV.UK Design System and GOV.UK Prototype Kit. Before you startTo make prototypes you will need to install version 7 or later of the GOV.UK Prototype Kit which has been built to work with the Design System. Version 7 of the Prototype Kit works in the same way as previous versions except that it uses a new frontend framework called GOV.UK Frontend. This means that any code that you copy across from old prototypes will not display correctly. Instead, you should use the code provided in the Design System. Styling page elementsThe Design System provides lots of new CSS classes for styling page elements, so you should not need to write as much of your own Sass or CSS. Explore the Styles section of the Design System to see what classes are available and how to apply them. Using componentsComponents are reusable parts of the user interface, like buttons, text inputs and checkboxes. The components in the Design System are designed to be accessible and responsive. There are 2 ways to use components in the Design System. You can either use HTML or a Nunjucks macro. You can copy the code from the HTML or Nunjucks tabs below any examples:
See options and how to use with Nunjucks
Using Nunjucks macrosA Nunjucks macro is a simple template that generates more complex HTML. However, macros are more sensitive to mistakes than HTML, so it’s worth saving and previewing. When using Nunjucks macros in the Prototype Kit leave out the first line that starts with Need help?If you’ve got a question about the GOV.UK Design System, contact the team. |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |