🎉 This is a comprehensive demo of our Cube CSS architecture. Explore components or switch themes to see the full power!

Cube CSS Architecture Demo

A comprehensive showcase of our robust, scalable CSS system for tech blogging websites

Typography System

Our typography system provides a consistent visual hierarchy with responsive font sizes and multiple font families.

Font Sizes

Extra Small Text (0.75rem)

Small Text (0.875rem)

Base Text (1rem)

Large Text (1.125rem)

Extra Large Text (1.25rem)

2XL Text (1.5rem)

3XL Text (1.875rem)

4XL Text (2.25rem)

5XL Text (3rem)

Line Heights

Tight line height (1.25)

Snug line height (1.375)

Normal line height (1.5)

Relaxed line height (1.625)

Loose line height (2)

Letter Spacing

Tight letter spacing (-0.025em)

Normal letter spacing (0)

Wide letter spacing (0.025em)

Font Families

Sans Font (Inter) - The quick brown fox jumps over the lazy dog

Secondary Font (Poppins) - The quick brown fox jumps over the lazy dog

Display Font (Sora) - The quick brown fox jumps over the lazy dog

Mono Font (JetBrains Mono) - The quick brown fox jumps over the lazy dog

Technical Font (Roboto Flex) - The quick brown fox jumps over the lazy dog

Color System

Our color system provides a comprehensive palette with theme variants and semantic color categories.

Theme Colors

Primary
Secondary
Accent
Success
Warning
Error
Info

Background Colors

Primary
Surface
Surface Secondary
Surface Tertiary

Text Colors

Primary Text
Secondary Text
Muted Text
Inverse Text (on Surface)

Category Colors

Category
Tag
Author
Year
Super Category
Popular

Component System

Our component system provides reusable UI elements with multiple variants and states.

Buttons

Outline Buttons

Glass Buttons

Ghost Buttons

Loading States

Icon Buttons

Button Sizes

Full Width Button

Blog Actions

Advanced Pagination

Results: 201-300 of 2,847 items
Page 4 of 57
Progress:
7%

Cards

Form Elements

Topic Cards

A flexible topic card system with expandable tags, themed colors, and responsive layouts.

🚀

Super Categories

Core frameworks and development tools.

📂

Categories

Deep dives by specific topics.

Tags

Tags

Basic Tags

Default Tag Primary Tag Secondary Tag Success Tag Warning Tag Error Tag Info Tag

Category Tags

Category Tag Author Year Super Category Popular

Cute Cat Super Categories

Soft pastel category buttons with theme-aware colors. Click to toggle active state.

Removable Tags

Removable Tag Another Tag

Alerts

Success

Your changes have been saved successfully.

Warning

Please review your changes before proceeding.

Error

There was an error processing your request.

Information

Here's some useful information for you.

Progress Bars

Default Progress 65%
Success Progress 80%
Warning Progress 45%
Error Progress 25%
Info Progress 90%

Layout System

Our layout system follows Cube CSS architecture with composition patterns, block components, and utility classes working together.

Surface Component (Block)

Reusable content wrapper with built-in theming, gradients, and variants.

Flat Surface

Simple bordered surface with solid background.

Elevated Surface

With gradient and subtle shadow.

Outlined Surface

Transparent background with border only.

Box Component (Block)

Lightweight content wrapper with padding and border variants.

Bordered Box

For card-like content sections.

Shadow Box

With elevation for emphasis.

Grid Layout (Utility + Composition)

Responsive grids using utility classes with surface items.

Grid Item 1

Responsive grid with Surface blocks.

Grid Item 2

Adapts from 1 to 3 columns.

Grid Item 3

Uses Surface for consistent styling.

Flexbox Layout (Utility)

Flexible layouts with alignment and gap utilities.

Flex Item 1

With justify-between

Flex Item 2

Responsive flex row

Flex Item 3

Items centered vertically

Spacing Utilities

Single-purpose spacing classes for precise control.

Vertical Spacing (flex-col + gap)

Use .flex.flex-col with .gap-* for vertical lists.

Individual Margins

Use .mt-*, .mb-*, .ml-*, .mr-* for specific control.

Auto Margins

Use .mx-auto for centering, .mt-auto for push to bottom.

Prose Composition

Typography-optimized content wrapper for long-form text.

Why Use Prose?

The prose composition handles typography rhythm, line length constraints, and automatic spacing between elements.

  • Optimal reading line length (65-75 chars)
  • Automatic heading margins
  • List spacing normalization
  • Quote and code block styling

Combined with Surface for beautiful, readable content sections.

Theme System

Our theme system provides multiple color schemes with consistent design language.

Available Themes

Click the theme buttons at the bottom right to switch between themes:

  • Light: Clean, bright theme with high contrast
  • Dark: Dark theme with reduced eye strain
  • Dracula: Popular dark theme with purple accents
  • Peachoff: Warm, peach-colored theme
  • Purplegems: Elegant purple theme
  • Blue Professional: Corporate blue theme
  • Green Forest: Natural green theme
  • Accessible: High contrast theme for accessibility

Theme Features

Consistent Design

All themes maintain consistent spacing, typography, and component behavior while changing colors and accents.

Semantic Colors

Themes provide semantic color variables for success, warning, error, and info states that work across all themes.

Category Colors

Each theme includes category-specific colors for content types like categories, tags, authors, and more.

Code Examples

Our code highlighting system provides syntax highlighting for multiple programming languages.

CSS Example

CSS
/* Example code - SVG in CSS */
                                    <path
                                        d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z">
                                    </path>
                                    <rect x="2" y="9" width="4" height="12"></rect>
                                    <circle cx="4" cy="4" r="2"></circle>
                                </svg>

Additional Components

These components are available in the blocks directory.

Search Component

Sidebar Component

Flexible sidebar with sections for categories, tags, TOC, author info, and more.

Available Components

.sidebar--sticky

Stays visible while scrolling with custom scrollbar

.sidebar--collapsible

Collapses sections on mobile devices

.sidebar__toc

Table of contents with nested levels

.sidebar__author

Author bio with stats and social links

.sidebar__newsletter

Newsletter signup with gradient background

.sidebar__recent-posts

Recent posts list with meta information

Comments Component

Comments

2 comments
User
Sarah Johnson

Great article!

Article Component

Building Modern Web Applications

Learn how to create beautiful, responsive web applications using modern CSS.

This is a sample article demonstrating the article component styles.