Download

Download Halfmoon to get the compiled CSS, or include it with a package manager.

Create amazing Typeform-like forms and pages just by writing Markdown!

Compiled CSS #

Halfmoon is an open-source, MIT-licensed, CSS framework. You can find everything on GitHub (opens in new tab), or click on the button below to download ready-to-use compiled CSS for Halfmoon, which includes the following:

  • halfmoon.css — compiled and minified
  • halfmoon.rtl.css — compiled and minified, for right-to-left pages (learn more)
  • Core theme CSS files inside the /css/cores folder (learn more)
Start download

JavaScript #

Halfmoon is a drop-in replacement for Bootstrap. We implement no JavaScript on our own, therefore, there is no halfmoon.js (or anything similar). Instead we rely entirely on bootstrap.bundle.js, which you can download from Bootstrap's website (opens in new tab). This means that you can replace bootstrap.css with halfmoon.css on your website, and everything should work exactly as expected.

This also means that you can use any of the Bootstrap component libraries for popular JS frameworks such as React, Vue, Angular, Svelte, etc.

Starter template #

Here's a starter template to help you quickly get started with Halfmoon. You can replace the CDN links with locally available file paths if you want to.

HTML
<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Starter template - Halfmoon</title>

    <!-- Halfmoon CSS -->
    <link href="https://cdn.jsdelivr.net/npm/halfmoon@2.0.2/css/halfmoon.min.css" rel="stylesheet" integrity="sha256-RjeFzczeuZHCyS+Gvz+kleETzBF/o84ZRHukze/yv6o=" crossorigin="anonymous">
  </head>
  <body>
    <h1>Hello, world!</h1>

    <!-- Option 1: Bootstrap JS bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha256-CDOy6cOibCWEdsRiZuaHf8dSGGJRYuBGC+mjoJimHGw=" crossorigin="anonymous"></script>

    <!-- Option 2: Separate Popper and Bootstrap JS
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha256-whL0tQWoY1Ku1iskqPFvmZ+CHsvmRWx/PIoEvIeWh4I=" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" integrity="sha256-3gQJhtmj7YnV1fmtbVcnAV6eI4ws0Tr48bVZCThtCGQ=" crossorigin="anonymous"></script>
    -->
  </body>
</html>

Package managers #

Pull Halfmoon into your projects with some of the most popular package managers.

Package managers npm #

Use Halfmoon in your Node.js powered apps with the npm package (opens in new tab):

Terminal
# Install Halfmoon with npm
npm i halfmoon@2.0.2

Once the package has been installed, you can simply import the CSS file:

JavaScript
// Import Halfmoon CSS
import "halfmoon/css/halfmoon.min.css";

Package managers yarn #

Use Halfmoon in your Node.js powered apps with the yarn package (opens in new tab):

Terminal
# Install Halfmoon with yarn
yarn add halfmoon@2.0.2
Up next
Customize and theme

Help us grow

Our main goal is to make Halfmoon the go-to framework for building websites, dashboards and tools. If you believe in our mission, consider becoming a sponsor and help us grow.

You can email us directly if you have any queries. We are always happy to answer.

Subscribe for updates

We will notify you when the framework gets a substantial update. No spam ever.

Follow us on Twitter so that you can stay updated that way.