Base UI implementation.