# Inventory & Warehouse Dashboard

Gudang is an inventory and warehouse dashboard for distributors, retail chains, and small businesses: switch between warehouses, track stock value and reorder points, manage products, record stock movements, receive purchase orders, move shipments from picking to delivered, and review suppliers, reports, and settings.

- Template name: Gudang
- Recommended for: Distributors, Retail chains, Manufacturing
- Type: Dashboard template
- Frameworks: React, Vue, Blade, Svelte, Angular and Astro
- Page: https://markas.jenderalcorp.com/templates/gudang
- Source: https://github.com/ahmad-rian/markasui/tree/main/templates/gudang
- CLI: `npx markasui@latest add badge button checkbox 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.
- [Checkbox](https://markas.jenderalcorp.com/components/checkbox): Native checkbox with an optional label and description, custom styled without JavaScript.
- [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 checkbox drawer dropdown-menu input modal popover progress select switch table toast toggle-group
```

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