+ {h === undefined || s === undefined || v === undefined ? (
+ <>>
+ ) : (
+
+ )}
+
+

+
+ );
+};
+export default ColorSensorIconComponent;
diff --git a/src/hubcenter/icons/DeviceIcon.tsx b/src/hubcenter/icons/DeviceIcon.tsx
new file mode 100644
index 000000000..30c2b7e37
--- /dev/null
+++ b/src/hubcenter/icons/DeviceIcon.tsx
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2024 The Pybricks Authors
+
+import * as React from 'react';
+import { DeviceRegistryEntry, PortData } from '../PortComponent';
+
+export interface DeviceIconProps {
+ devEntry: DeviceRegistryEntry | undefined;
+ portData: PortData | undefined;
+}
+const DeviceIcon: React.FunctionComponent