# magnifying-glass Icon

> The magnifying-glass icon from Radix as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Radix](https://composables.com/icons/icon-libraries/radix.md)
- License: MIT (full text in the [Radix library page](https://composables.com/icons/icon-libraries/radix.md))
- Categories: [Objects](https://composables.com/icons/categories/objects.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/magnifying-glass.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val RadixMagnifyingGlass: ImageVector
    get() {
        if (_RadixMagnifyingGlass != null) return _RadixMagnifyingGlass!!
        
        _RadixMagnifyingGlass = ImageVector.Builder(
            name = "magnifying-glass",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(6.5f, 2f)
                curveTo(8.98528f, 2f, 11f, 4.01472f, 11f, 6.5f)
                curveTo(11f, 7.56246f, 10.6304f, 8.5378f, 10.0146f, 9.30762f)
                lineTo(12.8535f, 12.1465f)
                lineTo(12.918f, 12.2246f)
                curveTo(13.0461f, 12.4187f, 13.0244f, 12.6827f, 12.8535f, 12.8535f)
                curveTo(12.6827f, 13.0244f, 12.4187f, 13.0461f, 12.2246f, 12.918f)
                lineTo(12.1465f, 12.8535f)
                lineTo(9.30762f, 10.0146f)
                curveTo(8.5378f, 10.6304f, 7.56246f, 11f, 6.5f, 11f)
                curveTo(4.01472f, 11f, 2f, 8.98528f, 2f, 6.5f)
                curveTo(2f, 4.01472f, 4.01472f, 2f, 6.5f, 2f)
                close()
                moveTo(6.5f, 3f)
                curveTo(4.567f, 3f, 3f, 4.567f, 3f, 6.5f)
                curveTo(3f, 8.433f, 4.567f, 10f, 6.5f, 10f)
                curveTo(8.433f, 10f, 10f, 8.433f, 10f, 6.5f)
                curveTo(10f, 4.567f, 8.433f, 3f, 6.5f, 3f)
                close()
            }
        }.build()
        
        return _RadixMagnifyingGlass!!
    }

private var _RadixMagnifyingGlass: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/magnifying-glass.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="15"
    android:viewportHeight="15">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M6.5,2C8.98528,2 11,4.01472 11,6.5C11,7.56246 10.6304,8.5378 10.0146,9.30762L12.8535,12.1465L12.918,12.2246C13.0461,12.4187 13.0244,12.6827 12.8535,12.8535C12.6827,13.0244 12.4187,13.0461 12.2246,12.918L12.1465,12.8535L9.30762,10.0146C8.5378,10.6304 7.56246,11 6.5,11C4.01472,11 2,8.98528 2,6.5C2,4.01472 4.01472,2 6.5,2ZM6.5,3C4.567,3 3,4.567 3,6.5C3,8.433 4.567,10 6.5,10C8.433,10 10,8.433 10,6.5C10,4.567 8.433,3 6.5,3Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/radix/magnifying-glass.svg`

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56246 10.6304 8.5378 10.0146 9.30762L12.8535 12.1465L12.918 12.2246C13.0461 12.4187 13.0244 12.6827 12.8535 12.8535C12.6827 13.0244 12.4187 13.0461 12.2246 12.918L12.1465 12.8535L9.30762 10.0146C8.5378 10.6304 7.56246 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2ZM6.5 3C4.567 3 3 4.567 3 6.5C3 8.433 4.567 10 6.5 10C8.433 10 10 8.433 10 6.5C10 4.567 8.433 3 6.5 3Z" fill="currentColor"/></svg>
```
