Files
milinda-pitch/js/icons/mic.js
rubberducky 7beab685e2 feature/book-card (#3)
Co-authored-by: Tim Rijkse <trijkse@gmail.com>
Reviewed-on: #3
2026-01-15 12:33:37 +00:00

32 lines
807 B
JavaScript

/**
* Mic Icon (Lucide)
* @param {Object} props - Icon properties
* @param {number} props.size - Icon size (default: 24)
* @param {string} props.color - Icon color (default: currentColor)
* @param {number} props.strokeWidth - Stroke width (default: 2)
* @returns {string} SVG string
*/
export function micIcon({
size = 24,
color = "currentColor",
strokeWidth = 2,
} = {}) {
return `
<svg
xmlns="http://www.w3.org/2000/svg"
width="${size}"
height="${size}"
viewBox="0 0 24 24"
fill="none"
stroke="${color}"
stroke-width="${strokeWidth}"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 19v3"/>
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
<rect x="9" y="2" width="6" height="13" rx="3"/>
</svg>
`;
}