Skip to main content

Figma line-height

figma api docs

figma line-height is separated into three parts: px, %, and auto. auto is the default set when the user does not set line-height.

auto

If it is auto, it is not specified because it is the default.

css

line-height

line-height

/* px */
line-height: 10px;
/* % */
line-height: 10%;

flutter

height

Text(
'Hi!\nWe are Grida!',
style: TextStyle(height: 1),
);