It would be nice to have a more accessible way to copy the anchored URL for the tab component.
Describe the solution you'd like
An opt-in prop in <Tabs />, e.g. updateAnchor: boolean, where if true, will update the URL hash/fragment (#) based on the tab's id when it is clicked.
Describe alternatives you've considered
Provide a copiable link button similar to the accordian component, although this won't update the URL on click. Would like the accordian component to implement something similar.
What problem will this feature address?
It would be nice to have a more accessible way to copy the anchored URL for the tab component.
Describe the solution you'd like
An opt-in prop in
<Tabs />
, e.g.updateAnchor: boolean
, where iftrue
, will update the URL hash/fragment (#) based on the tab's id when it is clicked.Describe alternatives you've considered