#33
Basic component options
Components and Patterns · Working
What is this skill?
Basic component options involves passing simple parameters like text, IDs, and labels to GOV.UK Frontend macros to configure how components appear and behave.
Why is it important?
- Customisation – Adapt components to your specific needs
- Correct labelling – Ensure form fields have proper labels for accessibility
- Unique IDs – Prevent conflicts when using multiple instances
- Foundation – Basic options are the first step to mastering macros