From 185ede9ac1b1d770bf580083e0e2c03185e93d9d Mon Sep 17 00:00:00 2001
From: Isaac Roberts <119639439+madebyisaacr@users.noreply.github.com>
Date: Fri, 17 Apr 2026 02:46:25 -0400
Subject: [PATCH 1/3] Add search icon
---
plugins/phosphor/src/App.css | 17 +++++++++++++++++
plugins/phosphor/src/App.tsx | 26 ++++++++++++++++----------
plugins/phosphor/src/SearchIcon.tsx | 18 ++++++++++++++++++
3 files changed, 51 insertions(+), 10 deletions(-)
create mode 100644 plugins/phosphor/src/SearchIcon.tsx
diff --git a/plugins/phosphor/src/App.css b/plugins/phosphor/src/App.css
index a5fba417b..f27a87dbc 100644
--- a/plugins/phosphor/src/App.css
+++ b/plugins/phosphor/src/App.css
@@ -37,6 +37,11 @@
overflow-y: scroll;
}
+.search-input-container {
+ position: relative;
+ width: 100%;
+}
+
.search-input {
height: 30px;
width: 100%;
@@ -44,6 +49,7 @@
line-height: 24px;
font-weight: 500 !important;
font-family: "Inter", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
+ padding-left: 33px;
}
.search-input::placeholder {
@@ -55,6 +61,17 @@
font-family: "Inter", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
}
+.search-icon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: absolute;
+ left: 11px;
+ top: 0;
+ bottom: 0;
+ color: var(--framer-color-text-tertiary);
+}
+
.grid {
width: 100%;
display: grid;
diff --git a/plugins/phosphor/src/App.tsx b/plugins/phosphor/src/App.tsx
index d8e880ad1..938e2fb8b 100644
--- a/plugins/phosphor/src/App.tsx
+++ b/plugins/phosphor/src/App.tsx
@@ -1,6 +1,7 @@
import { Draggable, framer, useIsAllowedTo } from "framer-plugin"
import Fuse from "fuse.js"
import { Suspense, useCallback, useDeferredValue, useMemo, useState } from "react"
+import SearchIcon from "./SearchIcon"
import "./App.css"
import { icons as iconData } from "@phosphor-icons/core"
@@ -141,16 +142,21 @@ export function App() {
return (
<>
-
{
- setSearchQuery(e.target.value)
- }}
- placeholder="Search…"
- />
+
+
{
+ setSearchQuery(e.target.value)
+ }}
+ placeholder="Search…"
+ />
+
+
+
+