Files
aksel-mini/packages/core/icons/src/ChevronDownIcon.tsx
T
Aksel Mini adfcead7be ✨ Add Accordion and Modal components
Accordion.Item manages its own open state with aria-expanded wiring.
Modal renders through a portal with backdrop click handling. Also adds
the ChevronDown icon used by the accordion header.
2026-08-21 15:10:00 +02:00

28 lines
660 B
TypeScript

import { forwardRef } from "react";
import type { SVGProps } from "react";
export const ChevronDownIcon = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>(
function ChevronDownIcon(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="M5.4 8.9 12 15.5l6.6-6.6-1.4-1.4-5.2 5.2-5.2-5.2-1.4 1.4Z"
fill="currentColor"
/>
</svg>
);
},
);