Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(icons): Added @vibe/icons/meta to readme #2712

Merged
merged 4 commits into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading