Skip to content

Commit

Permalink
docs(icons): Added @vibe/icons/meta to readme (#2712)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharzil authored Jan 12, 2025
1 parent a3da710 commit 68d783d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ import { Close } from "@vibe/icons/lazy";
import { Close as CloseSvg } from "@vibe/icons/raw";
```

#### Using Meta Information

The meta export provides detailed metadata for each icon, including:

- `name`: The name of the icon.
- `file`: The SVG file name.
- `description`: A description of the icon's purpose or usage.
- `tags`: Associated tags as a comma-separated string.

This metadata can be used to programmatically work with icons, such as building custom icon pickers or managing icons in your project.

```javascript
import iconsMetaData from "@vibe/icons/meta";
```

## Peer dependencies

Expand Down

0 comments on commit 68d783d

Please sign in to comment.