You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This came up when starting with the Copilot implementation.
Current state
AnchorNav only supports a single AnchorNav.Action:
Feature request
In Figma we would like the navigation to have 2 AnchorNav.Action.
I guess it's similar to how SubdomainNavBar can have a "Primary" and a "Secondary" action.
Current workarounds
For now, the "Compare plans" is moved to a AnchorNav.Link. IMO that's the better option in this specific case since we do have a "Pricing" section, so it would be odd if it's not part of the "normal" navigation. But even if we would go with this for Copilot, the need for a Primary and Secondary action will probably come up again sooner or later.
Another option might be add 2 AnchorNav.Action (which works), and then add some custom styling to make it appear like a primary button. But that's more an emergency hack and shouldn't be kept long term.
This came up when starting with the Copilot implementation.
Current state
AnchorNav
only supports a singleAnchorNav.Action
:Feature request
In Figma we would like the navigation to have 2
AnchorNav.Action
.I guess it's similar to how
SubdomainNavBar
can have a "Primary" and a "Secondary" action.Current workarounds
For now, the "Compare plans" is moved to a
AnchorNav.Link
. IMO that's the better option in this specific case since we do have a "Pricing" section, so it would be odd if it's not part of the "normal" navigation. But even if we would go with this for Copilot, the need for a Primary and Secondary action will probably come up again sooner or later.Another option might be add 2
AnchorNav.Action
(which works), and then add some custom styling to make it appear like a primary button. But that's more an emergency hack and shouldn't be kept long term./cc @jesussandreas @ajashams
The text was updated successfully, but these errors were encountered: