# Workflow Automation Dashboard

Alur is a workflow automation dashboard for SaaS products, operations teams, and agencies: organize workflows in folders, start from templates, connect tools, and manage alerts, a knowledge base, and settings in one workspace.

- Template name: Alur
- Recommended for: SaaS, Operations teams, Agencies
- Type: Dashboard template
- Frameworks: React, Vue, Blade, Svelte, Angular and Astro
- Page: https://markas.jenderalcorp.com/templates/alur
- Source: https://github.com/ahmad-rian/markasui/tree/main/templates/alur
- CLI: `npx markasui@latest add alert-dialog badge button drawer dropdown-menu input kbd modal select switch toast toggle-group`

## Components used

- [Alert Dialog](https://markas.jenderalcorp.com/components/alert-dialog): Modal confirmation built on the native dialog element. It needs an explicit cancel or action choice and never closes on a backdrop click.
- [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.
- [Kbd](https://markas.jenderalcorp.com/components/kbd): Keycap for keyboard shortcuts using the native kbd element, in two sizes, with key combinations rendered as separate keys.
- [Modal](https://markas.jenderalcorp.com/components/modal): Modal dialog built on the native dialog element, with focus trapping and a close 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.
- [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 alert-dialog badge button drawer dropdown-menu input kbd modal select switch toast toggle-group
```

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