I have finally move forward with fabricjs.com restyle https://fabricjs.com/ and i was adding the original searchbar from starlight to my setup. Starlight works on the docs part of the domain https://fabricjs.com/docs/.
Now while the open PR i have is large and confusing, this is what i m doing for search:
https://github.com/fabricjs/fabricjs.github.io/pull/147/files#diff-00652dc48fd3ad4b9029cc44edb07fd56206e0430206363137f47b540ae6d6d3
I m importing the Search component from starlight module, and using it and spreading over Astro.props.
In development build the search bar appears but crash on navigation saying Cannot read properties of undefined (reading 'search.label') like if the search bar didn't have the prop 'labels' passed on.
I m not sure why that happen. The original starlight usage of the Search component is identical to what i do.
Is there something wrong with my custom header maybe?
Astro description