Skip to content
lcmenPublic

About

Sailboat UI as CSS classes like good old Bootstrap

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Bootboat

Bootboat provides reusable CSS component classes for Tailwind CSS v4, with visual design from Sailboat UI.

Installation

Download bootboat.css from the latest release. Install Tailwind CSS v4 and @tailwindcss/forms, then add these imports to your CSS entry file:

@import "tailwindcss";
@plugin "@tailwindcss/forms" { strategy: base }
@import "./bootboat.css";

Use strategy: base to prevent conflicts with Bootboat form classes.

Usage

<button class="btn btn-primary btn-lg">Get Started</button>
<div class="card-md"><div class="card-body">Content</div></div>
<input class="form-input" placeholder="Email">
<span class="badge-success">Active</span>

See component pages for examples. Interactive examples use Alpine.js.

Customization

Component utilities use :where() for zero specificity. Use Tailwind utilities to override them:

<button class="btn btn-primary rounded-full px-8">Pill Button</button>

Override theme tokens in an @theme block after the imports. Defaults are blue (--color-primary-{50..900}), slate (--color-secondary-{50..900}), and Inter (--font-sans).

@theme {
  --color-primary-500: #8b5cf6;
}

Website development

Use Node.js 26 and Ruby 4.0.7, as set in mise.toml:

mise install
npm ci
bundle install
npm run dev

Open http://localhost:8082/. Nanoc rebuilds pages and Tailwind watches CSS and HTML files.

Run npm run build to build the website in dist/. For GitHub Pages, use NANOC_ENV=production npm run build to add the /bootboat/ link prefix.

Credits and license

Visual design by Jeremie Carlson, from Sailboat UI. Licensed under MIT.

About

Sailboat UI as CSS classes like good old Bootstrap

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages