<h2 id="icon-imagevector-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(
    imageVector: ImageVector,
    contentDescription: String?,
    modifier: Modifier = Modifier,
)
```

#### Parameters

| | |
| --- | --- |
| imageVector | [ImageVector](/jetpack-compose/androidx.compose.ui/ui/classes/ImageVector) to draw inside this icon |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |

<hr class="docs-overload-divider">

<h2 id="icon-imagevector-tint-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(
    imageVector: ImageVector,
    tint: Color,
    contentDescription: String?,
    modifier: Modifier = Modifier,
)
```

#### Parameters

| | |
| --- | --- |
| imageVector | [ImageVector](/jetpack-compose/androidx.compose.ui/ui/classes/ImageVector) to draw inside this icon |
| tint | tint to be applied to [imageVector](/jetpack-compose/androidx.compose.ui/ui/classes/ImageVector). If `Color.Unspecified` is provided, then no tint is applied. |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |

<hr class="docs-overload-divider">

<h2 id="icon-bitmap-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier = Modifier)
```

#### Parameters

| | |
| --- | --- |
| bitmap | [ImageBitmap](/jetpack-compose/androidx.compose.ui/ui-graphics/interfaces/ImageBitmap) to draw inside this icon |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |

<hr class="docs-overload-divider">

<h2 id="icon-bitmap-tint-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(
    bitmap: ImageBitmap,
    tint: Color,
    contentDescription: String?,
    modifier: Modifier = Modifier,
)
```

#### Parameters

| | |
| --- | --- |
| bitmap | [ImageBitmap](/jetpack-compose/androidx.compose.ui/ui-graphics/interfaces/ImageBitmap) to draw inside this icon |
| tint | tint to be applied to [bitmap](/jetpack-compose/androidx.compose.remote/remote-creation-compose/functions/bitmap). If `Color.Unspecified` is provided, then no tint is applied. |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |

<hr class="docs-overload-divider">

<h2 id="icon-painter-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(painter: Painter, contentDescription: String?, modifier: Modifier = Modifier)
```

#### Parameters

| | |
| --- | --- |
| painter | [Painter](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Painter) to draw inside this icon |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |

<hr class="docs-overload-divider">

<h2 id="icon-painter-tint-contentdescription-modifier">Icon</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
public fun Icon(
    painter: Painter,
    tint: ColorProducer?,
    contentDescription: String?,
    modifier: Modifier = Modifier,
)
```

#### Parameters

| | |
| --- | --- |
| painter | [Painter](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Painter) to draw inside this icon |
| tint | tint to be applied to [painter](/jetpack-compose/androidx.compose.ui/ui-graphics/classes/Painter). If null, then no tint is applied. |
| contentDescription | text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using [androidx.compose.ui.res.stringResource](/jetpack-compose/androidx.compose.ui/ui/composable-functions/stringResource) or similar |
| modifier | the [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied to this icon |