Skip to content
Discussion options

You must be logged in to vote

👋

I haven't personally use the package you linked, but you should be able to use the same approach you're using in an Astro layout component by relying on Starlight component overrides which allow you to extend or override (completely replace) its default components by your own. The overrides reference page list all the components you can override, so you should be able to pick one that fits your needs and included in every page, e.g. PageFrame.

When overriding a component, you can choose to entirely replace it by your own component, but you can also reuse a built-in component so you can keep the default Starlight version and just add some markup around it, add you own styles or script, e…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vitonsky
Comment options

Answer selected by vitonsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants