[
  {
    "name": "text",
    "type": "string",
    "required": false,
    "description": "The text of the button."
  },
  {
    "name": "html",
    "type": "string",
    "required": false,
    "description": "The HTML to use as the text of the button. Setting this overwrites the `text` property."
  },
  {
    "name": "href",
    "type": "string",
    "required": false,
    "description": "A URL to use as a link for the button."
  },
  {
    "name": "title",
    "type": "string",
    "required": false,
    "description": "A title attribute for the button."
  },
  {
    "name": "icon",
    "type": "string",
    "required": false,
    "description": "The name of a Font Awesome icon, without the `fa-` prefix."
  },
  {
    "name": "iconSvg",
    "type": "string",
    "required": false,
    "description": "The SVG to use as the icon. Setting this overwrites the `icon` property."
  },
  {
    "name": "accent",
    "type": "boolean",
    "required": false,
    "description": "If `true`, set the colour of the button to the page’s accent colour.",
    "default": false
  },
  {
    "name": "small",
    "type": "boolean",
    "required": false,
    "description": "If `true`, make the button smaller.",
    "default": false
  },
  {
    "name": "plain",
    "type": "boolean",
    "required": false,
    "description": "If `true`, remove the background colour of the button and make it look more like a link.",
    "default": false
  },
  {
    "name": "iconOnly",
    "type": "boolean",
    "required": false,
    "description": "If `true`, don’t show the text of the button.",
    "default": false
  },
  {
    "name": "iconOnlyOnMobile",
    "type": "boolean",
    "required": false,
    "description": "If `true`, show both the text and icon on larger devices but only show the icon on smaller devices.",
    "default": false
  },
  {
    "name": "rightAlignIcon",
    "type": "boolean",
    "required": false,
    "description": "If `true`, align the icon to the right hand side of the button.",
    "default": false
  },
  {
    "name": "buttonElement",
    "type": "boolean",
    "required": false,
    "description": "If `true`, use a `<button>` element for the button. This makes the `href` attribute redundant.",
    "default": false
  },
  {
    "name": "buttonType",
    "type": "string",
    "required": false,
    "description": "Set the type of button element if `buttonElement` is true."
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the button."
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the button."
  }
]
