fndn/ui

Foundations

Shape

Tight radii, picked by role: chips, controls, cards, windows, pills.

  • rounded-chip6px
  • rounded-control8px
  • rounded-card10px
  • rounded-window14px
  • rounded-pill999px
  • rounded-shapevar(--fndn-radius-pill)The corner of a button, toggle or segmented control of 32px or more that names no shape of its own: the app's shape. A pill, or radius.control in a rounded app ("shape": "rounded" in the project's fndn.json).
  • rounded-shape-smvar(--fndn-radius-pill)The same for a control of 28px or less: a pill, or radius.chip in a rounded app, the corner of a field of that height.