help-text/HelpTextIcon.tsx

aksel · @navikt/core/react/src/help-text/HelpTextIcon.tsx · typescript · MIT
ui

Module exposing: HelpTextIcon

// Source: https://github.com/navikt/aksel | License: MIT | Copyright 2025 Nav (Arbeids- og velferdsdirektoratet) - The Norwegian Labour and Welfare Administration
// Provided via justclaw.it.com; keep this notice with the code.
import React from "react";
import { cl } from "../utils/helpers";

export const HelpTextIcon = ({ filled = false }: { filled?: boolean }) => {
  return (
    <svg
      width="1em"
      height="1em"
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      focusable={false}
      className={cl("aksel-help-text__icon", {
        "aksel-help-text__icon--filled": filled,
      })}
      aria-hidden
    >
      <circle
        cx="12"
        cy="12"
        r="11"
        strokeWidth="1.5"
        stroke="currentColor"
        fill={f

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key