Heading fonts

Choose a Google Fonts family. The selected font loads from Google Fonts; Inter and Geist Serif are bundled locally.

Search Reflow

Keyboard shortcuts

Use these keys while you are not typing in a field.

Search⌘K
Cycle themeT
Cycle accentA
Cycle heading fontF
Cycle radiusR
Cycle sizeS
Cycle iconsI
Cycle hoverH
Toggle navigation[
Toggle properties]
Previous / next demo slide←→
Show shortcuts?
Skip to content
Open navigationClose navigation

Make them yours

Theme
SystemT
Accent
BlueA
Heading font
InterF
Radius
RoundedR
Size
DefaultS
Icons
LucideI
Hover
FluidH

Sizes

Default and compact sizes share the same control scale.

Installation

One prompt for your coding agent to set up Reflow and use this system in Remix.

The principle

A button next to a select next to a tab should land at the same height. Each size scales text, icons, and padding together.

Use compact controls in dense, data-heavy regions. Default gives everyday controls more room.

Default · 36px
Last updated
Created
Name
Compact · 28px
Last updated
Created
Name

Typography scale

Compact reduces type size and line height together, preserving the hierarchy at a smaller size.

See the full scale in Typography. Press S outside a field to switch between densities.

Compact regions

Set density on an ancestor to scale a whole group. Switch the example and compare the measured control height.

1 selected

Token reference

Inspect either toolbar row to measure the controls alongside the tokens below.

TokenDefaultCompact
--rf-control-height36px28px
--rf-control-padding12px10px
--rf-text-display28px24px
--rf-text-title16px15px
--rf-text-body13px12px
--rf-text-caption12px11px
--rf-text-micro11px10px
--rf-leading-body20px18px
--rf-gap8px4px
--rf-icon-size16px14px

Regional density reference

Use data-density on an element to set the inherited CSS tokens. A nested region can override its ancestor’s density.

AttributeValuesScope
data-densitydefault | compactElement and descendants

Component size prop

Use the size prop to override density for one control.

PropValuesComponents
sizedefault | compactTabs, Select, and other controls
sizedefault | compact | icon | icon-compactButton