The 'dark mode' feature in Storybook allows users to switch between light and dark visual themes for UI components. It is implemented by defining separate themes for 'light' and 'dark' modes in the Storybook configuration, which can be toggled by a user interface control within Storybook.