Skip to content
Discussion options

You must be logged in to vote

Good question! I’m not entirely sure, but I think it may be kind of by accident.

The icon component originated as an internal component we used for the icons Starlight rendered in different places in its UI. In #254 we then decided to expose that as a component users could access (released in v0.4).

My guess is that block was a perfectly reasonable choice when the icons were being used inside display: flex containers pretty much universally and when we made the component public, we did not reconsider this.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by delucis
Comment options

You must be logged in to vote
2 replies
@jsabutis
Comment options

@delucis
Comment options

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