UI Kit

Design system for this site. Colors, typography, and reusable components.

Colors

Background

--dark-bg #191919
--light-bg #f8f8ff

Accent

--accent-start / end Gradient

Text

Heading (dark) #fafafa
Heading (light) #111111
Body (dark) #e0e0e0
Body (light) #333333

Semantic

Success #10b981
Warning #f59e0b
Danger #ef4444
Info #6366f1

Typography

Headings

Heading Level 1

Heading Level 2

Heading Level 3

Heading Level 4

Heading Level 5
Heading Level 6

Body Text

This is a standard paragraph with strong text and emphasized text. The line height is set to 1.75 for optimal readability. You can also use inline code.

Lists

Unordered

  • First item
  • Second item
  • Third item

Ordered

  1. First item
  2. Second item
  3. Third item

Blockquote

This is a blockquote with a left border and subtle background.

Button

import Button from "@components/kit/Button.astro"

Variants

Sizes

States

With Icons

As Link

ToggleGroup

import ToggleGroup from "@components/kit/ToggleGroup.astro"
import { ToggleGroup } from "@components/kit/ToggleGroup" (React)

Pill Variant

For language switchers and compact toggles.

Separated Variant

For filter categories with bordered buttons.

With Icons

Pass icon to items. Icon size adjusts to toggle size (14px for sm, 16px for md).

Select

import Select from "@components/kit/Select.astro"
import { Select } from "@components/kit/Select" (React)

Sizes

With Placeholder

Input

import Input from "@components/kit/Input.astro"
import { Input } from "@components/kit/Input" (React)

Sizes

States

Form Group

We'll never share your email.

Form Row

Textarea

Badge

import Badge from "@components/kit/Badge.astro"

Subtle Variants

Transparent background, colored text. For inline labels.

Default Primary Success Warning Danger Info

Solid Variants

Gradient background, white text. For status overlays.

Received Reserved Info Warning Error

Sizes

Small Medium

With Icon

Received Reserved

With Dot

Online Offline

ProgressBar

import ProgressBar from "@components/kit/ProgressBar.astro"

Basic

Accent Variant

Use accent prop for gradient fill.

Without Percent

Custom Values

Pass value and max — percent is calculated automatically.

Modal Title

This is an example modal. You can put any content here.

Toast

CSS: @import "@styles/kit/toast.css"

Demo

Positions

Default is bottom-center. Add position class to container.

Structure

<div class="kit-toast-container">
  <div class="kit-toast kit-toast--success">
    <span class="kit-toast-icon">✓</span>
    <div class="kit-toast-content">
      <p class="kit-toast-title">Success</p>
      <p class="kit-toast-message">Item saved.</p>
    </div>
    <button class="kit-toast-dismiss">&times;</button>
  </div>
</div>

Type Variants

.kit-toast--success, .kit-toast--error, .kit-toast--warning, .kit-toast--info

Position Variants

.kit-toast-container--top-center, .kit-toast-container--top-right, .kit-toast-container--top-left, .kit-toast-container--bottom-right, .kit-toast-container--bottom-left

Tooltips

Usage

Add data-tooltip attribute to any element.

Any element