# stairs icon

Stairs. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/stairs

- Category: Buildings
- Use it for: stairs, staircase, steps, stairway, stairwell
- Tags: stairs, staircase, steps, stairway, floor, level, climb, building
- Component name: StairsIcon
- Added: 2026-10-15

## Alternatives

- `elevator`: an elevator or lift
- `escalator`: an escalator
- `footprints`: step count in fitness apps

## Also fits

- elevator: stairs
- escalator: stairs

## Not for

- ladder (use `ladder`): stairs mean steps or a change of floor

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/stairs.svg · PNG https://gentleface.com/png/line-round/16/stairs.png · https://gentleface.com/png/line-round/32/stairs.png · https://gentleface.com/png/line-round/48/stairs.png
- line-soft: https://gentleface.com/svg/line-soft/16/stairs.svg · PNG https://gentleface.com/png/line-soft/16/stairs.png · https://gentleface.com/png/line-soft/32/stairs.png · https://gentleface.com/png/line-soft/48/stairs.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/stairs.svg · PNG https://gentleface.com/png/line-sharp/16/stairs.png · https://gentleface.com/png/line-sharp/32/stairs.png · https://gentleface.com/png/line-sharp/48/stairs.png
- solid-round: https://gentleface.com/svg/solid-round/16/stairs.svg · PNG https://gentleface.com/png/solid-round/16/stairs.png · https://gentleface.com/png/solid-round/32/stairs.png · https://gentleface.com/png/solid-round/48/stairs.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/stairs.svg · PNG https://gentleface.com/png/solid-soft/16/stairs.png · https://gentleface.com/png/solid-soft/32/stairs.png · https://gentleface.com/png/solid-soft/48/stairs.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/stairs.svg · PNG https://gentleface.com/png/solid-sharp/16/stairs.png · https://gentleface.com/png/solid-sharp/32/stairs.png · https://gentleface.com/png/solid-sharp/48/stairs.png

The SVG of every style: https://gentleface.com/icons/stairs.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z"/></svg>
```

### React

```tsx
// Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs
import type { SVGProps } from 'react';

