Files
frontend-svelte/src/widgets/ComparisonView/ui/Search/Search.svelte
T

22 lines
619 B
Svelte
Raw Normal View History

2026-04-17 12:14:55 +03:00
<!--
Component: Search
Typeface search input for the comparison view.
Writes through appliedFilterStore; the global bridge in $features/FilterAndSortFonts
propagates the value into fontCatalogStore.
2026-04-17 12:14:55 +03:00
-->
<script lang="ts">
import { appliedFilterStore } from '$features/FilterAndSortFonts';
import { SearchBar } from '$shared/ui';
</script>
<div class="p-6 border-b border-subtle">
<SearchBar
id="font-search"
class="w-full"
placeholder="Typeface Search"
2026-04-19 19:14:49 +03:00
aria-label="Search typefaces"
bind:value={appliedFilterStore.queryValue}
fullWidth
/>
</div>