ui code format