Skip to main content

Borders

    Borders provide style, width, and radius to the edges of an element.

    import Borders from '@dynatrace/strato-design-tokens/borders';

    Borders.Style

    SampleToken NameValueDescription
    Borders.Style.Defaultsolid

    Use as the default border style.

    Borders.Style.Dasheddashed

    Use to indicate interactive text.

    Borders.Width

    SampleToken NameValueDescription
    Borders.Width.Default1px

    Use as the default border width.

    Borders.Width.Emphasized2px

    Use to emphasize borders. This can be useful to clearly separate content.

    Borders.Radius

    SampleToken NameValueDescription
    Borders.Radius.Surface.Subdued9px

    Use as the subdued border radius for surfaces.

    Borders.Radius.Surface.Default12px

    Use as the default border radius for surfaces.

    Borders.Radius.Container.Subdued6px

    Use as the subdued border radius for containers.

    Borders.Radius.Container.Default9px

    Use as the default border radius for containers.

    Borders.Radius.Field.Subdued3px

    Use as the subdued border radius for fields.

    Borders.Radius.Field.Default6px

    Use as the default border radius for fields.

    Borders.Radius.Field.Emphasized9999px

    Use for rounded or pill-like shapes.

    Still have questions?
    Find answers in the Dynatrace Community