Sha256: d7d9df2de7a8ef2a9354f0dbe7b90dcd8472a66868856de54bc8f49dfbec35a2

Contents?: true

Size: 1.18 KB

Versions: 292

Compression:

Stored size: 1.18 KB

Contents

[
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the label. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML to use within the label. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "for",
        "type": "string",
        "required": true,
        "description": "The value of the for attribute, the id of the input the label is associated with."
    },
    {
        "name": "isPageHeading",
        "type": "boolean",
        "required": false,
        "description": "Whether the label also acts as the heading for the page."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the label tag."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the label tag."
    }
]

Version data entries

292 entries across 292 versions & 1 rubygems

Version Path
govuk_publishing_components-23.13.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.12.3 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.12.2 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.12.1 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.12.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.11.1 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.11.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.10.2 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.10.1 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.10.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.9.2 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.9.1 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.9.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.8.0 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.7 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.6 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.5 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.4 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.3 node_modules/govuk-frontend/govuk/components/label/macro-options.json
govuk_publishing_components-23.7.2 node_modules/govuk-frontend/govuk/components/label/macro-options.json