Skip to content

Iconography

Icon standards for Space UI using Tabler Icons for components and Lucide Icons for primitives.

Overview

Space UI relies on clean, static vector iconography designed for clarity, visual balance, and performance. We adopt a dual-library approach where each icon set serves a distinct structural role:


Dual Iconography Comparison

Explore side-by-side examples of identical icon concepts implemented with Tabler Icons versus Lucide Icons to understand the design decisions and aesthetic differences:


Installation

Install both libraries to support primitives and compound components in your application:

Tabler Icons (Components & Blocks)

Bash

Lucide Icons (Primitives)

Bash

Usage Guidelines

1. Tabler in Components & Blocks

When building custom UI sections, feature cards, dashboards, or buttons, import icons from @tabler/icons-react:

Code

2. Lucide in Headless Primitives

Primitives use lucide-react for standard UI indicators and state controls:

Code

Icon Sizing Standards

To maintain consistent vertical rhythm across your application, adhere to the standard Space UI icon scale:


Optical Alignment

When pairing icons with text inside buttons or badges:

  • Always apply shrink-0 to prevent icon distortion inside flex containers.
  • Use pointer-events-none on decorative icons to ensure click events pass cleanly to the parent trigger.
  • Keep icon colors inherited or muted with text-muted-foreground to preserve high visual hierarchy on the label text.