const imgLine98Stroke = "https://www.figma.com/api/mcp/asset/149e3f65-89e4-4be8-83b9-600831f5c72b";
const imgLine98Stroke1 = "https://www.figma.com/api/mcp/asset/3a3c14be-dab2-4343-a478-6c22d396e4bc";
const imgLine98Stroke2 = "https://www.figma.com/api/mcp/asset/8c673a2e-9bcd-4f7c-979b-9f873301be7f";

type BreadcrumbItemProps = {
  className?: string;
  children?: React.ReactNode | null;
  showIcon?: boolean;
  state?: "hover" | "current" | "disabled" | "Default";
};

export default function BreadcrumbItem({ className, children = null, showIcon = true, state = "Default" }: BreadcrumbItemProps) {
  const isCurrent = state === "current";
  const isDisabled = state === "disabled";
  const isHover = state === "hover";
  return (
    <div className={className || "content-stretch flex gap-[var(--spacing\\/xxs,4px)] items-center px-[var(--spacing\\/xs,8px)] py-[var(--spacing\\/xxs,4px)] relative"} id={isDisabled ? "node-5003_7491" : isCurrent ? "node-5003_7487" : isHover ? "node-5003_7483" : "node-5004_1477"}>
      {["Default", "current"].includes(state) && showIcon && (
        <div className="relative shrink-0 size-[16px]" data-node-id="5004:1478" data-name="icon/Arrow/right">
          <div className="absolute inset-[18.12%_30.02%_18.13%_37.5%]" data-node-id="I5004:1478;2645:27988" data-name="Line 98 (Stroke)">
            <img alt="" className="absolute block inset-0 max-w-none size-full" src={imgLine98Stroke} />
          </div>
        </div>
      )}
      {state === "Default" && (
        <div className="content-stretch flex gap-[var(--spacing\/xs,0px)] items-center relative shrink-0" data-node-id="5004:1491" data-name="Content">
          {children || (
            <p className="font-['Roboto:Regular',sans-serif] font-normal leading-[1.5] relative shrink-0 text-[14px] text-[color:var(--color-type\/text\/text_2,#ccc)] whitespace-nowrap" data-node-id="5004:1479" style={{ fontVariationSettings: "'wdth' 100" }}>
              Label
            </p>
          )}
        </div>
      )}
      {isHover && showIcon && (
        <div className="relative shrink-0 size-[16px]" data-node-id="5003:7484" data-name="icon/Arrow/right">
          <div className="absolute inset-[18.12%_30.02%_18.13%_37.5%]" data-node-id="I5003:7484;2645:27988" data-name="Line 98 (Stroke)">
            <img alt="" className="absolute block inset-0 max-w-none size-full" src={imgLine98Stroke1} />
          </div>
        </div>
      )}
      {isHover && (
        <div className="content-stretch flex gap-[var(--spacing\/xs,0px)] items-center relative shrink-0" data-node-id="5004:1492" data-name="Content">
          {children || (
            <p className="font-['Roboto:Regular',sans-serif] font-normal leading-[1.5] relative shrink-0 text-[14px] text-[color:var(--color-type\/text\/text_1,#f8f8f8)] whitespace-nowrap" data-node-id="5003:7486" style={{ fontVariationSettings: "'wdth' 100" }}>
              Label
            </p>
          )}
        </div>
      )}
      {isCurrent && (
        <div className="content-stretch flex gap-[var(--spacing\/xs,0px)] items-center relative shrink-0" data-node-id="5004:1493" data-name="Content">
          {children || (
            <p className="font-['Roboto:Regular',sans-serif] font-normal leading-[1.5] relative shrink-0 text-[14px] text-[color:var(--ux\/brand\/brand,#2fb54e)] whitespace-nowrap" data-node-id="5003:7490" style={{ fontVariationSettings: "'wdth' 100" }}>
              Label
            </p>
          )}
        </div>
      )}
      {isDisabled && showIcon && (
        <div className="relative shrink-0 size-[16px]" data-node-id="5003:7492" data-name="icon/Arrow/right">
          <div className="absolute inset-[18.12%_30.02%_18.13%_37.5%]" data-node-id="I5003:7492;2645:27988" data-name="Line 98 (Stroke)">
            <img alt="" className="absolute block inset-0 max-w-none size-full" src={imgLine98Stroke2} />
          </div>
        </div>
      )}
      {isDisabled && (
        <div className="content-stretch flex gap-[var(--spacing\/xs,0px)] items-center relative shrink-0" data-node-id="5004:1494" data-name="Content">
          {children || (
            <p className="font-['Roboto:Regular',sans-serif] font-normal leading-[1.5] relative shrink-0 text-[14px] text-[color:var(--color-type\/text\/disable,#595959)] whitespace-nowrap" data-node-id="5003:7494" style={{ fontVariationSettings: "'wdth' 100" }}>
              Label
            </p>
          )}
        </div>
      )}
    </div>
  );
}SUPER CRITICAL: The generated React+Tailwind code MUST be converted to match the target project's technology stack and styling system.
1. Analyze the target codebase to identify: technology stack, styling approach, component patterns, and design tokens
2. Convert React syntax to the target framework/library
3. Transform all Tailwind classes to the target styling system while preserving exact visual design
4. Follow the project's existing patterns and conventions
DO NOT install any Tailwind as a dependency unless the user instructs you to do so.
Node ids have been added to the code as data attributes, e.g. `data-node-id="1:2"`.These styles are contained in the design: Roboto/14 body: Font(family: "Roboto", style: Regular, size: 14, weight: 400, lineHeight: 1.5, letterSpacing: 0).Component descriptions: The following components have usage descriptions or documentation links defined in Figma. These descriptions provide important context about the intended usage, best practices, and any constraints for each component. Follow these guidelines when implementing or using these components.

## Breadcrumb/Item
**Node ID:** 5003:7495

Breadcrumb navigation item. • state=link: clickable item (use for all except first and current) • state=hover: hover state • state=current: active/last item (current page, non-clickable) • state=disabled: non-interactive item Tip: hide the arrow icon on the first breadcrumb item.Images and SVGs will be stored as constants, e.g. const image = 'https://www.figma.com/api/mcp/asset/550e8400-e29b-41d4-a716-446655440000'. These constants will be used in the code as the source for the image, ex: <img src={image} />. Image assets are stored on a remote server for 7 days and can be fetched using the provided URLs until they expire.