Astro integration for Pagefind with a ready Search component.
bun add pagefind-proximaimport { defineConfig } from "astro/config";
import pagefindProxima from "pagefind-proxima";
export default defineConfig({
integrations: [pagefindProxima()],
});---
import Search from "pagefind-proxima/components/Search";
---
<Search styleMode="css" /><Search
styleMode="tailwind"
styles={{
input: "text-sm md:text-base",
button: "bg-black text-white border-black"
}}
/><Search
overlay={{ enabled: true, defaultOpen: false }}
hotkeys={{ cmdK: true, esc: true }}
/>bun add pagefind-proximaimport { defineConfig } from "astro/config";
import pagefindProxima from "pagefind-proxima";
export default defineConfig({
integrations: [pagefindProxima()],
});---
import Search from "pagefind-proxima/components/Search";
---
<Search styleMode="css" /><Search
styleMode="tailwind"
styles={{
input: "text-sm md:text-base",
button: "bg-black text-white border-black"
}}
/><Search
overlay={{ enabled: true, defaultOpen: false }}
hotkeys={{ cmdK: true, esc: true }}
/>