# Theme Inertia Bookings

## 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` |
| Package slug | `theme-inertia-bookings` |
| 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` |
| Docs source | `packages/theme-inertia-bookings/docs` |
| Manifest | [`capell.json`](https://github.com/capell-app/packages/edit/4.x/packages/theme-inertia-bookings/capell.json) |

Theme Inertia Bookings is a booking-first Capell theme for services, clinics, consultants, classes, and appointment-led organizations.

## At A Glance

- Package: `capell-app/theme-inertia-bookings`
- Namespace: `Capell\ThemeStudio\InertiaBookings\`
- Theme key: `inertia-bookings`
- Runtime: Inertia
- Surfaces: public frontend
- Service provider: `Capell\ThemeStudio\InertiaBookings\Providers\InertiaBookingsThemeServiceProvider`
- Capell dependencies: `capell-app/core`, `capell-app/frontend`, `capell-app/inertia`, `capell-app/bookings`

## Why It Helps Your Capell Workflow

For teams, the theme provides a booking-led public site direction where service information, trust proof, locations, FAQs, and the appointment request flow fit together.

For developers, it registers an Inertia theme definition and replaces the public Bookings request renderer with an Inertia route while keeping appointment data and validation in `capell-app/bookings`.

## What It Adds

- The `inertia-bookings` theme definition and preset.
- Theme CSS for Inertia booking pages and request forms.
- A Bookings public request renderer that calls `CapellInertia::render('Capell/Bookings/Request', ...)`.
- Vendor asset registrations for theme CSS and Inertia component source scanning.
- Marketplace management contribution and committed route-backed screenshots.

## Best Used With

- [Capell Inertia](../inertia/README.md)
- [Bookings](../bookings/README.md)
- [Theme Inertia Bookings React](../theme-inertia-bookings-react/README.md)
- [Theme Inertia Bookings Vue](../theme-inertia-bookings-vue/README.md)

## Boundaries

- This package owns the theme definition, CSS, and server renderer binding.
- Bookings owns services, staff, locations, availability, appointment requests, reminders, and calendar feeds.
- React and Vue component implementations live in optional component packs.
- The theme owns no migrations, settings, or package-owned admin resources.

## Docs

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

## Testing

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