Skip to main content

Link

A component for displaying a link.

Options

  • href | string (required): URL of website to link to. Default: none.
  • download | (string|boolean): specifies whether link should be downloaded: set to true to force download, or a string to specify the filename; if false, no download is forced. Default: false.
  • target | string: defines where link is opened: set to _blank for new window, _self own frame, _parent for parent, _top for full body of window, or the name of the frame. Default: none.
  • windowFeatures | string: comma-separated list of window features for when link is opened in new window (see: https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features). Default: none.
  • openWindow | boolean: boolean controlling whether to open URL in new window. Default: false.
  • className | string: class name. Default: ''.
  • style | object: CSS inline styles. Default: {}.

Examples

Live Editor
Result
ReferenceError: Provider is not defined