# FontFamily
Describes an available font family and its styles.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## FontFamily interface

Describes a font family available in the current project, including all of its styles and where it was loaded from.

**Signature:**

```typescript
interface FontFamily {
  family: string;
  styles: readonly string[];
  defaultStyle: string;
  source: FontSource;
}
```

## Properties

<table>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        family
      </td>

      <td>
        string
      </td>

      <td>
        The font family name.
      </td>
    </tr>

    <tr>
      <td>
        styles
      </td>

      <td>
        readonly string\[]
      </td>

      <td>
        All styles available within this family (e.g. `"Regular"`, `"Bold"`).
      </td>
    </tr>

    <tr>
      <td>
        defaultStyle
      </td>

      <td>
        string
      </td>

      <td>
        The style to use when none is specified.
      </td>
    </tr>

    <tr>
      <td>
        source
      </td>

      <td>
        [FontSource](/en/creator-api/values/font-source)
      </td>

      <td>
        Where this font was loaded from.
      </td>
    </tr>
  </tbody>
</table>
