Title
Several configurations are available for the Title component.
-->
Components
Alkaline features more than 24 custom components , along with a concise design and typography system.
Several configurations are available for the Title component.
Multiple configuration options make it easy to create a variety of headers.
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.
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.
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.
A variety of social icons are available for the author component. Easily switch to your favorite icon library.
Available in two different styles.
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.
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.
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.
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>