Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

815 B
Raw Blame
import type { ReactElement } from 'react'
import { Circle, Path } from 'react-native-svg'

import { useColors } from '../theme'
import { StrokeIcon } from './StrokeIcon'
import type { IconProps } from './types'

export function MailUnreadIcon({ size = 20, color: colorProp, strokeWidth = 2 }: IconProps): ReactElement {
    const colors = useColors()
    const color = colorProp ?? colors.ink
    return (
        <StrokeIcon size={size} color={color} strokeWidth={strokeWidth}>
            {/* The outline stops short of the top right corner, so the unread dot sits clear of it. */}
            <Path d="M13.5 5H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />
            <Path d="m3 7.5 9 6 3.6-2.4" />
            <Circle cx={19} cy={5} r={3} fill={color} stroke="none" />
        </StrokeIcon>
    )
}