// Line icons for the glass UI: one stroke weight, one grid (24), coloured by
// `currentColor`, so an icon takes its button's text colour and hover state.
// Emoji render in the OS's own colour and style, which clashes with glass.
const PATHS = {
play: ,
pause: (
<>
>
),
trash: ,
lock: (
<>
>
),
unlock: (
<>
>
),
sparkle: ,
wave: ,
folder: ,
folderOpen: ,
playlist: ,
smart: ,
music: (
<>
>
),
drive: (
<>
>
),
export: ,
download: ,
settings: (
<>
>
),
search: (
<>
>
),
close: ,
check: ,
chevronRight: ,
chevronDown: ,
chevronLeft: ,
chevronUp: ,
switch: ,
history: (
<>
>
),
import: ,
link: ,
warning: ,
loop: ,
home: ,
file: ,
desktop: (
<>
>
),
pencil: ,
plus: ,
} as const
export type IconName = keyof typeof PATHS
export function Icon({
name,
size = 16,
className,
strokeWidth = 1.8,
}: {
name: IconName
size?: number
className?: string
strokeWidth?: number
}) {
return (
)
}