# superscript Icon

> The superscript icon from Material as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/superscript.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/superscript.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/superscript.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/superscript.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/superscript.md?v=twotone)
- Categories: [Editor](https://composables.com/icons/categories/editor.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/superscript.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.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsSuperscript: ImageVector
    get() {
        if (_MaterialIconsSuperscript != null) return _MaterialIconsSuperscript!!
        
        _MaterialIconsSuperscript = ImageVector.Builder(
            name = "superscript",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineTo(24f)
                    verticalLineTo(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(22f, 7f)
                    horizontalLineToRelative(-2f)
                    verticalLineToRelative(1f)
                    horizontalLineToRelative(3f)
                    verticalLineToRelative(1f)
                    horizontalLineToRelative(-4f)
                    verticalLineTo(7f)
                    curveToRelative(0f, -0.55f, 0.45f, -1f, 1f, -1f)
                    horizontalLineToRelative(2f)
                    verticalLineTo(5f)
                    horizontalLineToRelative(-3f)
                    verticalLineTo(4f)
                    horizontalLineToRelative(3f)
                    curveToRelative(0.55f, 0f, 1f, 0.45f, 1f, 1f)
                    verticalLineToRelative(1f)
                    curveTo(23f, 6.55f, 22.55f, 7f, 22f, 7f)
                    close()
                    moveTo(5.88f, 20f)
                    horizontalLineToRelative(2.66f)
                    lineToRelative(3.4f, -5.42f)
                    horizontalLineToRelative(0.12f)
                    lineToRelative(3.4f, 5.42f)
                    horizontalLineToRelative(2.66f)
                    lineToRelative(-4.65f, -7.27f)
                    lineTo(17.81f, 6f)
                    horizontalLineToRelative(-2.68f)
                    lineToRelative(-3.07f, 4.99f)
                    horizontalLineToRelative(-0.12f)
                    lineTo(8.85f, 6f)
                    horizontalLineTo(6.19f)
                    lineToRelative(4.32f, 6.73f)
                    lineTo(5.88f, 20f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsSuperscript!!
    }

private var _MaterialIconsSuperscript: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/superscript.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0H24V24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M22,7h-2v1h3v1h-4V7c0,-0.55 0.45,-1 1,-1h2V5h-3V4h3c0.55,0 1,0.45 1,1v1C23,6.55 22.55,7 22,7ZM5.88,20h2.66l3.4,-5.42h0.12l3.4,5.42h2.66l-4.65,-7.27L17.81,6h-2.68l-3.07,4.99h-0.12L8.85,6H6.19l4.32,6.73L5.88,20Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/superscript.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><rect fill="none" height="24" width="24" x="0" y="0"/><path d="M22,7h-2v1h3v1h-4V7c0-0.55,0.45-1,1-1h2V5h-3V4h3c0.55,0,1,0.45,1,1v1C23,6.55,22.55,7,22,7z M5.88,20h2.66l3.4-5.42h0.12 l3.4,5.42h2.66l-4.65-7.27L17.81,6h-2.68l-3.07,4.99h-0.12L8.85,6H6.19l4.32,6.73L5.88,20z"/></g></svg>
```
