# Theme Inertia Bookings React

## Package docs status

This page is generated from public package documentation in `capell-4/packages` and the package manifest checked into the source repository.

| Field | Value |
| --- | --- |
| Composer package | `capell-app/theme-inertia-bookings-react` |
| Package slug | `theme-inertia-bookings-react` |
| Product group | Capell Themes |
| Tier | premium |
| Bundle | `themes` |
| Runtime contexts | `frontend` |
| Capell version | `^4.0` |
| Source repository | `capell-app/packages` |
| Source path | `packages/theme-inertia-bookings-react` |
| Docs source | `packages/theme-inertia-bookings-react/docs` |
| Manifest | [`capell.json`](https://github.com/capell-app/packages/edit/4.x/packages/theme-inertia-bookings-react/capell.json) |

Theme Inertia Bookings React provides the React component implementation for the booking-first Inertia theme.

## At A Glance

- Package: `capell-app/theme-inertia-bookings-react`
- Namespace: `Capell\ThemeStudio\InertiaBookingsReact\`
- Runtime: Inertia React
- Surfaces: public frontend
- Service provider: `Capell\ThemeStudio\InertiaBookingsReact\Providers\InertiaBookingsReactServiceProvider`
- Capell dependencies: `capell-app/theme-inertia-bookings`, `capell-app/inertia-react-adapter`

## Why It Helps Your Capell Workflow

For teams, this package turns the booking theme into a React-powered public experience with the same server-side booking contract.

For developers, it registers the themed React entrypoint and component contribution for `Capell/Bookings/Request`; the generic React adapter build backs off when this component pack is installed.

## What It Adds

- `resources/js/app.jsx`, the themed React Inertia entrypoint.
- React implementations for `Capell/Page` and `Capell/Bookings/Request`.
- React widget components for title, content, and image blocks.
- Tailwind source registration and package-owned build asset conditions.
- Marketplace screenshot contract for booking request, services, loading, validation, and mobile states.

## Boundaries

- The package renders server props supplied by Theme Inertia Bookings and Bookings.
- It owns no booking data, routes, validation, database tables, settings, or admin resources.
- Do not duplicate booking availability or appointment request logic in React components.

## Docs

- [docs index](README.md)
- [overview.md](overview.md)
- [screenshots.json](screenshots.json)

## Testing

```bash
vendor/bin/pest packages/theme-inertia-bookings-react/tests --configuration=phpunit.xml
```