def attr_to_prop(attr_name: str) -> str:
    """Convert an HTML attribute name to its Reflex name.

    This function first uses React's `possibleStandardNames` to convert the
    HTML attribute name to its standard React name, then converts the standard
    name to a Reflex name.

    Args:
        attr_name: The HTML attribute name.

    Returns:
        A Reflex prop name that maps to the HTML attribute.
    """
    if attr_name in ATTR_TO_PROP_OVERRIDES:
        return ATTR_TO_PROP_OVERRIDES[attr_name]
    return format.to_snake_case(POSSIBLE_STANDARD_NAMES.get(attr_name, attr_name))
Convert an HTML attribute name to its Reflex name.

    This function first uses React's `possibleStandardNames` to convert the
    HTML attribute name to its standard React name, then converts the standard
    name to a Reflex name.

    Args:
        attr_name: The HTML attribute name.

    Returns:
        A Reflex prop name that maps to the HTML attribute.
    
reflex/components/el/constants/reflex.py