Flex in Ant Design of React is a component that helps to align items vertically and horizontally. It’s not available in Ant Design System for Figma because you can achieve the same with Figma’s native auto layout feature. You can learn how to use auto layout in Figma here.