✨ Add aksel-icons package (@navikt/aksel-icons)

Four hand-written React icon wrappers (Information, Checkmark, Warning,
XMark) with the source SVGs kept under svg/ for reference.
This commit is contained in:
Aksel Mini committed 2026-08-12 14:20:00 +02:00
1 parent 559fd2b971
commit 1bcf7f5d53
11 files changed
+162

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import { forwardRef } from "react";
import type { SVGProps } from "react";
export const CheckmarkIcon = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
function CheckmarkIcon(props, ref) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
focusable={false}
aria-hidden
ref={ref}
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.55 17.05 4.5 12l1.4-1.4 3.65 3.64L18.1 5.7l1.4 1.4-9.95 9.95Z"
fill="currentColor"
/>
</svg>
);
},
);