ui: basic legend