Skip to main content

Radius

Radius tokens are split into two categories: primitives and semantics. The primitives are the base values that are used to create the semantic values. The semantic values are the ones that are used in the components. The radius system is designed to be flexible and adaptable, allowing for different use cases and design needs. The values are defined in dp (density-independent pixels) to ensure that they are consistent across different screen sizes and resolutions. The radius system is based on a 4px grid, which means that all radius values are multiples of 4. This allows for a consistent and predictable layout across the design system.

Semantics

Semantic tokens are used to build components; they are what is used in the design system to build components, and what should be used in your projects.

NameValueFlutterWebExample
none0dpZeta.of(context).radius.none--radius-none
minimal4dpZeta.of(context).radius.minimal--radius-minimal
rounded8dpZeta.of(context).radius.rounded--radius-rounded
large16dpZeta.of(context).radius.large--radius-large
xl24dpZeta.of(context).radius.xl--radius-xl
full360dpZeta.of(context).radius.full--radius-full

Primitives

These values are the base values that are used to create the semantic values.

We are showing them here for reference only; when using the design system, you should use the semantic values instead.

NameValueFlutterWebExample
00dpZeta.of(context).radius.0--radius-0
s4dpZeta.of(context).radius.s--radius-s
m8dpZeta.of(context).radius.m--radius-m
l16dpZeta.of(context).radius.l--radius-l
xl24dpZeta.of(context).radius.xl--radius-xl
2xl32dpZeta.of(context).radius.2xl--radius-2xl
3xl128dpZeta.of(context).radius.3xl--radius-3xl
4xl360dpZeta.of(context).radius.4xl--radius-4xl