-### Add router package
+`@use-funnel` is a [React Hook](https://react.dev/reference/rules/rules-of-hooks) that helps you easily implement complex UI flows.
-```sh
-pnpm add:router --name your-router-name
-```
+## Core Concepts
+
+### Strong Type Support
+
+By comparing the type of the current step with the type of the next step, you can safely manage only the necessary states.
+
+### State Management by History
+
+Manage states by history, so you can easily manage back and forth.
+
+### Various Router Support
+
+Supports browser history, react-router-dom, next.js, @react-navigation/native, etc.
+
+## Example
-### Build workspace all
+```tsx
+import { useFunnel } from '@use-funnel/react-router-dom';
-```sh
-pnpm --filter="*" run build
+export function App() {
+ const funnel = useFunnel<{
+ Step1: { message?: string; flag?: boolean };
+ Step2: { message: string; flag?: boolean };
+ Step3: { message: string; flag: boolean };
+ }>({
+ id: 'hello-world',
+ initial: {
+ step: 'Step1',
+ context: {},
+ },
+ });
+ return (
+