Getting Started
Overview
Frontron is GUI Library that supports desktop app development for web developers.
Browser Support
Frontron supports Chromium V8 engine and Electron browsers.
You can use this for your web project by changing some configurations in frontron.
Viewing Source Code
You can view Frontron templates source code in GitHub repository.
The supported template presets are:
JavaScript | TypeScript |
---|---|
react | react-ts |
next | next-ts |
Scaffolding Your First Frontron Project
Compatibility Note
Frontron requires Node.js version 20+.
npm create frontron
npx create-frontron
$ yarn create frontron
$ pnpm create frontron
$ bun create frontron
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a frontron + React project, run:
# npm 20+
npm create frontron@latest my-react-app -- --template react
# yarn
yarn create frontron my-react-app --template react
# pnpm
pnpm create frontron my-react-app --template react
# bun
bun create frontron my-react-app --template react
See create-frontron for more details on each supported template: react
, react-ts
, react-swc
, react-swc-ts
, next
, next-ts
.
How to Update Icons
- Taskbar Icon: This icon is displayed on the taskbar when your application is running.
- System Tray Icon: This icon appears in the system tray area, usually at the bottom-right corner of the screen (on Windows) or the top-right corner (on macOS).
- Desktop Icon: This is the icon displayed on the desktop shortcut of your application.
- Favicon: This icon appears in the browser tab when your application is accessed as a web app.
- Logo: This is the general logo used throughout your application.
You can find the icon.png
file in the public
directory. Replace this file with your desired icon to update all the mentioned icons simultaneously.
/public
└─icon.png
To update these icons, simply replace the icon.png
file in the public
directory with your custom icon. Ensure that the new icon follows the recommended size and format (usually 512x512 pixels, PNG format) for best results.
After replacing the icon, you don't need to restart your application or clear the browser cache to see the changes take effect.
Options for Install frontron
If you want to use Frontron like install frontron
in your current project, install
command needs some configuration in your package and directory.