Elements

Component library and website theme reference.
Theme aware

Elements follow the active Header theme

Switch between built-in color themes in the Header. This page uses semantic CSS variables, so controls and surfaces update without changing component structure.

Retro Blue

Default palette

Minimal Mono

Monochrome palette

Forest Green

Botanical palette

Vellum Ink

Warm vellum palette

Creator Yellow

Creator economy palette

Precision Orange

Technical neutral palette

Comic Pulp

Soft comic palette

Midnight Pastel

Dark pastel palette

Sky Blue

Pale product palette

Signal Red

Red action palette

Colors

Active theme palette, neutral scale, backgrounds, and text colors.

Primary Palette

Primary

current value

--color-primary

Primary Strong

current value

--color-primary-strong

Primary Light

current value

--color-primary-light

Accent

current value

--color-accent

Neutral Scale

50

#f7f9fc

100

#edf1f8

200

#dfe4ed

300

#c5cedb

400

#92a1b7

500

#677487

600

#4f5a6d

700

#3f4a5a

800

#2c3542

900

#19222f

950

#10161f

Background Colors

BG Primary

--color-bg-primary

BG Secondary

--color-bg-secondary

BG Primary Light

--color-bg-primary-light

BG Primary Dark

--color-bg-primary-dark

BG Secondary Dark

--color-bg-secondary-dark

Text Colors

Text Primary

current value

--color-text-primary

Text Secondary

current value

--color-text-secondary

Text Tertiary

current value

--color-text-tertiary

Typography

Font families, type scale, and weight variants.

Font Families

--font-brand (Instrument Serif)

Start with a polished theme

--font-sans (Inter)

Clean body text

Type Scale

Display — 48px / 400

Display headline

Heading 1 — 36px / 400

Main heading

Heading 2 — 28px / 400

Section heading

Heading 3 — 20px / 600

Subsection heading

Body — 16px / 400

The quick brown fox jumps over the lazy dog. A clean, fast, and reusable Astro starter built with Tailwind CSS.

Body Small — 14px / 400

Supporting text for descriptions and secondary content.

Caption — 12px / 400

Timestamps, metadata, and fine print.

Buttons

Primary, secondary, outline, and disabled variants in multiple sizes.

Variants

Sizes

With Icons

Badges & Tags

Status labels and tags in multiple variants and sizes.

Variants

PrimaryAccentNeutralSuccessWarningError

Sizes

SmallDefaultLarge

Cards

Basic, feature, and content card styles.

Basic Card

A simple card with border, background, and padding.

Feature Card

With icon, hover lift effect, and shadow.

Content Card

With image placeholder, like blog cards.

Form Elements

Inputs, selects, textareas, and toggle switches.

Toggle Switch

Layout Elements

Section headers, page headers, and separators.

Section Header

Section title goes here

Optional description text for additional context.

Separator Variants

Container Widths

site-container (max-width: 1200px)

Inner content (max-width: 672px)

Motion & Animation

Hover effects and transition demos.

Hover Effects

Card Lift

translateY + shadow

Button Glow

Primary glow shadow

Link underline

Underline animation

Accordion / FAQ

Collapsible content panels.

This is a sample answer to demonstrate the AccordionItem component. It supports rich HTML content.
Yes, all components accept props for easy customization. Check the source code for available options.

Icons

Lucide icon set used throughout the template.

MenuMobile nav
XClose
ChevronRightBreadcrumbs
ChevronLeftPagination
ChevronDownDropdowns
ArrowRightCTA buttons
ExternalLinkExternal links
SunLight mode
MoonDark mode
MailContact
SearchSearch
DownloadDownloads
CopyCopy text
CheckConfirm
FileTextBlog/Docs
LayoutPage layout
LayersSections
GridGrid view
ListList view
GitForkGitHub link
RssRSS feed
ZapPerformance
SparklesAnimations
PaletteCustomize
CodeDevelopment
GlobeWeb
ShieldSecurity
LockAuth
RocketLaunch
BotAI tools
BarChartAnalytics
PenToolDesign
MonitorDesktop
SmartphoneMobile
AlertCircleError state
CheckCircleSuccess
InfoInformation
AlertTriangleWarning
WrenchSettings

A generic Astro 7 starter with Blog, DESIGN.md, Elements, Tailwind CSS v4, MDX, and a reusable theme system.

© 2026 · Released under the MIT License.

v1.0.0Astro 7 starterView source