# LedgerUI v0.2.0 - Table of Contents > Phoenix LiveView components with the Ledger UI design. ## Pages - [Ledger UI](readme.md) - [Changelog](changelog.md) ## Modules - [LedgerUI](LedgerUI.md): Phoenix LiveView components with the Ledger UI design. - [LedgerUI.Component](LedgerUI.Component.md): Boilerplate for a Ledger UI component module. - [LedgerUI.Components](LedgerUI.Components.md): Registry of every component module of Ledger UI. - [LedgerUI.Components.Accordion](LedgerUI.Components.Accordion.md): A list of sections that open under their titles (`<.accordion>` with `<.accordion_item>`). - [LedgerUI.Components.ActionMenu](LedgerUI.Components.ActionMenu.md): The actions of one item (a table row, a card), opened by a "⋯" button, and `action_button/1`, the direct button for an item with a single action. - [LedgerUI.Components.Ai](LedgerUI.Components.Ai.md): The assistant ("Assistente (IA)"): the conversation, its messages, the proposals the user approves, the queries the assistant shows it made, the field to ask, the list of conversations and the starting suggestions. The assistant proposes and the user approves; nothing changes without a confirmation. - [LedgerUI.Components.Alert](LedgerUI.Components.Alert.md): Persistent inline notice with colour, variant, shape, accent stripe, actions and a close button. - [LedgerUI.Components.AppShell](LedgerUI.Components.AppShell.md): The application shell: the page frame, the main sidebar (the icon rail), the sidebar panel with its collapsible groups, the minimized panel, the sideblock, the horizontal navigation, the header, the right sidebar, the framed menu, the page header and the mode toggles. - [LedgerUI.Components.Aura](LedgerUI.Components.Aura.md): Ring of light that runs along the border of any element while something works in the background. - [LedgerUI.Components.AuthSplit](LedgerUI.Components.AuthSplit.md): The sign in and sign up screen in two halves, as the canvas draws it: on the left a centered column (the brand mark, the title and subtitle, the `:providers` buttons and the divider, the form and a line under it) and, on the right, either a picture filling its half with a testimonial over its lower part or the `:aside` panel (tray background, content centered: a badge, a headline, a KPI card). - [LedgerUI.Components.Autocomplete](LedgerUI.Components.Autocomplete.md): A text input with a list of suggestions under it. The person types, the list narrows (or the server searches) and choosing a suggestion sets the field. Behaviour lives in the `LedgerUI.Autocomplete` hook (`priv/static/ledger_ui/hooks/autocomplete.js`). - [LedgerUI.Components.Avatar](LedgerUI.Components.Avatar.md): Avatars: an image or initials in a circle, a square, a squircle or any mask shape, with a status dot, a gradient ring, and stacked in groups. - [LedgerUI.Components.Badge](LedgerUI.Components.Badge.md): Badges: filled, glowing, soft, outlined or bare text, with a dot, an icon or a remove button. - [LedgerUI.Components.Breadcrumb](LedgerUI.Components.Breadcrumb.md): The trail of pages above the current one; the last `:item` is the current page. - [LedgerUI.Components.BulkBar](LedgerUI.Components.BulkBar.md): The bar of bulk actions for a table with selection: how many are selected, optional fields, buttons for the actions and a close that clears the selection. It shows only while `count` is above zero. - [LedgerUI.Components.Button](LedgerUI.Components.Button.md): Buttons: `button/1` (filled, outlined, soft, ghost, glass, in every theme colour), `button_group/1` (segmented joins), `icon_button/1` (square icon-only buttons, the top bar buttons and the round "go" button) and `insight_button/1` (the top bar AI insights pill). - [LedgerUI.Components.Calendar](LedgerUI.Components.Calendar.md): A calendar for dates that matter (due dates, appointments, deadlines): a month grid or a week grid of hours with colored event chips, month/week switching and keyboard navigation; plus `due_calendar/1`, the agenda of due items by day. - [LedgerUI.Components.Card](LedgerUI.Components.Card.md): The panel: surfaces (`variant`), colour (`color`, `gradient`), optional `:title` and composable parts (header, body, footer). - [LedgerUI.Components.CardTable](LedgerUI.Components.CardTable.md): The "card" table: one row per record in a rounded tray (`lu-card`), with an optional heading, a footer line and sub-lines. For long lists (orders, invoices, clients). - [LedgerUI.Components.Carousel](LedgerUI.Components.Carousel.md): Carousels without Swiper: slides on a track, and the `LedgerUI.Carousel` hook for arrows, pagination, autoplay, keyboard, swipe and effects. - [LedgerUI.Components.CashTimer](LedgerUI.Components.CashTimer.md): Status card of a cash register shift: an icon in the colour of the state, a title and a line, the time the register has been open (ticking in the browser) and a balance, a difference or an action. - [LedgerUI.Components.Chart](LedgerUI.Components.Chart.md): Charts drawn by the package itself, as SVG with the `lu-*` look (axis labels, grid lines, legend, tooltips, light and dark). - [LedgerUI.Components.Checkbox](LedgerUI.Components.Checkbox.md): `checkbox/1` (the `lu-check` box with label and description) and `checkbox_group/1` (one checkbox per option of a list field). - [LedgerUI.Components.Chip](LedgerUI.Components.Chip.md): The chip (`lu-chip`): a small tag for a quick filter, an applied filter or a selected person. - [LedgerUI.Components.Clipboard](LedgerUI.Components.Clipboard.md): Copy to clipboard: `clipboard/1`, a button that copies a text, and `clipboard_input/1`, a field with a copy button joined to it. - [LedgerUI.Components.CodeBlock](LedgerUI.Components.CodeBlock.md): Code, terminal output, logs and diffs in a dark card: an optional header with a title and a copy button, line numbers, wrapping, added, removed and highlighted lines, and a small size for tool output inside a `LedgerUI.Components.Trace.trace/1`. - [LedgerUI.Components.Collapse](LedgerUI.Components.Collapse.md): A section that opens and closes under its trigger (`<.collapse>`) and a text clamped to a few lines with a "show more" link (`<.collapse_text>`). - [LedgerUI.Components.ColorPicker](LedgerUI.Components.ColorPicker.md): A color picker that outputs hex text: a saturation/brightness area to drag, a hue slider, an optional opacity slider, a hex field and a row of preset swatches. - [LedgerUI.Components.CommandPalette](LedgerUI.Components.CommandPalette.md): A dialog opened with Ctrl K (or `LedgerUI.open/1`) where the person types, narrows the results by scope and jumps to a page or runs an action from the keyboard (`<.command_palette>`). - [LedgerUI.Components.ConnectionBanner](LedgerUI.Components.ConnectionBanner.md): The notice of a lost connection, as a toast: while the LiveView socket is down the toaster shows a `loading` toast with the ring of light (`aura`), and removes it when the socket is back. - [LedgerUI.Components.Container](LedgerUI.Components.Container.md): Page containers: `container_fixed/1` centers its content up to the `xl` breakpoint (1280px), `container_fluid/1` fills the width. Both keep a 24px gutter. - [LedgerUI.Components.ContextMenu](LedgerUI.Components.ContextMenu.md): A menu that opens under the pointer on a right click. - [LedgerUI.Components.Cover](LedgerUI.Components.Cover.md): The canvas cover: a wide band in the accent gradient (or a quiet surface) that heads a profile or a page, with a title on it, or a record's avatar overlapping its lower edge. - [LedgerUI.Components.DataTable](LedgerUI.Components.DataTable.md): A table with a search box, sortable headers, a pagination footer and row selection, in the two looks of Ledger UI: `advanced` (title bar, the table as a card, summary and pager underneath) and `grid` (search at the right, the gridjs table, summary and pager). - [LedgerUI.Components.DatePicker](LedgerUI.Components.DatePicker.md): Date picker: one date, several dates or a range, with limits, disabled days, a custom text format and presets. The calendar pops under the input or stays inline. - [LedgerUI.Components.DatetimePicker](LedgerUI.Components.DatetimePicker.md): A date and a time chosen in one panel: a calendar with a list of times beside it or, for a range, two months side by side with a start and an end time. - [LedgerUI.Components.DescriptionList](LedgerUI.Components.DescriptionList.md): Label and value pairs in a grid, as the canvas `lu-dl2`: the label small and faint, the value in the ink colour. For the short data of a detail (an order, a client). - [LedgerUI.Components.Divider](LedgerUI.Components.Divider.md): A 1px separator in the `line` colour, horizontal or vertical, with optional centred or left-aligned text. - [LedgerUI.Components.Drawer](LedgerUI.Components.Drawer.md): Side panel (`<.drawer>`) and its sheet parts (`<.sheet_header>`, `<.sheet_body>`, `<.sheet_footer>`). - [LedgerUI.Components.Dropdown](LedgerUI.Components.Dropdown.md): Dropdown menu: a button (or any trigger) that opens a floating menu of links and actions. - [LedgerUI.Components.Email](LedgerUI.Components.Email.md): Ledger UI's transactional e-mail: one layout for the e-mails a system sends (a sign-in code, a reset link, an order update): the logo, a card with an icon badge, an eyebrow, a title, text, a block of code, facts or steps, a main button with its address spelled out, a note and a footer. 520px wide. - [LedgerUI.Components.EmptyState](LedgerUI.Components.EmptyState.md): Empty state: what the area is, why it is empty and the one next step. - [LedgerUI.Components.ErrorPage](LedgerUI.Components.ErrorPage.md): The canvas's error screens: the whole page an `ErrorHTML` renders (`error_page/1`), the error inside the app (`error_state/1`) and the list of links under the actions (`error_links/1`). - [LedgerUI.Components.Fab](LedgerUI.Components.Fab.md): Floating action buttons: `fab/1`, one button (the canvas's solid ink button, or the retracting pill) and `fab_dial/1`, a speed-dial that opens a column of actions. - [LedgerUI.Components.FilterMenu](LedgerUI.Components.FilterMenu.md): A filter button that opens a menu of filters: one row per group that opens a second panel to its side with the group's options as checkboxes (or radios), plus flat sections (a sort order) in the same menu. Behaviour lives in the `LedgerUI.FilterMenu` hook (`priv/static/ledger_ui/hooks/filter_menu.js`): opening, submenus, keyboard (arrows, Enter, Esc, `ArrowRight` into a submenu) and staging never leave the browser. - [LedgerUI.Components.Flow](LedgerUI.Components.Flow.md): Workflow editor: steps on a dotted board joined by connections that carry the condition of each branch, a toolbar at the bottom and the configuration panel of a step on the right. - [LedgerUI.Components.Form](LedgerUI.Components.Form.md): The pieces Ledger UI's forms are made of: a caption (`label/1`), a help line (`help_text/1`), an error line (`error/1`) and the `field/1` wrapper that puts them around any control. - [LedgerUI.Components.FormSection](LedgerUI.Components.FormSection.md): A group of fields under a small title, laid out in a grid. - [LedgerUI.Components.GlowText](LedgerUI.Components.GlowText.md): Text with a living gradient: the colors drift across the letters (`lu-glowtx`). - [LedgerUI.Components.HeroCard](LedgerUI.Components.HeroCard.md): The hero card: the welcome or the insight at the top of a page. The text on the left (an eyebrow in mono caps with an optional icon, the title, the description, a goal meter or a list of steps, and the actions) and a landscape on the right that fades into the card. - [LedgerUI.Components.Icon](LedgerUI.Components.Icon.md): Server-side SVG icons (Hugeicons Stroke Rounded), no JavaScript needed. - [LedgerUI.Components.Illustration](LedgerUI.Components.Illustration.md): Light illustrations for empty states and result screens, drawn with the theme tokens (or inline SVG), so the package needs no static images. - [LedgerUI.Components.ImageInput](LedgerUI.Components.ImageInput.md): An image field: the picture (an avatar, a logo) in a round or rounded frame, with an edit overlay and a small button to remove or revert it. - [LedgerUI.Components.Input](LedgerUI.Components.Input.md): Single-line text field: `outlined`, `filled` or `plain`, `rounded` or `pill`, three sizes, icon, prefix and suffix, states, masks. - [LedgerUI.Components.InputGroup](LedgerUI.Components.InputGroup.md): Joins inputs, addons, selects and buttons into one row with shared borders. - [LedgerUI.Components.Kanban](LedgerUI.Components.Kanban.md): Kanban board: a row of tinted columns holding cards that are dragged between them. - [LedgerUI.Components.KpiCard](LedgerUI.Components.KpiCard.md): Indicator card: a big tabular figure, its unit in `subtle` and a coloured delta in the footer. - [LedgerUI.Components.LandingNav](LedgerUI.Components.LandingNav.md): The marketing-site top bar: the logo on the left, the links in the center (one may open a mega menu), Entrar and the primary button on the right. - [LedgerUI.Components.Logo](LedgerUI.Components.Logo.md): The Ledger UI mark. By default the chart glyph of the design canvas (an axis with a rising line) on a rounded tile: `tone="accent"` is a teal tile, `tone="mono"` the `inverse` tile. `mark="hexagon"` draws the README mark instead: a drop inside a hexagon (the ring follows the page ink, the drop takes the theme accent, or silver with `tone="mono"`). - [LedgerUI.Components.Mask](LedgerUI.Components.Mask.md): Crops its content to one of nine mask shapes: `squircle`, `reuleaux-triangle`, `diamond`, `hexagon`, `hexagon-2`, `octagon`, `star`, `star-2` and `heart`. - [LedgerUI.Components.MenuList](LedgerUI.Components.MenuList.md): Menu lists: a vertical list of links with one active entry (`lu-ml`), plus `menu_item` and `menu_row`. - [LedgerUI.Components.MiniCard](LedgerUI.Components.MiniCard.md): The canvas's mini card: a small card for a shortcut (an icon box over a bold label) or for a short figure (a faint label over a mono value). - [LedgerUI.Components.Modal](LedgerUI.Components.Modal.md): Modal dialog for short tasks and confirmations (`<.modal>`). - [LedgerUI.Components.Navbar](LedgerUI.Components.Navbar.md): The app top bar: a container (`navbar/1`) and small pieces to put in it. The right side keeps the same vocabulary (search, notifications, theme, language and the user); the variants change what goes on the left and the visual weight. - [LedgerUI.Components.NotificationCenter](LedgerUI.Components.NotificationCenter.md): A bell with a count when something is unread and, under it, a panel with the notifications (`<.notification_center>`). - [LedgerUI.Components.NumberInput](LedgerUI.Components.NumberInput.md): A numeric field for money and quantities that shows the number the way the person's locale writes it (`1.234,56` in pt-BR, `1,234.56` in en) and submits the plain machine value (`1234.56`). - [LedgerUI.Components.OtpInput](LedgerUI.Components.OtpInput.md): A one-time code made of single-character boxes. - [LedgerUI.Components.Pagination](LedgerUI.Components.Pagination.md): Pagination: the canvas pager (`lu-pg2`, `shape` `canvas`, `rounded` or `pill`) or the classic bar of buttons (`lu-pages`, `shape="classic"`), in three sizes. - [LedgerUI.Components.Palette](LedgerUI.Components.Palette.md): Swatches of the kit palette: a warm-neutral base with a teal brand scale, status signals and chart series. Colours are always read from the tokens (`var(--teal-500)`), so the swatches follow the theme. - [LedgerUI.Components.PasswordInput](LedgerUI.Components.PasswordInput.md): A password field with the eye button that shows what was typed. - [LedgerUI.Components.PhoneInput](LedgerUI.Components.PhoneInput.md): A phone number field with a country picker: a button at the left with the ISO code and the calling code (`BR +55`), and the number input. The number is written in the national format of the country as it is typed (`(11) 91234-5678`); what the form submits is the E.164 number (`+5511912345678`). - [LedgerUI.Components.PhoneInput.Format](LedgerUI.Components.PhoneInput.Format.md): Country data and number formatting for `LedgerUI.Components.PhoneInput`. - [LedgerUI.Components.PillSelect](LedgerUI.Components.PillSelect.md): A quick filter of chips where the chosen ones take the accent: one choice by default, several with `multiple`. - [LedgerUI.Components.Pillbox](LedgerUI.Components.Pillbox.md): Multiple (or single) choice drawn as pills inside the field, with a searchable list under it. It is the `LedgerUI.Components.Select` listbox (`multiple`, `search="panel"`) and shares its hook, `LedgerUI.Select` (`priv/static/ledger_ui/hooks/select.js`). - [LedgerUI.Components.PixelCard](LedgerUI.Components.PixelCard.md): The pixel card: a card to choose from (a model, a module, an integration) that, on hover or keyboard focus, lights up a matrix of pixels in its top right corner, in the card's colour. - [LedgerUI.Components.Popover](LedgerUI.Components.Popover.md): A card with an arrow next to its trigger (`<.popover>`), for more than a tooltip holds. - [LedgerUI.Components.Progress](LedgerUI.Components.Progress.md): Progress bar (`progress/1`) and the stacked bar of parts of a total (`progress_stack/1`). - [LedgerUI.Components.Radio](LedgerUI.Components.Radio.md): Single choice among visible options: `radio_group/1`, in six forms. - [LedgerUI.Components.Range](LedgerUI.Components.Range.md): Range slider: a rounded track with a round thumb, one value or a range of two. - [LedgerUI.Components.Rating](LedgerUI.Components.Rating.md): A star rating: read-only, with a fractional value and the count of reviews, or interactive, as a group of native radios; and `rating_distribution/1`, the summary with the average and a bar per grade. - [LedgerUI.Components.ScrollArea](LedgerUI.Components.ScrollArea.md): A box that scrolls with a thin scrollbar (6px, transparent track). For long menus, lists in a card, the body of a panel. The height comes from `class` or an inline `style`. - [LedgerUI.Components.Scrollspy](LedgerUI.Components.Scrollspy.md): A list of links to the sections of the page that marks the section in view. - [LedgerUI.Components.Segmented](LedgerUI.Components.Segmented.md): A segmented control: a row of toggle buttons where exactly one is chosen. - [LedgerUI.Components.Select](LedgerUI.Components.Select.md): Select: the styled native `