Skip to content
tablericons

general

Container icon

Download the Container icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • box
  • wrapper
  • div
  • block
  • layout
  • html
  • section
  • frame
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Category
general
Styles
Outline, filled
Component
IconContainer
License
MIT · Paweł Kuna

Code

Copy it the way you use it

container.svg
<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="M20 4v.01" />
  <path d="M20 20v.01" />
  <path d="M20 16v.01" />
  <path d="M20 12v.01" />
  <path d="M20 8v.01" />
  <path d="M8 5a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1l0 -14" />
  <path d="M4 4v.01" />
  <path d="M4 20v.01" />
  <path d="M4 16v.01" />
  <path d="M4 12v.01" />
  <path d="M4 8v.01" />
</svg>

Use the Container icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconContainer } from '@tabler/icons-react';

<IconContainer size={24} stroke={2} />
Read the React guide
Vue example
import { IconContainer } from '@tabler/icons-vue';

<IconContainer :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconContainer } from '@tabler/icons-svelte-runes';

<IconContainer size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons