@tabula/ui-separator-icon
v0.2.2
Published
Icons for separators
Downloads
225
Maintainers
Readme
@tabula/ui-separator-icon
Icons for separators.
Installation
Use the package manager pnpm to install @tabula/ui-separator-icon
.
pnpm add @tabula/ui-separator-icon
Usage
import { UiCommaIcon } from '@tabula/ui-separator-icon';
function ComponentWithIcon() {
return <UiCommaIcon />
}
Or you can import icon URL which should be resolved by yours bundler:
import { uiCommaIconUrl } from "@tabula/ui-separator-icon";
Also, if you use Vite, you can use icon in your styles too:
.awesome-component {
background-image: url('@tabula/ui-separator-icon/comma.svg');
}
License
This project is ISC licensed.