Shape.

Five radii and the capsule, each with its role. What’s inside takes the outer radius minus the padding, and the corners stay concentric.

Available Updated November 24, 2026

Five radii and the capsule

Each radius has a role, so a theme can change the shape of its fields without touching its cards.

The six radii of the Flouvia theme, live: from 6 to 28 and the capsule.
RadiusRoleFor
6 --cu-radius-smallBadges, keys and the tip of an option.
10 --cu-radius-innerWhat sits inside a field or a small card.
14 --cu-radius-fieldFields and menu options.
20 --cu-radius-menuMenus, popovers and cards.
28 --cu-radius-sheetSheets, modals and large cards.
Capsule --cu-radius-controlButtons, chips and search: always half its height.

In use across flouvia.com, Flouvia OS and Ops: fields, menus, sheets and dialogs take their radius from their role, and buttons are capsules.

The concentric rule

What’s inside takes the outer radius minus the padding. Both corners share a center, and the space is the same at the corner as along the sides.

Do: A 28 sheet with 8 of padding holds a 20 card: the space is even.
Don’t: The same radius inside and out: at the corner, the space grows to 1.41 times the padding.
OutsidePaddingInside
28, sheet 820, menu
20, menu 614, field
14, field 410, inner
10, inner 46, small
  • The chain’s paddings

    The differences between radii (4, 4, 6 and 8) are the most common paddings: almost everything nested lands on another radius of the scale.

  • What touches the edge

    An image or a video that reaches the edge of its card takes the card’s radius on those corners.

The capsule

What you press to act (buttons, chips and search) is a capsule: its radius is half its height, at any size.

  • Data at 14, controls as capsules

    A field where you type a value has a 14 radius. Search, used as a control, is a capsule.

  • What’s inside, concentric

    A field’s × and eye sit as far from the edge as from the top; in search, concentric with the capsule’s end.

Accessibility

  • Focus follows the shape

    The 2 px ring, 2 px apart, follows its control’s radius: a capsule gets a capsule ring.

  • Shape never speaks alone

    No state is told by shape alone: what’s selected also changes its fill or its mark.

  • Forced colors

    Fields and controls take the system border, with their radius.

In a client theme

A theme changes each role’s radius and never the rule. Radii are the same in light and dark.

  • Changes

    Each role’s value. The light example theme makes the button a rounded rectangle that grows with its size: 8, 9, 12 and 14.

  • Stays

    The concentric rule, the scale the radii come from and each control’s touch target.

In code

The radii are --cu-radius-small, -inner, -field, -menu and -sheet, and the button’s, --cu-radius-control with -mini, -small and -large. The same source writes TypeScript, SwiftUI, Jetpack Compose and the variables for Figma.

Figma is a trademark of its owner; its logo appears only to show compatibility and does not imply endorsement.

Changes

  • Shape · System

    New guide, now available: the five radii and the capsule, each with its role, and the concentric rule.