Skip to content

Icons in HxNav (with badge option)? #903

Answered by crdo
rgbinnovation asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rgbinnovation, not sure what visual are you trying to achieve, but you have to follow the structure shown in the docs.
The direct descendants of HxNav have to be HxNavLink.
Everything else (icons, text, badges) should be inside of the HxNavLink.
HxIcon has no ChildContent and cannot have anything inside of it.
Most of what you struggle with is more a HTML/CSS/Bootstrap related rather than our component library.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hakenr
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