# Components

> Every web component in the Eunomia library, browsable by category: actions, forms, content, navigation, alerts and loading.

Source: https://eunomia-ds.com/components/

Every component ships as a standard [web component](https://eunomia-ds.com/web-components/) built with [Lit](https://lit.dev/), framework-agnostic, themeable via [CSS custom properties](https://eunomia-ds.com/theming/), and built around four principles:

- **Reduced effort**: drop in and go, minimal setup
- **Fluidity**: smooth, responsive interactions
- **Accessibility**: usable with a keyboard and a screen reader, not just a mouse
- **Ease of use**: simple markup, themed automatically via the [design tokens](https://eunomia-ds.com/foundations/), never a hardcoded color

The library is actively growing, with 50 components shipping today, all listed below. Pick a category to see only its components, or click any card to open that component's own page.

## Component list

- [Alert](https://eunomia-ds.com/components/alert/): Inline banner for showing an info, success, warning, or error message.

- [Animate](https://eunomia-ds.com/components/animate/): Reveals its content with an animation effect the first time it scrolls into view.

- [Badge](https://eunomia-ds.com/components/badge/): A small indicator that highlights new or unread content, such as a notification count.

- [Breadcrumb](https://eunomia-ds.com/components/breadcrumb/): A trail of links showing the current page's position within a site's hierarchy.

- [Button](https://eunomia-ds.com/components/button/): Clickable element for triggering an action, such as submitting a form or confirming a choice.

- [Card](https://eunomia-ds.com/components/card/): A family of card surfaces for grouping related content, from a simple bordered box to an image tile, each one a blank layout you fill with your own markup.

- [Carousel](https://eunomia-ds.com/components/carousel/): A carousel that pages through a row of slides with native scrolling, plus navigation buttons, pagination dots, autoplay and edge fades.

- [Checkbox](https://eunomia-ds.com/components/checkbox/): A binary or tri-state form control, usable standalone or grouped into a list.

- [Chip](https://eunomia-ds.com/components/chip/): A small, removable piece of information, such as a selected filter or an invited guest.

- [Collapse](https://eunomia-ds.com/components/collapse/): An accordion-style disclosure that reveals a content panel in place, without navigating away.

- [Color picker](https://eunomia-ds.com/components/color-picker/): A field for picking a color, from preset swatches or a custom hex value.

- [Counter](https://eunomia-ds.com/components/counter/): A numeric stepper with increment and decrement buttons for a bounded quantity.

- [Date picker](https://eunomia-ds.com/components/date-picker/): An accessible date field with segmented day, month, and year inputs, plus a calendar popover for picking values directly.

- [Description list](https://eunomia-ds.com/components/description-list/): A list of label and value pairs describing a single object, such as the specifications of a product or the details of an order.

- [Divider](https://eunomia-ds.com/components/divider/): A thin horizontal or vertical line that separates two areas of content, in a list, a toolbar, a card or a page layout.

- [Drawer](https://eunomia-ds.com/components/drawer/): A side panel that slides in for a focused task, with a built-in safeguard against losing unsaved changes.

- [Dropdown button](https://eunomia-ds.com/components/dropdown-button/): A button that opens a short menu of actions in a floating panel anchored to it, each choice firing its action right away.

- [Fab](https://eunomia-ds.com/components/fab/): A circular button that highlights a screen's single most important action.

- [Icon](https://eunomia-ds.com/components/icon/): A single icon glyph loaded by name from nearly 4,000 icons in four shapes, in any size or color, used alone or inside other components.

- [Image carousel](https://eunomia-ds.com/components/image-carousel/): An image gallery with a main viewing area, thumbnails, and a full-size lightbox.

- [Infinite list](https://eunomia-ds.com/components/infinite-list/): A list that loads more items automatically as you scroll near the end, with a loading indicator and optional virtualization for long lists.

- [Input](https://eunomia-ds.com/components/input/): A single-line text field for forms, with validation and an optional click-to-edit mode.

- [Input code](https://eunomia-ds.com/components/input-code/): A one-time code or PIN entered one character per box, completing on its own as the last box is filled.

- [Input file](https://eunomia-ds.com/components/input-file/): A file picker with drag-and-drop, thumbnails or file rows, and bulk removal.

- [Input phone](https://eunomia-ds.com/components/input-phone/): An international phone number field with a searchable country selector.

- [Label](https://eunomia-ds.com/components/label/): A form field's label, with an optional required asterisk and instructions text, used by every text field and available on its own.

- [Link](https://eunomia-ds.com/components/link/): A themed anchor for inline or standalone navigation, with an optional decorative leading icon

- [Loader](https://eunomia-ds.com/components/loader/): A compact loading indicator, shown as bouncing dots, a rotating spinner, or a bar.

- [Modal](https://eunomia-ds.com/components/modal/): A reusable dialog for any content, shown or hidden from code, with cancelable confirm and cancel events, for simple confirmations or full forms.

- [Nav menu](https://eunomia-ds.com/components/nav-menu/): A navigation entry that reveals a group of related pages, such as the pages of a section.

- [Pagination](https://eunomia-ds.com/components/pagination/): A set of page numbers letting someone jump between the pages of a longer list, with first/previous/next/last controls

- [Password strength](https://eunomia-ds.com/components/password-strength/): A password strength meter, graded into levels with an always-visible level name.

- [Progress bar](https://eunomia-ds.com/components/progress-bar/): A progress gauge built on the native meter element, with optional labels in all four corners around its track.

- [Radio](https://eunomia-ds.com/components/radio/): A single-choice form control, usable standalone or grouped into a list of options.

- [Rating](https://eunomia-ds.com/components/rating/): A row of stars to give a score, or to display one such as a product's average review.

- [Search](https://eunomia-ds.com/components/search/): A text field specialized for search, with an optional keyboard shortcut and command-palette panel.

- [Select](https://eunomia-ds.com/components/select/): A dropdown field for picking one or more values from a list of options, with live filtering, multiple selection and an optional native mode.

- [Sidebar](https://eunomia-ds.com/components/sidebar/): A persistent, non-modal navigation panel pinned beside page content, collapsible to an icon rail or fully hidden, and resizable by dragging its border.

- [Skeleton](https://eunomia-ds.com/components/skeleton/): A generic shimmer loading placeholder that stands in for content while it loads.

- [Slider](https://eunomia-ds.com/components/slider/): A slider for picking a single numeric value within a range, with optional graduation marks and a floating value tooltip.

- [Stepper](https://eunomia-ds.com/components/stepper/): Shows progress through a multi-step process, as a numbered list of steps or as a continuous bar.

- [Switch](https://eunomia-ds.com/components/switch/): A toggle for a setting that takes effect right away, with no save step, sharing a checkbox's form participation, validation and keyboard support.

- [Tabs](https://eunomia-ds.com/components/tabs/): A tab system for switching between different views of content on the same page.

- [Tag](https://eunomia-ds.com/components/tag/): A small inline label for a piece of metadata, such as a status, a category or a count, with an optional icon set directly or from its severity.

- [Textarea](https://eunomia-ds.com/components/textarea/): A multi-line text field with auto-resize, an optional click-to-edit mode, and an optional rich-text formatting toolbar.

- [Time picker](https://eunomia-ds.com/components/time-picker/): A segmented time field with a picker panel, a mobile fallback, and full timezone support.

- [Toast](https://eunomia-ds.com/components/toast/): A self-dismissing notification anchored to a screen corner, stacking automatically with any other toast sharing its position.

- [Toggle](https://eunomia-ds.com/components/toggle/): A pressed or unpressed button, usable standalone or grouped into a switch or a filter.

- [Toolbar](https://eunomia-ds.com/components/toolbar/): A sticky top page toolbar with layout slots, a responsive burger menu, scroll collapse, and background-adaptive theming.

- [Tooltip](https://eunomia-ds.com/components/tooltip/): A floating, non-interactive description anchored to another element, guaranteed to never run past the viewport edge.

Looking for a table? [`eun-table`](https://eunomia-ds.com/features/table/) lives in Features, since it builds on several components to add row selection, bulk actions, sticky headers and infinite scroll. Without any of those options, it styles a native `<table>` just like a component would.

## Reading a component's page

Every component page is organized the same way, across four tabs:

- **Overview**: what it's for, install/usage snippets per framework, guidance (recommended/avoid), and its own dependencies
- **API**: a live playground plus the full properties/methods/events table, generated straight from the component's source
- **Examples**: every variant, size, and state, each with copy-pasteable markup
- **Accessibility**: keyboard interactions, focus behavior, and ARIA attributes

Form fields also share a set of cross-cutting patterns, including composing a label, native constraints vs. custom validators, and reading a submitted form, covered once in [Forms & validation](https://eunomia-ds.com/guides/forms/) rather than repeated on every field's own page.

## Elsewhere in the library

Higher-level features built from several components, the [scheduler](https://eunomia-ds.com/features/scheduler/) and the [table](https://eunomia-ds.com/features/table/), live in [Features](https://eunomia-ds.com/features/), and the bar, line, combo, pie, doughnut, polar area, radar and bubble charts in [Charts](https://eunomia-ds.com/charts/). Page layouts use the `eun-grid` classes, see [Grid utilities](https://eunomia-ds.com/foundations/tokens/utilities/). Other layout primitives (stack, split view, page shell) and a kanban board aren't in the library yet.
