Skip to content

Commit

Permalink
Adds envelope icon (WordPress#65638)
Browse files Browse the repository at this point in the history
Co-authored-by: crisbusquets <[email protected]>
  • Loading branch information
crisbusquets and crisbusquets authored Sep 25, 2024
1 parent c6025de commit 05607f7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

### New Features

- Add new `envelope` icon.

- Add new `bell` and `bell-unread` icons.

## 10.7.0 (2024-09-05)
Expand Down
1 change: 1 addition & 0 deletions packages/icons/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export { default as drawerLeft } from './library/drawer-left';
export { default as drawerRight } from './library/drawer-right';
export { default as download } from './library/download';
export { default as edit } from './library/edit';
export { default as envelope } from './library/envelope';
export { default as external } from './library/external';
export { default as file } from './library/file';
export { default as filter } from './library/filter';
Expand Down
16 changes: 16 additions & 0 deletions packages/icons/src/library/envelope.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';

const envelope = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"
/>
</SVG>
);

export default envelope;

0 comments on commit 05607f7

Please sign in to comment.