Welcome UI logo
FOUNDATIONSCOMPONENTSBLOG650+
10.0.0

Menu

    Actions

    • Button
    • ButtonGroup
    • Close Button
    • Link

    Data display

    • Accordion
    • Avatar
    • Badge
    • Card
    • Swiper
    • Table
    • Tag
    • VisuallyHidden

    Feedback

    • Alert
    • StickyNote

      NEW

    • Toast

    Forms

    • Checkbox
    • DatePicker
    • DateTimePicker
    • Field
    • FileDrop
    • FileUpload
    • Hint
    • InputText
    • Label
    • PasswordInput
    • Radio
    • RadioGroup
    • RadioTab
    • Search
    • Select
    • Slider
    • Textarea
    • TimePicker
    • Toggle

    Icons & logo

    • Icon
    • IconStamp

      NEW

    • Logo
    • VariantIcon
    • WelcomeLoader

    Layout

    • AspectRatio
    • Loader
    • Window

      NEW

    Navigation

    • Breadcrumb
    • DropdownMenu
    • Pagination
    • Stepper

      NEW

    • Tabs

    Overlay

    • Drawer
    • Modal
    • Popover
    • Tooltip

    Typography

    • Text

    Utilities

    • Grid background

Overview

Props

Window

A versatile container component for creating structured layouts with customizable headers, body content, and media sections. Features header elements including titles, tabs, and action buttons, plus body components with adjustable padding sizes, styled text boxes, and media content support.

Source
Github
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 on
Welcome to the Jungle.
</Window.Body>
</Window>
)
}
export default Example

Examples

Header

Use Window.Header to create the header section of your window. The header supports various sub-components for flexible layouts. Use Window.Header.Title to display a title in the header.

Github

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.

Github

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.

Github

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.

Github

BoxText

Use Window.BoxText to display content in a styled text box within the window. This provides a visually distinct content area.

Github

Media

Use Window.Media to display images, videos, or other media content within the window. The media container handles proper sizing and layout.

Github
LoaderBreadcrumb

On this page

  • Definition
  • Examples
    • Header
    • Tab Panels
    • Body
    • Sizes
    • BoxText
    • Media
Made with by
Welcome to the jungle logo

Documentations

  • Foundations
  • Components
  • Source code

Updates

  • Releases
  • Issues

Community

  • Github
  • Twitter
  • Medium
  • Jobs