From e0b57f315431c2bea6144b3feab756021c517d8b Mon Sep 17 00:00:00 2001 From: Jake Howell Date: Tue, 14 Jul 2026 04:12:00 +1000 Subject: [PATCH] chore: remove mui from `` (#27201) This pull-request removes the MUI specific components from ``. --- site/src/pages/IconsPage/IconsPage.tsx | 72 ++++++++++---------------- 1 file changed, 28 insertions(+), 44 deletions(-) diff --git a/site/src/pages/IconsPage/IconsPage.tsx b/site/src/pages/IconsPage/IconsPage.tsx index c4807065cd..b0de079354 100644 --- a/site/src/pages/IconsPage/IconsPage.tsx +++ b/site/src/pages/IconsPage/IconsPage.tsx @@ -1,13 +1,12 @@ import { useTheme } from "@emotion/react"; -import InputAdornment from "@mui/material/InputAdornment"; -import Link from "@mui/material/Link"; -import TextField from "@mui/material/TextField"; import { SearchIcon, XIcon } from "lucide-react"; import { type FC, type ReactNode, useMemo, useState } from "react"; import uFuzzy from "ufuzzy"; import { Button } from "#/components/Button/Button"; import { CopyableValue } from "#/components/CopyableValue/CopyableValue"; import { EmptyState } from "#/components/EmptyState/EmptyState"; +import { Input } from "#/components/Input/Input"; +import { Link } from "#/components/Link/Link"; import { Margins } from "#/components/Margins/Margins"; import { PageHeader, @@ -107,47 +106,32 @@ const IconsPage: FC = () => { All of the icons included with Coder - setSearchInputText(event.target.value), - sx: { - borderRadius: "6px", - marginLeft: "-1px", - "& input::placeholder": { - color: theme.palette.text.secondary, - }, - "& .MuiInputAdornment-root": { - marginLeft: 0, - }, - }, - startAdornment: ( - - - - ), - endAdornment: searchInputText && ( - - - - - - Clear filter - - - ), - }} - /> +
+ + setSearchInputText(event.target.value)} + className="pl-9 pr-10" + /> + {searchInputText && ( + + + + + Clear filter + + )} +
{searchedIcons.length === 0 && (