gentleface

Gentleface › Science & education › test-tube

test-tube icon

Test tube: test tube, lab test, lab sample, lab results. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated test-tube-slosh · line-round

A hand shakes the tube by its rim, and the swing dies away. The liquid lags behind the glass, climbing one wall and then the other, and comes to rest level at its mark.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 2.35 s. Examples and helper.

Code line-round

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="M10 13C10 13.254 9.953 13.5 9.86 13.736C9.758 13.993 9.609 14.219 9.414 14.414C9.219 14.609 8.993 14.758 8.736 14.86C8.5 14.953 8.254 15 8 15C7.746 15 7.5 14.953 7.264 14.86C7.007 14.758 6.781 14.609 6.586 14.414C6.391 14.219 6.242 13.993 6.14 13.736C6.047 13.5 6 13.254 6 13L6 3L5.5 3C5.359 3 5.241 2.952 5.144 2.856C5.048 2.759 5 2.641 5 2.5C5 2.359 5.048 2.241 5.144 2.144C5.241 2.048 5.359 2 5.5 2L10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5C11 2.641 10.952 2.759 10.856 2.856C10.759 2.952 10.641 3 10.5 3L10 3L10 13ZM7 9L9 9L9 3L7 3L7 9Z"/></svg>
React
// Gentleface "test-tube" (line-round), MIT. https://gentleface.com/icons/test-tube
import type { SVGProps } from 'react';

export function TestTubeIcon(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="M10 13C10 13.254 9.953 13.5 9.86 13.736C9.758 13.993 9.609 14.219 9.414 14.414C9.219 14.609 8.993 14.758 8.736 14.86C8.5 14.953 8.254 15 8 15C7.746 15 7.5 14.953 7.264 14.86C7.007 14.758 6.781 14.609 6.586 14.414C6.391 14.219 6.242 13.993 6.14 13.736C6.047 13.5 6 13.254 6 13L6 3L5.5 3C5.359 3 5.241 2.952 5.144 2.856C5.048 2.759 5 2.641 5 2.5C5 2.359 5.048 2.241 5.144 2.144C5.241 2.048 5.359 2 5.5 2L10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5C11 2.641 10.952 2.759 10.856 2.856C10.759 2.952 10.641 3 10.5 3L10 3L10 13ZM7 9L9 9L9 3L7 3L7 9Z" />
    </svg>
  );
}
Vue
Vue: see /icons/test-tube.md
Svelte
Svelte: see /icons/test-tube.md
HTML img
HTML img: see /icons/test-tube.md
CSS
CSS: see /icons/test-tube.md
Data URL
Data URL: see /icons/test-tube.md
Sprite
Sprite: see /icons/test-tube.md
SwiftUI
SwiftUI: see /icons/test-tube.md
Compose
Compose: see /icons/test-tube.md
Android XML
Android XML: see /icons/test-tube.md
Flutter
Flutter: see /icons/test-tube.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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. More in how to use.

With npm: import { TestTubeIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
test tube, lab test, lab sample, lab results, blood test, vial
Alternatives
Also fits
  • beaker: a lab test or a sample
  • lab: a lab test or a sample
Tags
test-tube, lab, laboratory, sample, test, chemistry, blood-test, vial
Category
Science & education
Component name
TestTubeIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 1

More science & education icons

For agents

Metadata: /icons/test-tube.json · Markdown: /icons/test-tube.md · SVG: https://gentleface.com/svg/{style}/16/test-tube.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/test-tube.png