Skip to content
PixiKit

Design system

The colours, type, corners and parts every PixiKit item is built from.

Every component, effect, block and template uses the same tokens and the same few parts. Whatever you install matches the rest of your project, in light and in dark.

Colour

Each token has a light and a dark value. Items never use a raw colour, only these names.

TokenLightDarkUse
background#ffffff#0a0a0aPage ground
card#ffffff#121212Raised surfaces: cards, panels, the preview stage
muted#f5f5f5#1a1a1aQuiet fills: wells, icon tiles, empty states
foreground#0a0a0a#fafafaText and icons
muted-foreground#666666#a1a1a1Descriptions, captions and metadata
primary#171717#fafafaThe main button; one main action per view
border#e5e5e5#262626Hairlines: card edges, dividers, table rules
ring#a3a3a3#737373Focus ring
destructive#c62828#ef5350Errors and destructive actions only
violet#7c3aed#a78bfaCard hover borders, drag handles, sponsor links

Type

One sans for text and one mono for code. Titles are medium, never bold.

StyleSize / line · weightSpecimen
Hero title44 / 1.04 · 500Build websites
Page title40 / 1.1 · 500Design system
Section24 / 1.33 · 600Choose your path
Subsection18 / 1.4 · 500Customize
Lead17 / 1.65 · 400PixiKit is a library for shadcn/ui.
Body15.5 / 1.625 · 400Every item installs with the shadcn CLI.
Card title14.5 / 1.5 · 600With your agent
Small13 / 1.5 · 400One command with the shadcn CLI.
Label11 / 1.4 · 600Free
Code13 / 1.7 · 400pnpm dlx shadcn@latest add split-flap

Corners

Small parts get small corners. The bigger the surface, the rounder it is.

6pxLabels, inline code
8pxTabs, menu items
10pxButtons, fields, icon tiles
12pxWells, tables, code blocks
14pxLists, side cards
16pxItem cards, the preview stage
18pxPath cards, empty states

A well inside a card takes the card's corner minus its padding.

Cards

A card is a hairline frame around a quiet well. On hover it lifts and its border turns violet.

Split flapEffect
Animated tabsComponent
Copy buttonComponent

16px corners, 1px border, 5px padding and a 120px well with 12px corners.

A list card: 14px corners, rows divided by hairlines, a 36px icon tile.

No components match your search.

An empty state: one line of text on the muted fill, no border.

Controls

Shown on the preview stage: the dotted ground every item page uses.

Button sizes
Button kinds
Toolbar
Labels
FreeProSoon
Fields
Colour#7c3aed

Every control shows a 2px focus ring. A disabled control drops to half strength.

Motion

Short and quiet. Nothing moves for decoration.

DurationEasingUse
160msease-outMenus opening
200mseaseColour and border changes on hover
300mscubic-bezier(0.2, 0.7, 0.2, 1)Cards lifting, the preview resizing

Under reduced motion, nothing animates and nothing is missing.

Space

Sizes sit on a 4px grid, with two smaller steps for tight parts.

SizeValueUse
2pxBetween tabs in a segmented control
5pxPadding inside a card frame
12pxBetween cards in a grid
16pxPadding in rows and code blocks
24pxBetween blocks in a section
40pxBetween the docs columns
48pxAbove a section heading

Layout

The docs shell has three fixed parts. The article between them is fluid.

PartValueUse
Header64pxOne row, sticky
Sidebar272pxDocs navigation
Articleup to 960pxText, previews and tables
Right rail280pxSide cards
Column gap40pxBetween sidebar, article and rail

Use it in your project

The theme adds every token to your project as a CSS variable. Set your brand colour once and every item follows.

$ pnpm dlx shadcn@latest add https://pixikit.com/r/theme-neutral.json
:root {
  --brand: #7c3aed;
  --brand-foreground: #ffffff;
  --radius: 0.625rem;
}