Skip to content

nwutils/frameless-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NW.js Frameless window example

Screenshot

Features:

  • Custom title bar for dragging
    • Acts as a native title bar, so double-clicking will maximize and dragging to the edge of the screen works like normal
  • Custom, pure CSS, window controls:
    • minimize
    • maximize
    • restore
    • close
  • Transparent window with rounded corners
  • Rounded corners are removed when maximized
  • Adjustable background transparency
  • Simplified example for easier copy/pasting

Environment set up

  1. Download/install Node.js
  2. Download or clone the repo
  3. Run npm install

Running locally

  1. Do the environment setup
  2. Run npm start