- Android
- iOS
- Web
Individual Icon Paths
Import the paths, view box and stroke width of one icon.
Quick start
nayan-ui/icons/*
import check from 'nayan-ui/icons/check';
export function CheckIcon() {
return (
<svg viewBox={'0 0 ' + check.viewBox + ' ' + check.viewBox} fill="none"
stroke="currentColor" strokeWidth={check.strokeWidth} aria-hidden="true">
{check.paths.map((path) => <path key={path} d={path} />)}
</svg>
);
}Pass an imported outline to the engine renderer
nayan-ui/icons/*
import check from 'nayan-ui/icons/check';
import { NPathIcon } from 'nayan-ui/icons/outline';
export function InlineCheck() {
return <NPathIcon paths={check.paths} viewBox={check.viewBox} strokeWidth={check.strokeWidth} size={16} />;
}