import { Window } from 'welcome-ui/Window'const Example = () => {return (<Window><Window.Header><Window.Header.LeftActions isExpandable /><Window.Header.Title title="Find your people" /><Window.Header.RightActions isClosable /></Window.Header><Window.Body>At work, behind every success story, someone found their people. Find your next job onWelcome to the Jungle.</Window.Body></Window>)}export default Example
Overview
Use Window to create a structured container with header and body sections.
Header
Use Window.Header to create the header section of your window. The header supports various sub-components for flexible layouts.
Title
Use Window.Header.Title to display a title in the header.
Tabs
Use Window.Header.Tabs to display tabs in the header. Requires a tab store and an array of tab items. Use Window.TabPanel components to display content for each tab.
Actions
Left Actions
Use Window.Header.LeftActions for expandable controls on the left side of the header.
Right Actions
Use Window.Header.RightActions for closable controls and custom action buttons on the right side of the header.
Tab Panels
Use Window.TabPanel to create content sections that correspond to tabs in the header. Each tab panel requires both a store prop (the same tab store used in Window.Header.Tabs) and a tabId prop that matches the id of its corresponding tab.
Body
Use Window.Body to create the content section of your window.
Sizes
The size prop controls the padding of the body. Available sizes are: xs, sm, md (default), lg, and xl.
BoxText
Use Window.BoxText to display content in a styled text box within the window. This provides a visually distinct content area.
Media
Use Window.Media to display images, videos, or other media content within the window. The media container handles proper sizing and layout.