Figma > Tabs followup

Capture followup items from #1907 (closed).

thought: using boolean props doesn’t allow control by a variable which might be the key to prototyping behaviour for consumers

tradeoffs all the way down


question: did you explore exposing tab item props to tab group?

if we were concerned about the number of props exposed we could consider combining state and is current - is current feels like it should be ‘internal’ as in this context it is handled by ❖ Tab group

Yes, I did consider this, but it would make the list quite lengthy.

I'd like to save this for a followup.


Bug

  1. insert tab group with 3+ item
  2. make item 3 current tab
  3. add text overrides to all tabs
  4. change tab count to 2 items
  5. change tab count to 3+ items
  6. override is lost on tab item 3 while not current

I experienced this too, but didn't find any fixes.


5 is a lot, is there a common number of tabs?

suggestion (non-blocking): if so, consider making the common number the top-left variant. See ❖ Breadcrumb for example