Design System Utilities @ 0.1.1-alpha.0
    Preparing search index...

    Class SvgMaker<T_Slug>

    The object that defines a single SVG token.

    0.1.0-alpha

    Type Parameters

    • T_Slug extends string = string

    Implements

    Index

    Constructors

    Properties

    ariaLabel: string

    An override for the accessible name for this logo.

    aspectRatio: [number, number]
    height: number

    Height of the SVG viewport.

    innerSVG: string

    The paths and shapes to be included inside a element.

    label: string

    The human-readable name of this icon as displayed for users (including via screen-readers).

    slug: T_Slug

    The slugified name of this icon as displayed in code (e.g., props, css).

    width: number

    Width of the SVG viewport.

    svgAttrs: string[] = []

    Methods

    • Parameters

      • a: number
      • b: number

      Returns [number, number]