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.Subdued12px

    Use as the subdued border radius for surfaces.

    Borders.Radius.Surface.Default16px

    Use as the default border radius for surfaces.

    Borders.Radius.Container.Subdued8px

    Use as the subdued border radius for containers.

    Borders.Radius.Container.Default12px

    Use as the default border radius for containers.

    Borders.Radius.Field.Subdued4px

    Use as the subdued border radius for fields.

    Borders.Radius.Field.Default8px

    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