Skip to content
IntelliHelper logo

Intelli UI

React NativeData

Chart Period

Time-range control with presets, app-defined periods, and custom from/to range. Import from @intelli/ui-native. Use onPress and style instead of DOM events and className.
npx @intellihelper/cli@latest add @native/chart-period

Usage

From an Expo or React Native app, wrap the tree in ThemeProvider.

import { ThemeProvider } from "@/components/ui/native/theme";
import { ChartPeriod } from "@/components/ui/native/charts";

export function Example() {
  return (
    <ThemeProvider theme="mono" followSystem>
      <ChartPeriod>Chart Period</ChartPeriod>
    </ThemeProvider>
  );
}

Platform notes

This component is implemented in packages/ui-native. Preview it on a device with pnpm native from the monorepo (Expo Go).

Optional peers: expo-blur for real frost, react-native-safe-area-context for sheet/dialog insets.

Source: ui-native components on GitHub

9:41

Chart Period

64%

iPhone preview — same APIs as @intelli/ui-native