integrate flat-ui