skeletonlabs / skeleton

A complete design system and component solution, built on Tailwind.
https://skeleton.dev
MIT License
4.75k stars 300 forks source link

Support custom Link and Image components for meta frameworks #2430

Open endigo9740 opened 5 months ago

endigo9740 commented 5 months ago

There are several meta frameworks that make use of custom components for handling Links (for routing) and Images (for CDNs and optimization). Any Skeleton component that supports links or images may need to have this exposed to allow inserting these special components. Implementation will likely vary between Svelte/React/other frameworks.

This includes, but may not be limited to:

Some "hybrid" frameworks may have this as well, such as Inertia for PHP/Laravel.

endigo9740 commented 4 weeks ago

So far this is happening indirectly through support of features and child slots. Let's continue forward with this pattern.