Skip to main content

All Components

Every Vortex Native component in one place. Pick one to see it in action.

Primitives

Columns

Columns is a layout element that places content in equal columns, such as a photo grid or a settings dashboard.

Stack

Stack is a layout element that arranges content in a row or column, such as form fields or toolbar actions.

Theme Scope

Theme Scope is a wrapper that applies a different theme or color mode to part of the screen, such as a dark promo card.

Vortex Provider

Vortex Provider is a root wrapper that sets up Vortex Native for your app, such as its theme and color mode.

Components

Divider

Divider is a separator that splits content into groups, such as sections of a list or items in a toolbar.

Text

Text is a typography element that displays content with theme type styles, such as screen titles, body copy, or captions.

Hooks

useBreakpoints()

useBreakpoints

useBreakpoints is a hook that resolves a value for the window size, such as a column count or a layout mode.

useLatestRef()

useLatestRef

useLatestRef is a hook that keeps a stable ref to the latest committed value, such as a callback or delayed counter.

useRTL()

useRTL

useRTL is a hook that reads and changes the app's layout direction between left-to-right and right-to-left.

useSwitch()

useSwitch

useSwitch is a hook that manages an on or off value, such as whether a setting or panel is on.

useTheme()

useTheme

useTheme is a hook that reads the theme and changes the color mode, such as styling a custom view or adding a dark-mode switch.