# Ambar UI — Component Library Reference for LLMs Ambar UI is a copy-paste component library for **Svelte 5** + **Tailwind CSS v4**. All components are single `.svelte` files with no runtime npm dependencies. Import from `$lib/components/ComponentName.svelte`. --- ## Setup ```svelte @theme inline { --color-accent: oklch(0.6 0.2 265); } ``` --- ## Components ### Button ```svelte import Button from '$lib/components/Button.svelte'; ``` Props: `variant` (primary|secondary|outline|ghost|danger|icon), `size` (sm|md|lg|icon), `href`, `external`, `disabled`, `loading`, `fullWidth`, `ariaLabel`, `onclick`, `class` --- ### Input ```svelte import Input from '$lib/components/Input.svelte'; ``` Props: `value` ($bindable), `type` (text|email|password|search|url|tel|number), `label`, `placeholder`, `hint`, `error`, `disabled`, `clearable`, `prefix`, `suffix`, `start` (Snippet), `end` (Snippet), `onvalue` --- ### Textarea ```svelte import Textarea from '$lib/components/Textarea.svelte';