# Clinic Management Dashboard

Sehati is a clinic management dashboard for clinics, dental practices, and small hospitals: run the queue board with a live queue panel, book and reschedule appointments on the week grid, open patient records with visits, vitals, and allergies, manage the doctor roster, dispense prescriptions and watch stock, track BPJS and private invoices in Rupiah, and set clinic hours.

- Template name: Sehati
- Recommended for: Clinics, Dental practices, Pharmacies
- Type: Dashboard template
- Frameworks: React, Vue, Blade, Svelte, Angular and Astro
- Page: https://markas.jenderalcorp.com/templates/sehati
- Source: https://github.com/ahmad-rian/markasui/tree/main/templates/sehati
- CLI: `npx markasui@latest add badge button drawer dropdown-menu input modal popover select switch tabs toast`

## Components used

- [Badge](https://markas.jenderalcorp.com/components/badge): Small pill-shaped status label with a colored dot for neutral, primary, success, warning, and danger.
- [Button](https://markas.jenderalcorp.com/components/button): Button with primary, secondary, ghost, and danger variants.
- [Drawer](https://markas.jenderalcorp.com/components/drawer): Full-height side panel built on the native dialog element, sliding in from the right or left.
- [Dropdown Menu](https://markas.jenderalcorp.com/components/dropdown-menu): Action menu built on the Popover API, with keyboard navigation following the WAI-ARIA Menu Button pattern.
- [Input](https://markas.jenderalcorp.com/components/input): Text field with a label, hint, and error message wired up through ARIA.
- [Modal](https://markas.jenderalcorp.com/components/modal): Modal dialog built on the native dialog element, with focus trapping and a close button.
- [Popover](https://markas.jenderalcorp.com/components/popover): Non-modal floating panel built on the Popover API for small forms and extra details, anchored to a trigger button.
- [Select](https://markas.jenderalcorp.com/components/select): Dropdown built on a styled native select, with a label, hint, and error message.
- [Switch](https://markas.jenderalcorp.com/components/switch): On/off toggle built on a native checkbox with role switch, no JavaScript needed in Blade.
- [Tabs](https://markas.jenderalcorp.com/components/tabs): Tabs for switching between content panels, with WAI-ARIA keyboard navigation.
- [Toast](https://markas.jenderalcorp.com/components/toast): Short notification in the bottom right corner that dismisses itself, triggered with the toast() function or an event.

## Get the code

Add every component with the CLI, then copy the page file for your framework from GitHub. The live demo shows the finished page.

```bash
npx markasui@latest add badge button drawer dropdown-menu input modal popover select switch tabs toast
```

| Framework | Source file | Live demo |
| --- | --- | --- |
| Blade | [`templates/sehati/blade/sehati.blade.php`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/blade/sehati.blade.php) | https://markas.jenderalcorp.com/demo/templates/sehati/blade |
| React | [`templates/sehati/react/Sehati.tsx`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/react/Sehati.tsx) | https://markas.jenderalcorp.com/demo/templates/sehati/react |
| Vue | [`templates/sehati/vue/Sehati.vue`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/vue/Sehati.vue) | https://markas.jenderalcorp.com/demo/templates/sehati/vue |
| Svelte | [`templates/sehati/svelte/Sehati.svelte`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/svelte/Sehati.svelte) | https://markas.jenderalcorp.com/demo/templates/sehati/svelte |
| Astro | [`templates/sehati/astro/Sehati.astro`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/astro/Sehati.astro) | https://markas.jenderalcorp.com/demo/templates/sehati/astro |
| Angular | [`templates/sehati/angular/sehati.component.ts`](https://github.com/ahmad-rian/markasui/blob/main/templates/sehati/angular/sehati.component.ts) | https://markas.jenderalcorp.com/demo/templates/sehati/angular |
