Skip to content

@gtkx/react / StackPageProps

Type Alias: StackPageProps

StackPageProps = object

Defined in: packages/react/src/jsx.ts:467

Props for pages within a Stack or ViewStack.

Used by GtkStack.Page and AdwViewStack.Page compound components.

Properties

badgeNumber?

optional badgeNumber?: number

Defined in: packages/react/src/jsx.ts:483

Badge number shown on the page indicator


children?

optional children?: ReactNode

Defined in: packages/react/src/jsx.ts:469

Content to place in the stack page


iconName?

optional iconName?: string

Defined in: packages/react/src/jsx.ts:475

Icon name from the icon theme


id?

optional id?: string

Defined in: packages/react/src/jsx.ts:471

Unique identifier for this page (used with page prop)


needsAttention?

optional needsAttention?: boolean

Defined in: packages/react/src/jsx.ts:477

Whether to show an attention indicator


title?

optional title?: string

Defined in: packages/react/src/jsx.ts:473

Display title shown in stack switchers


useUnderline?

optional useUnderline?: boolean

Defined in: packages/react/src/jsx.ts:481

Whether underscores in title indicate mnemonics


visible?

optional visible?: boolean

Defined in: packages/react/src/jsx.ts:479

Whether this page is visible in switchers