Skip to main content

IFrame

An iFrame component.

Options

  • src | string (required): source URL. Default: none.
  • fullscreen | boolean: controls whether to display the iFrame in fullscreen mode. Default: false.
  • title | string: iFrame title. Default: 'An iFrame'.
  • width | number: iFrame width (in px). Default: 900.
  • height | number: iFrame height (in px). Default: 600.
  • className | string: class name. Default: ''.
  • style | object: CSS inline styles. Default: {}.

Examples

Live Editor
Result
ReferenceError: Provider is not defined