Files
web/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/MdiBunkBedOutline.tsx
Erik Tiekstra ce469bc4b4 Feat/BOOK-117 svg accessibility
* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-11-13 06:34:18 +00:00

41 lines
2.1 KiB
TypeScript

import { iconVariants } from '../../variants'
import type { IconProps } from '../../icon'
import { getIconAriaProps } from '../../utils'
export default function MdiBunkBedIcon({
className,
size = 24,
color,
...props
}: IconProps) {
const classNames = iconVariants({ className, color })
const ariaProps = getIconAriaProps(props)
return (
<svg
className={classNames}
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
{...ariaProps}
>
<path
d="M2 3.90909C2 3.40701 2.40701 3 2.90909 3C3.41117 3 3.81818 3.40701 3.81818 3.90909V9.33333H10.1818V4.90476C10.1818 4.35248 10.6295 3.90476 11.1818 3.90476H18.3636C20.3636 3.90476 22 5.53333 22 7.52381V21.0909C22 21.593 21.593 22 21.0909 22C20.5888 22 20.1818 21.593 20.1818 21.0909V20.1905H3.81818V21.0909C3.81818 21.593 3.41117 22 2.90909 22C2.40701 22 2 21.593 2 21.0909V3.90909ZM12 5.71429V9.33333H20.1818V7.52381C20.1818 6.52857 19.3636 5.71429 18.3636 5.71429H12ZM3.81818 11.1429V18.381H10.1818V13.9524C10.1818 13.4001 10.6295 12.9524 11.1818 12.9524H18.3636C19 12.9524 19.6364 13.1333 20.1818 13.4952V11.1429H3.81818ZM12 14.7619V18.381H20.1818V16.5714C20.1818 15.5762 19.3636 14.7619 18.3636 14.7619H12Z"
fill="#26201E"
/>
<path
d="M5.5 16.5C5.89167 16.8917 6.3625 17.0875 6.9125 17.0875C7.4625 17.0875 7.93333 16.8917 8.325 16.5C8.71667 16.1083 8.9125 15.6375 8.9125 15.0875C8.9125 14.5375 8.71667 14.0667 8.325 13.675C7.93333 13.2833 7.4625 13.0875 6.9125 13.0875C6.3625 13.0875 5.89167 13.2833 5.5 13.675C5.10833 14.0667 4.9125 14.5375 4.9125 15.0875C4.9125 15.6375 5.10833 16.1083 5.5 16.5Z"
fill="#26201E"
/>
<path
d="M5.49998 7.5C5.89164 7.89167 6.36248 8.0875 6.91248 8.0875C7.46248 8.0875 7.93331 7.89167 8.32498 7.5C8.71664 7.10833 8.91248 6.6375 8.91248 6.0875C8.91248 5.5375 8.71664 5.06667 8.32498 4.675C7.93331 4.28333 7.46248 4.0875 6.91248 4.0875C6.36248 4.0875 5.89164 4.28333 5.49998 4.675C5.10831 5.06667 4.91248 5.5375 4.91248 6.0875C4.91248 6.6375 5.10831 7.10833 5.49998 7.5Z"
fill="#26201E"
/>
</svg>
)
}