-
Notifications
You must be signed in to change notification settings - Fork 2
H1 H6
lallysmbc edited this page Feb 11, 2021
·
4 revisions
Refer to Stockport Design System for styling information and reference images
Property | Type | Required | Default Value | Description |
---|---|---|---|---|
Text | string | ✔️ | ❌ | Text value for element |
Size | enum | ❌ | Unspecified | Additional class added if size is specified |
Class | |
---|---|
Large | govuk-heading-l |
Medium | govuk-heading-m |
Small | govuk-heading-s |
When adding a heading if no Size property is provided the defaults listed below will be used, these can be overriden if you provide a Size property
Class | |
---|---|
H1 | govuk-heading-l |
H2 | govuk-heading-m |
H3-H6 | govuk-heading-s |
{
"Title": "Enter your street",
"PageSlug": "street-search",
"HideTitle": true,
"Elements": [
{
"Type": "H1",
"Properties": {
"Text": "This is a H1",
"Size": "Medium"
}
},
{
"Type": "H2",
"Properties": {
"Text": "This is a H2"
}
},
{
"Type": "H3",
"Properties": {
"Text": "This is a H3"
}
},
]
}
- Availability
- Actions
- Behaviours
- Breadcrumbs
-
Conditions
- String Conditions
- Date Conditions
- Integer Conditions
- File Upload Conditions
- Custom validation
-
Elements
- AddAnother
- Address
- Button
- Booking
- Checkbox
- Date Input
- Date Picker
- Declaration
- Document Download
- Document Upload
- File Upload
- H1-H6
- HR
- Image
- Inline Alert
- Link
- Map
- Multiple File Upload
- OrderedList
- Organisation
- P
- Radio
- Select
- Street
- Summary
- Success page
- Textarea
- Textbox
- Time input
- Unordered List
- Uploaded files summary
- Warning
- EnabledFor
- Feedback form
- File uploads
- Form Schema
- Header
- Inbound Values
- Integrating with PowerAutomate/0365
- Lookup
- Page
- Payment & Payment calculations
- Preview data structure
- Render conditions
- Reusable elements
- Structure tests
- Success page
- Tag parsers
- Target mapping
- Validators