# FieldIconProps

**Kind:** Interface

Props for the `FieldIcon` component. Also accepts:
* `IconStyleProps`

## Properties

### `className?`

Type: `undefined | string`

Additional class names to apply to the icon.

### `field`

Type: `Field`

The field model to display an icon for.

### `fillColor?`

Type: `undefined | string`

The color of the icon.

### `pathClassName?`

Type: `undefined | string`

Additional class names to apply to the icon path.

### `pathStyle?`

Type: `React.CSSProperties`

Additional styles to apply to the icon path.

### `size?`

Type: `number | string`

The width/height of the icon. Defaults to 16.

### `style?`

Type: `React.CSSProperties`

Additional styles to apply to the icon.

---

## FieldIcon

**Kind:** Component

A vector icon for a field’s type.

[[ Story id="fieldicon--example" title="FieldIcon example" ]]

**Parameters:**
- `props` (`FieldIconProps`)

**Returns:** `Element`
