# HR & Payroll Dashboard

Sigap is an HR, attendance, and payroll dashboard for Indonesian companies: today's headcount and attendance trend, a searchable employee directory, per-shift clock in and out with corrections, leave approvals with balances, a monthly payroll run with BPJS and PPh 21 payslips, a recruitment board, and company settings.

- Template name: Sigap
- Recommended for: HR teams, Small businesses, Factories & retail
- Type: Dashboard template
- Frameworks: React, Vue, Blade, Svelte, Angular and Astro
- Page: https://markas.jenderalcorp.com/templates/sigap
- Source: https://github.com/ahmad-rian/markasui/tree/main/templates/sigap
- CLI: `npx markasui@latest add badge button drawer dropdown-menu input modal popover progress select switch table toast toggle-group`

## 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.
- [Progress](https://markas.jenderalcorp.com/components/progress): Progress bar built on the native progress element, with a label, percentage, and indeterminate mode.
- [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.
- [Table](https://markas.jenderalcorp.com/components/table): Data table built from columns and rows, with optional cell borders, striped rows, compact size, and a footer row. Scrolls horizontally on narrow screens.
- [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.
- [Toggle Group](https://markas.jenderalcorp.com/components/toggle-group): Segmented group of toggle buttons with single or multiple selection and arrow key navigation between items.

## 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 progress select switch table toast toggle-group
```

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