Getting Started with Astro
Learn how to build fast, content-focused websites with Astro's island architecture and zero-JS by default approach.
Explore all 24 components with every variant, size, and style option. Built with semantic tokens and OKLCH colors.
5 variants × 3 sizes = 15 combinations
Multiple padding options and hover states
Image extends to edges, content has manual padding
Compact card with minimal spacing
Standard card padding for most use cases
Spacious card for prominent content
Hover over me to see the elevation change!
5 semantic variants × 2 sizes
Extra Small Text - For captions and labels
Small Text - For metadata and secondary info
Base Text - Standard body copy
Large Text - For lead paragraphs
Extra Large Text - For emphasis
Primary text color (main content)
Secondary text color (less emphasis)
Muted text color (minimal emphasis)
Inverse text (for dark backgrounds)
Normal weight - Regular text
Medium weight - Slightly emphasized
Semibold weight - Strong emphasis
Bold weight - Maximum emphasis
Left aligned text (default)
Center aligned text
Right aligned text
4 variants with different use cases
This is a paragraph with an inline link that has an animated underline on hover. Perfect for text content .
External links automatically show an indicator: Astro Documentation
Learn how to build fast, content-focused websites with Astro's island architecture and zero-JS by default approach.
Dive deep into the OKLCH color space and why it's better for designing accessible, perceptually uniform color systems.
interface Props {
variant?: 'primary' | 'secondary';
size?: 'sm' | 'md' | 'lg';
}
const { variant = 'primary', size = 'md' } = Astro.props; Good design is as little design as possible. Less, but better – because it concentrates on the essential aspects, and the products are not burdened with non-essentials.
Auto-fit Grid (responsive)
Item 1
Item 2
Item 3
Item 4
2 Columns
Column 1
Column 2
3 Columns
Col 1
Col 2
Col 3
Vertical Stack (default)
Item 1
Item 2
Item 3
Horizontal Stack
Item 1
Item 2
Item 3
Stack with Center Alignment
Stack with Space Between
XS Container (max-width: 20rem)
SM Container (max-width: 24rem)
Readable Container (max-width: 65ch)
The reading progress bar is visible at the top of this page. Scroll to see it in action!