A box hooking an arrow up to a bar, for what precedes a task, a dependency's upstream. On a 24×24 grid in stroke, duotone and fill, free under MIT.

DiagramsNewv0.7.0Added Updated
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M4 16L11 16C11.5523 16 12 16.4477 12 17L12 20C12 20.5523 11.5523 21 11 21L4 21C3.4477 21 3 20.5523 3 20L3 17C3 16.4477 3.4477 16 4 16ZM4 3L20 3C20.5523 3 21 3.4477 21 4L21 7C21 7.5523 20.5523 8 20 8L4 8C3.4477 8 3 7.5523 3 7L3 4C3 3.4477 3.4477 3 4 3ZM12 18.5L17 18.5C17.5523 18.5 18 18.0523 18 17.5L18 12M16 14L18 12L20 14" fill="none"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • predecessor
  • precedes
  • upstream
  • dependency before
  • prior task

Related icons

The rest of the diagram family first, then the Diagrams shelf.

FAQ

Answered from diagram-predecessor's own facts: its shelf, the weights it was drawn in, its siblings and its dates.

What is the diagram-predecessor icon for?
A box hooking an arrow up to a bar, for what precedes a task, a dependency's upstream. It is filed under Diagrams in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as predecessor, precedes, upstream, dependency before and prior task, and the browser's search matches all of those.
What styles does the diagram-predecessor icon come in?
All three: stroke, duotone and fill. They are drawn from the same geometry, so swapping weight never moves anything.
Is there a square or circle version of diagram-predecessor?
No. diagram-predecessor is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with diagram-predecessor?
diagram-project, diagram-subtask and diagram-successor, all shown below. The diagram family is listed first, then the rest of the Diagrams shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import diagram-predecessor in React?
<DiagramPredecessor /> is the component, and the weight decides the module: stroke from "@keyline-icons/react", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <DiagramPredecessor size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the diagram-predecessor SVG?
icons/stroke/diagram-predecessor.svg, icons/duotone/diagram-predecessor.svg and icons/fill/diagram-predecessor.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was diagram-predecessor added to the set?
Added 10 Sept 2026, and last redrawn 10 Sept 2026. It ships in v0.7.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.