MindeesUI
ComponentsStates

InfoState

A centered informational screen in an info tone with a title and optional description.

InfoState is a centered layout for neutral, informational messages. Its title defaults to Good to know in the info tone, with an optional description and action.

Import

import { InfoState } from '@mindees/ui';

Usage

<InfoState title="New feature" description="You can now export reports as CSV." />

Props

PropTypeDefaultDescription
titlestring'Good to know'Heading copy.
descriptionstringSupporting copy shown under the title.
iconReactNodeIcon or illustration rendered above the title.
actionReactNodeAction node (typically a Button) below the copy.
styleStyleProp<ViewStyle>Style applied to the container.

Inherits the remaining ViewProps (except style).

Accessibility

The container uses accessibilityRole="summary" so the message reads as a single status. Keep the title short and the description specific to what the user should know.

On this page