Blocky UI

Welcome to the Blocky UI documentation! A lightweight, zero-dependency TypeScript UI component library for 3D blocky-themed interfaces.

Live Demo GitHub


Quick Start

npm install blocky-ui-lite
import { BlockyUI } from 'blocky-ui-lite';
import 'blocky-ui-lite/styles';

const button = BlockyUI.createButton({
  text: 'Launch Sequence',
  variant: 'primary',
  onClick: () => console.log('Launched!')
});

Key Features

  • Zero Dependencies: Pure TypeScript/JavaScript + CSS
  • Pure CSS Effects: Multi-layer box shadows for 3D depth
  • Smooth Animations: 3D hover effects and transitions
  • Responsive: Mobile-first responsive design
  • Game-Ready: Optimized for interactive applications
  • TypeScript: Full type safety and IntelliSense

Components

Component Description
BlockyButton 4 variants with 3D hover effects
BlockyDropdown Theme-aware dropdowns with 4 variants
BlockyModal Full-featured modals with backdrop blur
BlockyCard Content containers with 3D styling
BlockyInfo Overlay popups with 5 color themes
BlockyTag Status tags with gradient styling
BlockyPage Full-screen pages with animated gradient borders

Themes

Blocky UI ships with 3 themes:

  • Blocky (default) — dark 3D blocky aesthetic
  • Fall Guys — bright cartoon style with white borders
  • Animal Crossing — flat cozy NookPhone style with earthy tones
BlockyUI.setTheme('fall-guys');
BlockyUI.setTheme('animal-crossing');

Design Philosophy

  • Simplicity First: Easy to use, minimal API surface
  • Performance Focused: Pure CSS for maximum performance
  • Modular Architecture: Use only what you need
  • Casino Game Aesthetic: Inspired by in-game multiplier tags

Blocky UI — lightweight, 3D blocky-themed UI components.

This site uses Just the Docs, a documentation theme for Jekyll.