Lightbox components are a standard part of the Salesforce UI, but they’re not easily available (until now!) for your own code.

Salesforce lightboxes have the following properties:

  • They “grey out” the rest of the page behind the component, making the page unclickable until the lightbox is dismissed
  • They can be dragged around the screen by dragging on the title bar
  • They can contain any content you like, including a Visualforce page (use an iframe inside the lightbox)

Get Salesforce Lighbox component @