# Likable Aurora (@likable-hair/svelte 5)
> Svelte 5 (runes) component library by Likablehair. Every component is customizable through CSS variables; themes change only the look, at runtime.
- Install: `npm i @likable-hair/svelte`; import components from `@likable-hair/svelte`.
- Styles: `import '@likable-hair/svelte/tokens.css'` (components import it themselves), optional `@likable-hair/svelte/base.css` for the page.
- Callbacks receive the native event; icons are SVG paths (`@mdi/js`).
- Texts: English and Italian are built in and follow the `locale` prop of each component (other languages fall back to English; text props win); `setDefaultLocale('it')` in the root `+layout.svelte` sets the locale of every component, dates included.
- Tab title: `setTitleTemplate('{title} · App')` in the root `+layout.svelte` lets the `PageHeader` of each page write the browser tab title; the layout `
` stays for pages without one.
- CSS: the library is in cascade layers, so app CSS and Tailwind utilities override it; Tailwind classes for the tokens via `@likable-hair/svelte/tailwind.css` (v4) or `@likable-hair/svelte/tailwind-preset` (v3).
- Full version in a single file: https://svelte.likablehair.it/llms-full.txt
## Foundations
- [Tokens](https://svelte.likablehair.it/tokens.md): `--global-*` variables for colors, shape, shadows, fonts, motion; themes and light/dark mode.
- [CSS and Tailwind](https://svelte.likablehair.it/styling.md): cascade layer order, resets, Tailwind 3 and 4 setup, token classes.
- [Page patterns](https://svelte.likablehair.it/patterns.md): whole pages (list, detail, form, dashboard) built only with the library and the tokens.
- [AI agents](https://svelte.likablehair.it/agents.md): MCP server with the specs of the installed version and the aurora-design skill for coding agents; setup with `npx svelte-mcp init`.
## Components
- [ActivableButton](https://svelte.likablehair.it/components/activable-button.md): Toggle button that stays pressed: every click flips `active` and then calls `onclick`, and the state is announced with `aria-pressed`.
- [AlertBanner](https://svelte.likablehair.it/components/alert-banner.md): Message banner inside the page, with a colored icon, a title, a description, an optional action on the right (`appendSnippet`) and an optional close button.
- [AsyncAutocomplete](https://svelte.likablehair.it/components/async-autocomplete.md): Autocomplete whose options come from a server: while the user types, it calls `searcher` with the text and shows the items it returns.
- [Autocomplete](https://svelte.likablehair.it/components/autocomplete.md): Text field that searches a list of options (`items`) and picks one or, with `multiple`, more of them.
- [Avatar](https://svelte.likablehair.it/components/avatar.md): Round picture of a person or a thing.
- [AvatarGroup](https://svelte.likablehair.it/components/avatar-group.md): Row of overlapping avatars, for example the people assigned to a task.
- [BarChart](https://svelte.likablehair.it/components/bar-chart.md): Bar chart drawn with chart.js.
- [BoxList](https://svelte.likablehair.it/components/box-list.md): Grid of cards, each with an icon, a label and a description, usually the entry points of a section (settings, reports, tools).
- [Button](https://svelte.likablehair.it/components/button.md): Button with three shapes (`buttonType`), four color variants (`variant`) and three sizes (`size`).
- [Calendar](https://svelte.likablehair.it/components/calendar.md): Grid of the days of one month, to choose a day or, with `range`, a range of days.
- [Checkbox](https://svelte.likablehair.it/components/checkbox.md): Checkbox with an optional label next to it.
- [Chip](https://svelte.likablehair.it/components/chip.md): Compact label for tags, statuses, filters and selections, with seven color variants (`variant`) and two sizes (`size`).
- [CircularLoader](https://svelte.likablehair.it/components/circular-loader.md): Circular loader.
- [ColumnManager](https://svelte.likablehair.it/components/column-manager.md): Panel where the user picks the columns of a table: which ones are shown, in which order and which ones are pinned on the left.
- [ConfirmDialog](https://svelte.likablehair.it/components/confirm-dialog.md): Dialog that asks to confirm an action, usually a delete: an icon in the tone of the action, the question as title, a description and two buttons, Cancel and the action.
- [ConfirmOrCancelButtons](https://svelte.likablehair.it/components/confirm-or-cancel-buttons.md): Pair of buttons that closes a form or a dialog: a text "Cancel" button and a filled "Save" button, aligned to the end, with optional content (such as "Unsaved changes") at the start.
- [CountriesAutocomplete](https://svelte.likablehair.it/components/countries-autocomplete.md): Autocomplete of countries, with their flags.
- [DashboardShaper](https://svelte.likablehair.it/components/dashboard-shaper.md): Grid of widgets for a dashboard: `columns` equal columns, rows `--dashboard-shaper-row-height` tall, each widget placed by its `left`, `top`, `width` and `height` (the same shape saved by v4) and drawn by `widgetSnippet`.
- [DashboardWidgetShape](https://svelte.likablehair.it/components/dashboard-widget-shape.md): Small outline of a widget size, `width` columns by `height` rows, as the size buttons of the `DashboardShaper` catalog draw it: each cell is `--dashboard-widget-shape-cell-size` wide, shrunk so that the shape fits in `--dashboard-widget-shape-max-width` by `--dashboard-widget-shape-max-height`.
- [DataTable](https://svelte.likablehair.it/components/data-table.md): Table for server data, with a toolbar (search, `Filters`, the buttons of the app, "Columns"), a bar of actions on the selected rows and a footer with the pagination.
- [DatePicker](https://svelte.likablehair.it/components/date-picker.md): Calendar panel to choose a day or, with `range`, a range of days: the title of the visible month between two arrows, above a `Calendar`.
- [DatePickerTextField](https://svelte.likablehair.it/components/date-picker-text-field.md): Date field: type the date or choose it in a calendar.
- [DateTimePickerTextField](https://svelte.likablehair.it/components/date-time-picker-text-field.md): Date and time field: type them or choose them in a panel with a calendar and the columns of hours and minutes.
- [DescriptiveAvatar](https://svelte.likablehair.it/components/descriptive-avatar.md): Avatar with a title and a subtitle, for example a person with their role in a list, a sidebar or a user menu.
- [Dialog](https://svelte.likablehair.it/components/dialog.md): Modal dialog on the browser's top layer (`