export function StairsIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/stairs.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs. Takes the text color. */
.icon-stairs {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#stairs"/></svg>
```

### SwiftUI

```swift
// Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs
import SwiftUI

struct StairsIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4, y: 8))
        p.addCurve(to: CGPoint(x: 4.293, y: 7.293), control1: CGPoint(x: 4, y: 7.724), control2: CGPoint(x: 4.098, y: 7.488))
        p.addCurve(to: CGPoint(x: 5, y: 7), control1: CGPoint(x: 4.488, y: 7.098), control2: CGPoint(x: 4.724, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 7))
        p.addLine(to: CGPoint(x: 7, y: 5))
        p.addCurve(to: CGPoint(x: 7.293, y: 4.293), control1: CGPoint(x: 7, y: 4.724), control2: CGPoint(x: 7.098, y: 4.488))
        p.addCurve(to: CGPoint(x: 8, y: 4), control1: CGPoint(x: 7.488, y: 4.098), control2: CGPoint(x: 7.724, y: 4))
        p.addLine(to: CGPoint(x: 10, y: 4))
        p.addLine(to: CGPoint(x: 10, y: 2))
        p.addCurve(to: CGPoint(x: 10.293, y: 1.293), control1: CGPoint(x: 10, y: 1.724), control2: CGPoint(x: 10.098, y: 1.488))
        p.addCurve(to: CGPoint(x: 11, y: 1), control1: CGPoint(x: 10.488, y: 1.098), control2: CGPoint(x: 10.724, y: 1))
        p.addLine(to: CGPoint(x: 12, y: 1))
        p.addCurve(to: CGPoint(x: 12.736, y: 1.14), control1: CGPoint(x: 12.254, y: 1), control2: CGPoint(x: 12.5, y: 1.047))
        p.addCurve(to: CGPoint(x: 13.414, y: 1.586), control1: CGPoint(x: 12.993, y: 1.242), control2: CGPoint(x: 13.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 13.86, y: 2.264), control1: CGPoint(x: 13.609, y: 1.781), control2: CGPoint(x: 13.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 14, y: 3), control1: CGPoint(x: 13.953, y: 2.5), control2: CGPoint(x: 14, y: 2.746))
        p.addLine(to: CGPoint(x: 14, y: 12))
        p.addCurve(to: CGPoint(x: 13.86, y: 12.736), control1: CGPoint(x: 14, y: 12.254), control2: CGPoint(x: 13.953, y: 12.5))
        p.addCurve(to: CGPoint(x: 13.414, y: 13.414), control1: CGPoint(x: 13.758, y: 12.993), control2: CGPoint(x: 13.609, y: 13.219))
        p.addCurve(to: CGPoint(x: 12.736, y: 13.86), control1: CGPoint(x: 13.219, y: 13.609), control2: CGPoint(x: 12.993, y: 13.758))
        p.addCurve(to: CGPoint(x: 12, y: 14), control1: CGPoint(x: 12.5, y: 13.953), control2: CGPoint(x: 12.254, y: 14))
        p.addLine(to: CGPoint(x: 3, y: 14))
        p.addCurve(to: CGPoint(x: 2.264, y: 13.86), control1: CGPoint(x: 2.746, y: 14), control2: CGPoint(x: 2.5, y: 13.953))
        p.addCurve(to: CGPoint(x: 1.586, y: 13.414), control1: CGPoint(x: 2.007, y: 13.758), control2: CGPoint(x: 1.781, y: 13.609))
        p.addCurve(to: CGPoint(x: 1.14, y: 12.736), control1: CGPoint(x: 1.391, y: 13.219), control2: CGPoint(x: 1.242, y: 12.993))
        p.addCurve(to: CGPoint(x: 1, y: 12), control1: CGPoint(x: 1.047, y: 12.5), control2: CGPoint(x: 1, y: 12.254))
        p.addLine(to: CGPoint(x: 1, y: 11))
        p.addCurve(to: CGPoint(x: 1.293, y: 10.293), control1: CGPoint(x: 1, y: 10.724), control2: CGPoint(x: 1.098, y: 10.488))
        p.addCurve(to: CGPoint(x: 2, y: 10), control1: CGPoint(x: 1.488, y: 10.098), control2: CGPoint(x: 1.724, y: 10))
        p.addLine(to: CGPoint(x: 4, y: 10))
        p.addLine(to: CGPoint(x: 4, y: 8))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.707, y: 12.707))
        p.addCurve(to: CGPoint(x: 13, y: 12), control1: CGPoint(x: 12.902, y: 12.512), control2: CGPoint(x: 13, y: 12.276))
        p.addLine(to: CGPoint(x: 13, y: 3))
        p.addCurve(to: CGPoint(x: 12.707, y: 2.293), control1: CGPoint(x: 13, y: 2.724), control2: CGPoint(x: 12.902, y: 2.488))
        p.addCurve(to: CGPoint(x: 12, y: 2), control1: CGPoint(x: 12.512, y: 2.098), control2: CGPoint(x: 12.276, y: 2))
        p.addLine(to: CGPoint(x: 11, y: 2))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.addCurve(to: CGPoint(x: 10.707, y: 4.707), control1: CGPoint(x: 11, y: 4.276), control2: CGPoint(x: 10.902, y: 4.512))
        p.addCurve(to: CGPoint(x: 10, y: 5), control1: CGPoint(x: 10.512, y: 4.902), control2: CGPoint(x: 10.276, y: 5))
        p.addLine(to: CGPoint(x: 8, y: 5))
        p.addLine(to: CGPoint(x: 8, y: 7))
        p.addCurve(to: CGPoint(x: 7.707, y: 7.707), control1: CGPoint(x: 8, y: 7.276), control2: CGPoint(x: 7.902, y: 7.512))
        p.addCurve(to: CGPoint(x: 7, y: 8), control1: CGPoint(x: 7.512, y: 7.902), control2: CGPoint(x: 7.276, y: 8))
        p.addLine(to: CGPoint(x: 5, y: 8))
        p.addLine(to: CGPoint(x: 5, y: 10))
        p.addCurve(to: CGPoint(x: 4.707, y: 10.707), control1: CGPoint(x: 5, y: 10.276), control2: CGPoint(x: 4.902, y: 10.512))
        p.addCurve(to: CGPoint(x: 4, y: 11), control1: CGPoint(x: 4.512, y: 10.902), control2: CGPoint(x: 4.276, y: 11))
        p.addLine(to: CGPoint(x: 2, y: 11))
        p.addLine(to: CGPoint(x: 2, y: 12))
        p.addCurve(to: CGPoint(x: 2.293, y: 12.707), control1: CGPoint(x: 2, y: 12.276), control2: CGPoint(x: 2.098, y: 12.512))
        p.addCurve(to: CGPoint(x: 3, y: 13), control1: CGPoint(x: 2.488, y: 12.902), control2: CGPoint(x: 2.724, y: 13))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addCurve(to: CGPoint(x: 12.707, y: 12.707), control1: CGPoint(x: 12.276, y: 13), control2: CGPoint(x: 12.512, y: 12.902))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// StairsIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs
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.addPathNodes
import androidx.compose.ui.unit.dp

val StairsIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "stairs", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(StairsIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_stairs.xml · Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M4 8C4 7.724 4.098 7.488 4.293 7.293C4.488 7.098 4.724 7 5 7L7 7L7 5C7 4.724 7.098 4.488 7.293 4.293C7.488 4.098 7.724 4 8 4L10 4L10 2C10 1.724 10.098 1.488 10.293 1.293C10.488 1.098 10.724 1 11 1L12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12C14 12.254 13.953 12.5 13.86 12.736C13.758 12.993 13.609 13.219 13.414 13.414C13.219 13.609 12.993 13.758 12.736 13.86C12.5 13.953 12.254 14 12 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L4 10L4 8ZM12.707 12.707C12.902 12.512 13 12.276 13 12L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L11 2L11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5L8 5L8 7C8 7.276 7.902 7.512 7.707 7.707C7.512 7.902 7.276 8 7 8L5 8L5 10C5 10.276 4.902 10.512 4.707 10.707C4.512 10.902 4.276 11 4 11L2 11L2 12C2 12.276 2.098 12.512 2.293 12.707C2.488 12.902 2.724 13 3 13L12 13C12.276 13 12.512 12.902 12.707 12.707Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "stairs" (line-round), MIT. https://gentleface.com/icons/stairs
import 'package:flutter/widgets.dart';

class StairsIcon extends StatelessWidget {
  const StairsIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _StairsIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _StairsIconPainter extends CustomPainter {
  _StairsIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4, 8)
      ..cubicTo(4, 7.724, 4.098, 7.488, 4.293, 7.293)
      ..cubicTo(4.488, 7.098, 4.724, 7, 5, 7)
      ..lineTo(7, 7)
      ..lineTo(7, 5)
      ..cubicTo(7, 4.724, 7.098, 4.488, 7.293, 4.293)
      ..cubicTo(7.488, 4.098, 7.724, 4, 8, 4)
      ..lineTo(10, 4)
      ..lineTo(10, 2)
      ..cubicTo(10, 1.724, 10.098, 1.488, 10.293, 1.293)
      ..cubicTo(10.488, 1.098, 10.724, 1, 11, 1)
      ..lineTo(12, 1)
      ..cubicTo(12.254, 1, 12.5, 1.047, 12.736, 1.14)
      ..cubicTo(12.993, 1.242, 13.219, 1.391, 13.414, 1.586)
      ..cubicTo(13.609, 1.781, 13.758, 2.007, 13.86, 2.264)
      ..cubicTo(13.953, 2.5, 14, 2.746, 14, 3)
      ..lineTo(14, 12)
      ..cubicTo(14, 12.254, 13.953, 12.5, 13.86, 12.736)
      ..cubicTo(13.758, 12.993, 13.609, 13.219, 13.414, 13.414)
      ..cubicTo(13.219, 13.609, 12.993, 13.758, 12.736, 13.86)
      ..cubicTo(12.5, 13.953, 12.254, 14, 12, 14)
      ..lineTo(3, 14)
      ..cubicTo(2.746, 14, 2.5, 13.953, 2.264, 13.86)
      ..cubicTo(2.007, 13.758, 1.781, 13.609, 1.586, 13.414)
      ..cubicTo(1.391, 13.219, 1.242, 12.993, 1.14, 12.736)
      ..cubicTo(1.047, 12.5, 1, 12.254, 1, 12)
      ..lineTo(1, 11)
      ..cubicTo(1, 10.724, 1.098, 10.488, 1.293, 10.293)
      ..cubicTo(1.488, 10.098, 1.724, 10, 2, 10)
      ..lineTo(4, 10)
      ..lineTo(4, 8)
      ..close()
      ..moveTo(12.707, 12.707)
      ..cubicTo(12.902, 12.512, 13, 12.276, 13, 12)
      ..lineTo(13, 3)
      ..cubicTo(13, 2.724, 12.902, 2.488, 12.707, 2.293)
      ..cubicTo(12.512, 2.098, 12.276, 2, 12, 2)
      ..lineTo(11, 2)
      ..lineTo(11, 4)
      ..cubicTo(11, 4.276, 10.902, 4.512, 10.707, 4.707)
      ..cubicTo(10.512, 4.902, 10.276, 5, 10, 5)
      ..lineTo(8, 5)
      ..lineTo(8, 7)
      ..cubicTo(8, 7.276, 7.902, 7.512, 7.707, 7.707)
      ..cubicTo(7.512, 7.902, 7.276, 8, 7, 8)
      ..lineTo(5, 8)
      ..lineTo(5, 10)
      ..cubicTo(5, 10.276, 4.902, 10.512, 4.707, 10.707)
      ..cubicTo(4.512, 10.902, 4.276, 11, 4, 11)
      ..lineTo(2, 11)
      ..lineTo(2, 12)
      ..cubicTo(2, 12.276, 2.098, 12.512, 2.293, 12.707)
      ..cubicTo(2.488, 12.902, 2.724, 13, 3, 13)
      ..lineTo(12, 13)
      ..cubicTo(12.276, 13, 12.512, 12.902, 12.707, 12.707)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_StairsIconPainter old) => old.color != color;
}
```
