Smart Code Components » iOS Segmented Control » E – Adding the Separators

E – Adding the Separators

There should be separators between the segments: thin gray lines. I gave them their own "Separators" container, which also is 4 points smaller than the component’s total width. We’re still inside that main "Container" flexbox, whose layout rules we don’t want to follow, so this div also has a position of "absolute". return ( <motion.div […]
To access this page, you must purchase The Framer book.