Interface icons

Interface icons · Actions

copy

File
ba-copy.svg
Weight
1 KB
24 × 24 grid · 2px padding · 2px stroke
16px
20px
24px
ink-muted

Use it

Download SVG

React

import { Icon } from '@ba-icons/react';

<Icon name="copy" />

Vue

<script setup>
import { Icon } from '@ba-icons/vue';
</script>

<template>
  <Icon name="copy" />
</template>

Astro

---
import { Icon } from '@ba-icons/astro';
---

<Icon name="copy" />

HTML

<script src="https://icons.atmosphere.africa/cdn/ba-icons-0.4.0.js" defer></script>

<ba-icon name="copy"></ba-icon>

SVG

<svg xmlns="http://www.w3.org/2000/svg" class="ba-icon" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="8" y="8" width="12" height="12" rx="2"/><path d="M 16 8 V 5 A 2 2 0 0 0 14 3 H 5 A 2 2 0 0 0 3 5 V 14 A 2 2 0 0 0 5 16 H 8"/></svg>

From the CDN

Link to the file instead of installing it: for <img>, CSS, emails and docs, with nothing added to your bundle. Served with CORS and cached for an hour.

https://icons.atmosphere.africa/svg/interface-icons/ba-copy.svg
<img src="https://icons.atmosphere.africa/svg/interface-icons/ba-copy.svg" alt="" width="20" height="20">
import { iconUrl } from '@ba-icons/core';  // or any adapter

iconUrl('copy');
// → https://icons.atmosphere.africa/svg/interface-icons/ba-copy.svg

As an <img> it draws in black. To give it the text colour, use it as a mask:

.mark {
  background-color: currentColor;
  mask: url('https://icons.atmosphere.africa/svg/interface-icons/ba-copy.svg') center / contain no-repeat;
}

New to the packages? Point your project at the registry first.