Elements

Components

Alkaline features more than 24 custom components , along with a concise design and typography system.

Title

Several configurations are available for the Title component.

Gradient Title

With Background

Logo Logo Shown

Page Header

Multiple configuration options make it easy to create a variety of headers.

Page Header

Lorem ipsum dolor sit amet, Mauris fringilla, nunc at tincidunt fermentum, turpis nunc Max Weinberg, et facilisis leo magna eget nunc. Integer Sona Movsesian, lorem a facilisis fermentum, justo orci.


Page Header

Refresh to view the animation: Lorem ipsum dolor sit amet, Conan O'Brien consectetur adipiscing elit. Sed ut urna nec purus lacinia tincidunt, nec Andy Richter. Vivamus efficitur.

ALK Logo

Cards

There are several configurations available for the card component. These configuration options should make it easy to build a variety of cards.

Card


Card with no shadow.

Card


Card with medium shadow.

Card


Card with large shadow.

Card


Alt Card with no shadow.

Card


Alt card with medium shadow.

Card


Alt card with large shadow.

Author with socials

A variety of social icons are available for the author component. Easily switch to your favorite icon library.

Tooltip

Available in two different styles.

Hover me
Hover me

404

A basic 404 page is included.

Not all who wonder are lost, but if they are, they'll get a nice 404 message.

Typography

Alkaline comes with built-in typography, layouts, and essential styling powered by Tailwind CSS. You can easily customize or remove any styling to match your needs.

Paragraphs

Lorem ipsum dolor sit amet, Conan O'Brien consectetur adipiscing elit. Sed ut urna nec purus lacinia tincidunt nec Andy Richter. Vivamus efficitur, risus at vehicula fermentum, eros magna Matt O'Brien, non tincidunt lacus magna at eros. Nulla facilisi. In hac habitasse platea dictumst."

Lorem ipsum dolor sit amet, Conan O'Brien consectetur adipiscing elit. Sed ut urna nec purus lacinia tincidunt nec Andy Richter. Vivamus efficitur, risus at vehicula fermentum, eros magna Matt O'Brien, non tincidunt lacus magna at eros. Nulla facilisi. In hac habitasse platea dictumst." nec.

Lists

Unordered List

  • Item 1
  • Item 2
  • Item 3

Ordered List

  1. Item 1
  2. Item 2
  3. Item 3

Blockquotes

Conan O'Brien consectetur adipiscing elit. Sed ut urna nec purus lacinia tincidunt nec Andy Richter. Vivamus efficitur, risus at vehicula fermentum, eros magna Matt O'Brien, non tincidunt lacus magna at eros. Nulla facilisi. In hac habitasse platea dictumst.

Code

Inline code: const x = 42;

Code block with copy to clipboard:


---
import type { ShikiConfig } from "astro";
import type {
	BundledLanguage,
	LanguageRegistration,
	SpecialLanguage,
} from "shiki";

import { SITE } from "@config";
import { Code } from "astro:components";
import CopyToClipboard from "./utils/CopyToClipboard.astro";

interface CopyCodeProps {
	code?: string;
	lang: BundledLanguage | SpecialLanguage | LanguageRegistration;
	customIcon?: JSX.Element;
	theme?: ShikiConfig["theme"];
	customClass?: string | Array<{ [key: string]: boolean | string }>;
}

const {
	code = "",
	lang,
	customIcon,
	customClass,
	theme = SITE.shikiConfig.theme,
} = Astro.props as CopyCodeProps;
---

<div class:list={["relative py-1 px-4 m-0", customClass]}>
	<CopyToClipboard
		textToCopy={code}
		customIcon={customIcon}
		aria-label="Copy code to clipboard"
		size={10}
		customClass="absolute top-4 right-4"
	/>
	<Code lang={lang} theme={theme} code={code} />

</div>