
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@topvisor/ui
Advanced tools
Компоненты поставляются в двух форматах:
Компоненты делятся на разные библиотеки и доступны через импорт этих библиотек.
Каждая библиотека находится в отдельной папке, соответствующей имени библиотеки.
Все стили модулей находятся в папке /assets/ в файлах соответствующих имени библиотеки. В этой же папке располагаются стили для асинхронно загружаемых компонентов. Все стили грузятся автоматически вместе с загрузкой компонента.
Документация и описание всех компонентов: https://ui.topvisor.com/
Стили компонентов подгружаются автоматически.
Стили UI core.css необходимо подгрузить на страницу вручную.
import '@topvisor/ui/assets/core.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/core.css" rel="stylesheet">
Стили темы необходимо подгрузить на страницу вручную.
Для смены темы необходимо подгрузить файл стилей необходимой темы и отключить стили предыдущей темы.
import '@topvisor/ui/assets/themes/light.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/themes/light.css" rel="stylesheet">
Стили icomoon добавлены в пакет и их необходимо подгрузить на страницу вручную.
import '@topvisor/ui/icomoon/style.css';
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/icomoon/style.css" rel="stylesheet">
Пример подключения библиотеки Forms и компонента Button:
require(['@topvisor/ui/forms/forms.amd'], ({ Button }) => {
console.log(Button);
});
require(['@topvisor/ui/forms/forms.amd'], Forms => {
const { Button } = Forms;
console.log(Forms);
console.log(Button);
});
FAQs
Topvisor UI-kit Vue
The npm package @topvisor/ui receives a total of 716 weekly downloads. As such, @topvisor/ui popularity was classified as not popular.
We found that @topvisor/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.