Vue Project
Complete guide for installing and using Bitrix24 icons in Vue applications.
Installation
Adding to Vue Project
Install the Bitrix24 Icons package using your preferred package manager:
pnpm add @bitrix24/b24icons-vue
yarn add @bitrix24/b24icons-vue
npm install @bitrix24/b24icons-vue
bun add @bitrix24/b24icons-vue
Usage Examples
Basic Usage
Import icons as Vue-components.
Common-service::Bitrix24Icon
Generic Icon Component
Use the B24Icon component for easy access to icons.
The component uses dynamic imports via import() to load icons as needed.
This does not break the tree-shaking principle because tree-shaking works with static imports, while dynamic imports
are used for load optimization, loading only the necessary parts of the code when they are needed.
Specify the full icon name with the
nameparameter, e.g.,Main::CopilotAiIcon.
Button::TariffIcon
Main::CopilotAiIcon
Main::AiIcon