# Product Designer Portfolio

Karya is a portfolio for product designers and UI/UX freelancers: present case studies with project details, show interactive design experiments, list your experience, and let clients reach you through a contact form.

- Template name: Karya
- Recommended for: Designers, UI/UX freelancers
- Type: Welcome page
- Frameworks: React, Vue, Blade, Svelte, Angular and Astro
- Page: https://markas.jenderalcorp.com/pages/karya
- Source: https://github.com/ahmad-rian/markasui/tree/main/templates/karya
- CLI: `npx markasui@latest add button input modal slider switch textarea toast`

## Components used

- [Button](https://markas.jenderalcorp.com/components/button): Button with primary, secondary, ghost, and danger variants.
- [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.
- [Slider](https://markas.jenderalcorp.com/components/slider): Range slider built on a native input type range, with a primary fill, a round thumb, and the current value shown next to the label.
- [Switch](https://markas.jenderalcorp.com/components/switch): On/off toggle built on a native checkbox with role switch, no JavaScript needed in Blade.
- [Textarea](https://markas.jenderalcorp.com/components/textarea): Multi-line text field with a label, hint, and error message linked through ARIA.
- [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 button input modal slider switch textarea toast
```

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