CopyGen - AI Writer & Copywriting Landing Page HTML Template
CopyGen is a responsive website template that looks great on desktops, tablets, and mobile devices. It is built with Bootstrap 5, HTML5, CSS3, Vanilla JS, and SASS, with a Vite rebuild workflow. The package includes a landing kit and a dashboard kit, each with prebuilt pages, SCSS skins, and RTL variants.
If you like our template, please don't forget to rate it. Thank you so much!
copygen-html-landing/html/ (or copygen-html-dashboard/html/). Prebuilt CSS/JS live under html/assets/, images under html/images/.
With Node/Vite: edit src/scss or src/js, then run npm run build (or dev) and use dist/.
dist/ (copies html/ and recompiles CSS/JS from src/, including *.rtl.css).src/.|--docs/
|--copygen-html-landing/ (landing kit)
|--|--html/ ready-to-open LTR pages
|--|--|--index.html
|--|--|--[other-pages].html
|--|--|--assets/css|js|fonts/
|--|--|--images/
|--|--|--form/
|--|--src/
|--|--|--scss/
|--|--|--js/
|--|--|--assets/
|--|--package.json
|--|--vite.config.js
|--copygen-html-dashboard/ (dashboard kit — same shape)
This is a basic HTML structure used by the compiled pages.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="images/favicon.png">
<title>CopyGen || Website Tagline</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body class="nk-body" data-menu-collapse="lg">
<div class="nk-app-root">
<!-- header / content / footer -->
</div>
<script src="assets/js/bundle.js"></script>
<script src="assets/js/scripts.js"></script>
</body>
</html>
SCSS sources live in src/scss. Each non-partial entry builds assets/css/<name>.css and <name>.rtl.css.
|--src/
|--|--scss/
|--|--|--core/
|--|--|--extend/bootstrap/
|--|--|--vendors/
|--|--|--_variables.scss
|--|--|--_variables-[skin].scss
|--|--|--style.scss
|--|--|--style-[skin].scss
|--|--|--theme.scss
Editing compiled CSS under html/assets/css is not recommended. Prefer changing SCSS and running npm run build, or add a custom CSS file and link it from HTML.
Vendor libraries are imported in src/js/bundle.js (ES modules) and compiled to a classic <script src>. Custom code lives in src/js/scripts.js.
|--src/
|--|--js/
|--|--|--bundle.js
|--|--|--scripts.js
|--|--|--vendors/nioapp.js
If you are not familiar with JavaScript, avoid editing core vendor includes — mistakes there can break the whole bundle.
Prefer adding your own JS and importing or including it from scripts.js, then run npm run build.
To activate dark mode by default, add .is-dark on body and .dark-active on .dark-mode-toggle buttons.
This is an HTML template — the dark-mode toggle is demo-only and resets after a full page reload unless you persist the preference yourself.
RTL stylesheets ship beside the LTR files under html/assets/css/ (e.g. style.css / style.rtl.css). The live demosite toolbar can switch direction via JavaScript; that switcher is not included in the customer package.
In the package, enable RTL manually:
dir="rtl" on the <body> tag (or the app root element).style.css to style.rtl.css (same for other skins).<link rel="stylesheet" href="assets/css/style.rtl.css">
…
<body class="nk-body" dir="rtl">
Open html/form/message-form.php (landing kit). Update sitename, email, and name. Duplicate the $emailTO[] line for additional recipients.
### Enter Your Sitename
$sitename = 'Your Sitename';
### Enter your email addresses: @required
$emailTO[] = array( 'email' => '[email protected]', 'name' => 'Name' );
Optional CC — uncomment and edit:
//$emailCC[] = array( 'email' => '[email protected]', 'name' => 'Your Name' );
Optional SMTP — uncomment and fill in:
// $mail->isSMTP();
// $mail->SMTPDebug = 0;
// $mail->Host = 'smtp_host';
// $mail->Port = 587;
// $mail->SMTPAuth = true;
// $mail->Username = 'smtp_username';
// $mail->Password = 'smtp_password';
Common libraries and Vanilla JS plugins.
https://getbootstrap.com/
https://swiperjs.com/
https://pristine.js.org/
https://mattboldt.com/demos/typed-js/
https://popper.js.org/
https://masonry.desandro.com/
https://github.com/Grsmto/simplebar
https://choices-js.github.io/Choices/
https://mymth.github.io/vanillajs-datepicker/#/
https://www.tiny.cloud/