# LCARdS > LCARdS is a Star Trek LCARS-style card system for Home Assistant: custom Lovelace cards (button, elbow, slider, chart, data grid, select menu, layout card, alert overlay, MSD ship displays), a layout view and a shell dashboard strategy, configured in YAML, with themes, rules, data sources, animations, sounds and an alert mode. These docs describe LCARdS 2026.12.0. When writing LCARdS YAML, use only keys from the JSON Schemas below (do not invent keys), then check the result with the config checker. Every LCARdS card type is written as `type: custom:` (for example `custom:lcards-button`). ## Machine-readable - [Schema index](https://lcards.unimatrix01.ca/schema/index.json): one JSON Schema per card, view and strategy, the shared files each uses, and their sizes; load only the card you need - [Full schema bundle](https://lcards.unimatrix01.ca/lcards-schema.json): every schema in one file (about 470 KB) - [Built-in names](https://lcards.unimatrix01.ca/schema/registries.json): presets, components, animation and background presets, filters, sound assets, MSD backgrounds and theme tokens that values must match - [Config checker](https://lcards.unimatrix01.ca/tools/lcards-validate.mjs): `node lcards-validate.mjs dashboard.yaml` checks a card, view or whole dashboard (Node 20+, one file) - [All user docs in one file](https://lcards.unimatrix01.ca/llms-full.txt): getting started, configuration, cards and core as markdown - [LCARdS skill](https://lcards.unimatrix01.ca/tools/lcards-skill.zip): instructions plus all of the above in one package (Agent Skills format: Claude Code, claude.ai and other compatible tools) - [Claude Code marketplace](https://lcards.unimatrix01.ca/marketplace.json): the same skill as a Claude Code plugin (`/plugin marketplace add https://lcards.unimatrix01.ca/marketplace.json`, then `/plugin install lcards@`) - [Getting AI help](https://lcards.unimatrix01.ca/getting-started/ai-assistance.html): what to attach and a prompt template ## Getting started - [Getting AI Help](https://lcards.unimatrix01.ca/getting-started/ai-assistance.html): Get Claude to design and write LCARdS dashboards with you using the LCARdS skill: setup for Claude Code and claude.ai, what to ask, previews and checks, connecting Home Assistant with ha-mcp, and... - [Bring It to Life](https://lcards.unimatrix01.ca/getting-started/bring-it-to-life.html): Make an LCARS screen react: a status that changes colour at a threshold (rules), a smoothed live reading with its history (data sources), and a screen that follows alert mode. - [Build by Hand](https://lcards.unimatrix01.ca/getting-started/build-by-hand.html): Build an LCARS screen by hand: which LCARdS card for which job, and laying the screen out on a layout view with named areas. - [Building a Dashboard](https://lcards.unimatrix01.ca/getting-started/building-dashboards.html): Five routes to an LCARS dashboard with LCARdS: generate one from your areas, add LCARS sections to a sections dashboard, design one with Claude and the LCARdS skill, borrow a layout from a sample... - [Coming from CB-LCARS](https://lcards.unimatrix01.ca/getting-started/cb-lcars-migration.html): Moving from CB-LCARS to LCARdS: the LCARdS equivalent of each CB-LCARS card and feature, and what is new. - [Check Your Config](https://lcards.unimatrix01.ca/getting-started/config-checker.html): Paste LCARdS YAML (a card, a view or a whole dashboard) and see every unknown option, misspelt name and invalid value, with its line and a link to the docs. Runs in your browser. - [Dashboard Gallery](https://lcards.unimatrix01.ca/getting-started/dashboard-gallery.html): Sample LCARdS screens showing layouts and the LCARS look (bridge, engineering, environmental, security, alert mode, Picard-era operations and sciences screens, and ten screens built from the... - [Dashboard Strategies](https://lcards.unimatrix01.ca/getting-started/dashboard-strategies.html): Dashboard strategies: dashboards LCARdS builds for you from a few settings. Create one from Home Assistant's Add dashboard dialog, change its settings, take control to edit it. The LCARS Dashboard... - [Troubleshooting](https://lcards.unimatrix01.ca/getting-started/getting-help.html): Something not working in LCARdS? Check your config, run the health check in the LCARdS Config panel, look through common problems, then report an issue with your support info filled in. - [Installation](https://lcards.unimatrix01.ca/getting-started/installation.html): Install LCARdS from the Home Assistant Marketplace (HACS), add the integration (Home Assistant 2026.11 or newer) and set it up from the LCARdS Config panel. - [Designing LCARS Screens](https://lcards.unimatrix01.ca/getting-started/lcars-design.html): Guidelines for making a Home Assistant dashboard look like LCARS: frames, colour roles from your theme, the Picard and classic looks, motion, and the screen archetypes to start from. - [LCARS Patterns](https://lcards.unimatrix01.ca/getting-started/lcars-patterns.html): LCARS patterns to compose a screen from, each a live LCARdS card or layout card coloured by theme role: code-block columns, toggle tabs, sweeps and frames, utility pills, pill grids, gauges,... - [Live Demo](https://lcards.unimatrix01.ca/getting-started/live-demo.html): LCARdS running live, by topic: astrometrics scenes, WebGL backgrounds, grid surfaces, charts, data grids, alerts and animation, as real cards you can try. - [Preview Your YAML](https://lcards.unimatrix01.ca/getting-started/preview.html): See LCARdS YAML (a card, a view or a whole dashboard) as real cards in your browser before you paste it into Home Assistant, from pasted YAML or a preview link an AI assistant made. - [Section Strategies](https://lcards.unimatrix01.ca/getting-started/section-strategies.html): LCARS section strategies: automatic sections for Home Assistant's sections dashboards that fill themselves with LCARdS cards for an area or other target: readings, gauges and controls, in the... - [What is LCARdS?](https://lcards.unimatrix01.ca/getting-started/what-is-lcards.html): What LCARdS is: LCARS-style cards, a layout view and a shell dashboard for Home Assistant, with themes, rules, data sources, animations, sounds and alert modes, and how the pieces fit together. ## Configuration - [Configuration](https://lcards.unimatrix01.ca/configuration/): The LCARdS Config Panel: the sidebar page for helpers, alert mode colours, HA-LCARS theme profiles, sounds, the connection overlay, users and devices, content packs and stored settings. - [Alert Mode Lab](https://lcards.unimatrix01.ca/configuration/alert-mode-lab.html): The LCARdS Alert Mode Lab: tune how each alert mode recolours your dashboards (hue, strength, saturation, lightness, hue anchors, black alert contrast), preview it, and save it to helpers. - [Using LCARdS with browser_mod](https://lcards.unimatrix01.ca/configuration/browser-mod.html): Using LCARdS with browsermod: LCARdS screen effects and alerts next to browsermod popups, one-device effects, activity-gated effects, LCARdS effects from browsermod JavaScript, and which tool does... - [Connection Overlay](https://lcards.unimatrix01.ca/configuration/connectivity.html): The LCARdS connection overlay: a full-screen screen shown when a browser loses its connection to Home Assistant, as styled text, any card or the Borg assimilation, over effect layers you choose,... - [Fonts](https://lcards.unimatrix01.ca/configuration/fonts.html): Fonts in LCARdS: using a font in a card (fontfamily), adding your own font files in LCARdS Config > Fonts, the bring-your-own fonts, size and spacing, Tungsten for HA-LCARS, LCARdS fonts elsewhere... - [Home Assistant Actions](https://lcards.unimatrix01.ca/configuration/ha-actions.html): Every lcards. Home Assistant action: alert modes, screen effects, sounds, astrometrics camera and clock, portal cards, the Borg, page reload and log level, with their fields, defaults and device... - [HA-LCARS Theme Lab](https://lcards.unimatrix01.ca/configuration/ha-lcars-theme-lab.html): Build your own HA-LCARS theme profile in the LCARdS panel's HA-LCARS Theme Lab: palettes for Home Assistant's five colour roles, LCARS chrome, state colours, a live preview, and YAML to add to... - [LCARdS Theme Profiles for HA-LCARS](https://lcards.unimatrix01.ca/configuration/ha-lcars-theme-profiles.html): The two LCARdS theme profiles HA-LCARS ships (LCARdS Red Accent and Blue Accent): one palette for Home Assistant's own screens, the HA-LCARS chrome and LCARdS cards, and how their colours are mapped. - [Voice Skin Preview](https://lcards.unimatrix01.ca/configuration/kiosk-satellite/voice-skin-preview.html): Try the LCARdS Voice Skin for Kiosk Satellite live: every preset, part and colour setting, with a conversation playing, and the settings to copy to your kiosk. - [Voice Skin](https://lcards.unimatrix01.ca/configuration/kiosk-satellite/voice-skin.html): The LCARdS Voice Skin for Kiosk Satellite: an LCARS voice assistant screen with presets for full screen and docked looks, every part changeable, in your dashboard's LCARdS colours. - [Persistent Helpers](https://lcards.unimatrix01.ca/configuration/persistent-helpers.html): Every Home Assistant helper LCARdS uses (alert mode, sounds, Alert Mode Lab colours, HA-LCARS sizing) with its type, default and purpose, how to create them from the Config Panel or by hand, and... - [Sound Configuration](https://lcards.unimatrix01.ca/configuration/sounds.html): LCARdS sound configuration: the master switch and categories, sound schemes (built-in and your own), per-event sounds, per-user and per-device settings, the events that play sounds, and the... - [Users & Devices](https://lcards.unimatrix01.ca/configuration/users-devices.html): The Users & Devices tab of the LCARdS Config Panel: this browser's device name and id, the users and devices with their own settings, and how device, user and global settings combine. ## Cards - [The Fleet](https://lcards.unimatrix01.ca/cards/): Every LCARdS card at a glance (button, elbow, slider, chart, data grid, select menu, layout card, alert overlay, MSD, astrometrics) with links to each card's reference. - [Alert Overlay Card](https://lcards.unimatrix01.ca/cards/alert-overlay/): Alert overlay card: a full-screen alert symbol and backdrop, or a band across the screen, shown on every dashboard while an alert mode is raised. - [Alert Band](https://lcards.unimatrix01.ca/cards/alert-overlay/band.html): Alert overlay band (display: band): a row of dashes in the alert colour across the screen with the alert symbol in the middle, leaving the dashboard usable. - [Per-Condition Settings](https://lcards.unimatrix01.ca/cards/alert-overlay/conditions.html): Alert overlay per-condition settings: different content, symbol text, screen effects, position, size, display and timeout for red, yellow, blue, black and gray alert. - [Position and Screen Effects](https://lcards.unimatrix01.ca/cards/alert-overlay/overlay.html): Alert overlay position and screen effects: where the alert symbol sits, its width and height, and the blur, tint and canvas layers behind it. - [Raising and Dismissing](https://lcards.unimatrix01.ca/cards/alert-overlay/raising.html): Raising and dismissing LCARdS alerts: the lcards. alert actions, targeting devices and users, dismissmode and auto-dismiss timers, and screen transition effects. - [Symbol and Content](https://lcards.unimatrix01.ca/cards/alert-overlay/symbol.html): Alert overlay symbol and content: change the built-in alert symbol's text, colours and speed with alertbutton, show a message from a helper, or replace the symbol with your own card. - [Astrometrics](https://lcards.unimatrix01.ca/cards/astrometrics/): The LCARdS Astrometrics card (custom:lcards-astrometrics-card): 3D scenes in the style of the astrometrics lab and stellar cartography. Sector maps, galaxy discs, sky domes with the sun and moon,... - [Camera and Views](https://lcards.unimatrix01.ca/cards/astrometrics/camera.html): Astrometrics card camera: named views to fly between, the view the card opens on, mouse, touch and key controls, the on-card D-pad and time slider, following a moving point, limits, fly-to timing... - [Live Data](https://lcards.unimatrix01.ca/cards/astrometrics/data.html): Astrometrics card live data: points with their own entity, positions from entity attributes (a phone on a globe, the sun on a dome), label templates with sky values, settings and colours from... - [Effects](https://lcards.unimatrix01.ca/cards/astrometrics/effects.html): Astrometrics card effects in 3D: nebula clouds and gas to fly into (shapes, dust, the Badlands, the Nexus), scan bands, moving dashes and pulses, animated planet and grid fills (plasma, fluid,... - [Your Own Models](https://lcards.unimatrix01.ca/cards/astrometrics/models.html): Your own 3D models on the LCARdS Astrometrics card: put a glTF file (.glb or .gltf) in the My models folder, pick it in the Astrometrics Studio, then size, turn and label it. Where models come... - [Lines and Light](https://lcards.unimatrix01.ca/cards/astrometrics/objects/lines.html): Astrometrics card lines and light: routes (path), beams, trails behind moving points, lightning and soft glows. - [Ships and Stations](https://lcards.unimatrix01.ca/cards/astrometrics/objects/ships.html): Astrometrics card ships and stations: 3D models (built-in ships and starbases, glTF files) at real or visible size, and the Borg cube. - [Space Phenomena](https://lcards.unimatrix01.ca/cards/astrometrics/objects/space.html): Astrometrics card space phenomena: nebulae, asteroid belts, single asteroids, comets, spiral galaxies and the Crystalline Entity. - [Grids, Spheres and Volumes](https://lcards.unimatrix01.ca/cards/astrometrics/objects/surfaces.html): Astrometrics card surfaces: grids (plane, disc, dome, sphere, cylinder, wells and wormholes, deformed grids, sector maps), planets with built-in maps, territory volumes, rings and pictures (image). - [Objects](https://lcards.unimatrix01.ca/cards/astrometrics/objects.html): Astrometrics card objects: which object type to use for a planet, grid, territory, route, nebula, ship or galaxy, and the keys every object takes (placement, facing, distance). - [Points](https://lcards.unimatrix01.ca/cards/astrometrics/points.html): Astrometrics card points: named places on the plane, on a planet, in the sky, in a sector map cell or on a part of a 3D model, with labels on the LCARdS text system, markers, visibility ranges,... - [Scale](https://lcards.unimatrix01.ca/cards/astrometrics/scale.html): True scale on the LCARdS Astrometrics card: real units (km, AU, light years), a star system in its own units inside a galaxy, diving from a galaxy to a station, distances in each part's own units,... - [Scene and Looks](https://lcards.unimatrix01.ca/cards/astrometrics/scene.html): Astrometrics card scene settings: scene units, bearings and motion, the diagram and realistic looks, stars behind the scene, background animations, label defaults and styles, a header bar, what... - [Getting Started](https://lcards.unimatrix01.ca/cards/astrometrics/start.html): Getting started with the LCARdS Astrometrics card: a first card to copy, every starter scene and part with its picture, and the card's own options. - [Starters](https://lcards.unimatrix01.ca/cards/astrometrics/starters.html): Starters for the LCARdS Astrometrics card: whole scenes (galaxy, sector map, sky dome, solar system, Federation map, starbase approach) and parts (planet with moons, asteroid belt, nebula field,... - [Button Card](https://lcards.unimatrix01.ca/cards/button/): Button card: LCARS buttons, labels, panels and bar-label headers from presets, D-pads, alert symbols, bracket displays, and your own interactive SVG. - [D-pads, Alerts and Brackets](https://lcards.unimatrix01.ca/cards/button/components.html): Button card components: the D-pad and Voyager D-pad with an action per segment, bracket arcs round a reading, and the Starfleet alert symbol with condition presets switched by value (ranges). - [Custom SVG](https://lcards.unimatrix01.ca/cards/button/custom-svg.html): Button card custom SVG: draw the button from your own SVG markup or file, with every element that has an id a tappable segment with its own entity, colours and actions. - [Icons](https://lcards.unimatrix01.ca/cards/button/icons.html): Button card icons: showicon, the icon area beside the text, iconstyle (colour, size, position, rotation, padding), per-state icons and the divider. - [Button Playground](https://lcards.unimatrix01.ca/cards/button/playground.html): Edit the YAML and the card redraws as you type. Pick a starting point (a lozenge toggle, state colours, a bar-label header or a sensor readout), then change the preset, label or colours. - [Style, Text and Hover](https://lcards.unimatrix01.ca/cards/button/styles.html): Button card style: background and border colours by state, corner radius, text fields, hover effects and the cursor, CSS and SVG filters. - [Textures and Backgrounds](https://lcards.unimatrix01.ca/cards/button/textures.html): Button card textures and backgrounds: shapetexture (grids, dots, fluid, plasma, shimmer, flow, level, pulse, scanlines, image) inside the button's shape, and backgroundanimation behind it. - [Chart Card](https://lcards.unimatrix01.ca/cards/chart/): Chart card: plot Home Assistant sensors over time as lines, areas, columns, gauges, range bands and more, from entity history, long-term statistics or LCARdS data sources. - [Examples](https://lcards.unimatrix01.ca/cards/chart/examples.html): Complete chart card examples to copy: a weather panel with two Y axes, a fortnight of daily energy from statistics, a power monitor with average and peak, and a smoothed temperature from an LCARdS... - [Axes and Labels](https://lcards.unimatrix01.ca/cards/chart/labels.html): Chart card axes and labels: reference lines at fixed values, the legend, value labels, X and Y axis styling, label and tooltip formatters, the tooltip and the toolbar. - [Chart Playground](https://lcards.unimatrix01.ca/cards/chart/playground.html): Edit the YAML and the chart redraws as you type. Pick a starting point from the list, or paste a chart from your own dashboard. - [Series and Time](https://lcards.unimatrix01.ca/cards/chart/series.html): Chart card series: where the data comes from (entity history, long-term statistics, LCARdS data sources), series options, the time window, grouping into time buckets, state bands behind the... - [Styling](https://lcards.unimatrix01.ca/cards/chart/styling.html): Chart card styling: colours, lines, fills, markers, grid, fonts, ApexCharts theme, animation presets and raw ApexCharts options. - [Chart Types](https://lcards.unimatrix01.ca/cards/chart/types.html): Chart card types with examples: time charts (line, area, column, bar, scatter, heatmap), current-value charts (gauges, pie, donut, polar area, radar, treemap), timelines (states over time), range... - [Upgrading](https://lcards.unimatrix01.ca/cards/chart/upgrading.html): Chart card upgrades: how older chart configs (source, seriesnames, seriesN data sources) keep working and are converted to sources, and how apexcharts-card options map to lcards-chart. - [Common Card Properties](https://lcards.unimatrix01.ca/cards/common.html): Options every LCARdS card takes: id and tags for rules, variables for templates, height and width overrides, overflow, zindex and gridoptions. - [Data Grid Card](https://lcards.unimatrix01.ca/cards/data-grid/): Data grid card: a grid of LCARS cells, either generated values with the colour cascade or your own rows of text, entity states and templates. - [Data and Cells](https://lcards.unimatrix01.ca/cards/data-grid/data.html): Data grid card cells: decorative values, rows, what a cell can show (text, entity states, templates, data sources), cell objects, header rows, conditional colours and tap actions. - [Data Grid Playground](https://lcards.unimatrix01.ca/cards/data-grid/playground.html): Edit the YAML and the grid redraws as you type. Pick a starting point from the list, or paste a grid from your own dashboard. - [Styling and Animation](https://lcards.unimatrix01.ca/cards/data-grid/styling.html): Data grid card styling and animation: style layers from grid to cell, style keys, header rows, CSS Grid layout, the LCARS colour cascade, highlighting changed cells and filters. - [Upgrading](https://lcards.unimatrix01.ca/cards/data-grid/upgrading.html): Data grid card: older configs (random/template modes, numeric grid sizes, the animation block, cellStyles) and the current keys they become. - [Elbow Card](https://lcards.unimatrix01.ca/cards/elbow/): Elbow card: the LCARS corner bars, caps, slanted bars and frames that give a dashboard its shape, with text on the bars, actions and an optional embedded card. - [Colour, Text and Effects](https://lcards.unimatrix01.ca/cards/elbow/appearance.html): Elbow card colour, text and effects: fill colours and state maps, text on the bars and in the open area, shape textures and background animations fitted inside the bars. - [Bars and Curves](https://lcards.unimatrix01.ca/cards/elbow/bars.html): Elbow card bars and curves: simple and segmented styles, bar sizes, corner curve keywords, paired elbows, diagonal cuts and HA-LCARS theme sizes. - [Frames](https://lcards.unimatrix01.ca/cards/elbow/frame.html): Elbow card frames: type frame draws a rectangular border of two to four sides, with a thickness per side, curves per corner and an optional inner ring. - [Elbow Playground](https://lcards.unimatrix01.ca/cards/elbow/playground.html): Edit the YAML and the card redraws as you type. Pick a starting point (a header or footer elbow, or the segmented style), then change the elbow type, bar sizes or colours. - [Symbiont](https://lcards.unimatrix01.ca/cards/elbow/symbiont.html): Elbow card symbiont: embed any Home Assistant card in the elbow's open area, place and size it, and imprint colours, fonts and corner radii on it to match. - [Layout Card](https://lcards.unimatrix01.ca/cards/layout-card/): The LCARdS Layout Card (custom:lcards-layout-card): a CSS Grid of cards inside one card, with the Layout Studio visual editor. Also the replacement for custom:layout-card. - [Layout View](https://lcards.unimatrix01.ca/cards/layout-view/): Layout view: a dashboard view that is one CSS grid, built and edited in place on the dashboard, compatible with lovelace-layout-card's grid-layout. - [Main Engineering](https://lcards.unimatrix01.ca/cards/main-engineering.html): Main Engineering is a tab in every LCARdS card editor. It is a live window into the systems behind the card: its data sources, rules, theme tokens and templates, and where each of its values comes... - [MSD Card](https://lcards.unimatrix01.ca/cards/msd/): The LCARdS MSD card (custom:lcards-msd-card): a Master Systems Display. Home Assistant cards placed on a ship blueprint or floor plan, joined by routed lines, with shapes, animations and rules. - [Animations and Rules](https://lcards.unimatrix01.ca/cards/msd/animations.html): MSD card animations and rules: animate parts of the blueprint, animate a whole group of overlays with one entry, and restyle overlays, play animations and tint the blueprint with rules. - [Background and Anchors](https://lcards.unimatrix01.ca/cards/msd/background.html): MSD card background and anchors: the msd block, the base SVG blueprint and its sources, the view box, a blank canvas, named anchors, the anchors found in the blueprint, and an animated background. - [Base SVG Filters](https://lcards.unimatrix01.ca/cards/msd/base-svg-filters.html): MSD card base SVG filters: dim, blur, desaturate or tint the blueprint with CSS filters and SVG filter primitives so the overlays stand out, with recipes to copy. - [Control Overlay](https://lcards.unimatrix01.ca/cards/msd/control-overlay.html): MSD control overlay: put any Home Assistant card on the MSD canvas, place it by coordinates, anchor or another control, and connect lines to its attachment points. - [Line Overlay](https://lcards.unimatrix01.ca/cards/msd/line-overlay.html): MSD line overlay: join controls, shapes and anchors with routed lines; sides, gaps, routing modes, corners, stroke, dashes, markers and colours that follow entities. - [Manual Routing](https://lcards.unimatrix01.ca/cards/msd/manual-routing.html): MSD manual routing: draw a line through waypoints you choose, coordinates or anchor names, with a corner radius per waypoint. - [Getting Started](https://lcards.unimatrix01.ca/cards/msd/quick-start.html): Build a first MSD card in the MSD Studio without writing YAML: add the card, pick a blueprint, place a control and connect it to the ship with a line. Then a complete example to copy. - [Line Routing](https://lcards.unimatrix01.ca/cards/msd/routing.html): How MSD lines find their path: obstacles, automatic bundling, channels, crossing avoidance, routing modes, corner size, the card-wide routing settings and debugging. - [Shape Overlay](https://lcards.unimatrix01.ca/cards/msd/shape-overlay.html): MSD shape overlay: rectangles, circles and polylines for rooms, zones, walls and conduits, with fills and colours that follow entities and points lines can attach to. - [Select Menu Card](https://lcards.unimatrix01.ca/cards/select-menu/): Select menu card: an inputselect or select entity as a grid of LCARS option buttons, or a manual menu of buttons with their own actions. - [Grid and Sizing](https://lcards.unimatrix01.ca/cards/select-menu/layout.html): Select menu card grid and sizing: columns, gaps, row height and flow, how many rows the card asks for in a sections view, and the fit and 100% height modes for menus inside layouts. - [Options and Actions](https://lcards.unimatrix01.ca/cards/select-menu/options.html): Select menu card options and actions: which options show and in what order, labels, icons and per-option styles, and what tap, hold and double-tap do. - [Select Menu Playground](https://lcards.unimatrix01.ca/cards/select-menu/playground.html): Edit the YAML and the card redraws as you type. Pick a starting point (options from an inputselect, or custom labels), then change the preset or the grid. - [Styles](https://lcards.unimatrix01.ca/cards/select-menu/styles.html): Select menu card styles: background, text and border colours for selected and unselected options, the buttontemplate for any other button key, which text fields show, rules and a full example. - [Slider Card](https://lcards.unimatrix01.ca/cards/slider-card/): Slider card: interactive sliders and read-only gauges for lights, covers, fans, climate, media players and sensors, as pill bars, ruler gauges, shaped fills and ring gauges. - [Ring, Shaped and Picard](https://lcards.unimatrix01.ca/cards/slider-card/components.html): Slider card ring gauge, shaped fills and Picard gauge: angles, thickness, scale, value markers, centre text, shapes and colours. - [Control and Motion](https://lcards.unimatrix01.ca/cards/slider-card/control.html): Slider card control: what each entity domain controls, min, max and step, read-only sliders, live update while dragging, value easing (valuetween) and the drag value badge. - [Slider Playground](https://lcards.unimatrix01.ca/cards/slider-card/playground.html): Edit the YAML and the card redraws as you type. Pick a starting point (a brightness pill bar, a temperature gauge or a number level), then change the preset or the entity. - [Ranges and Markers](https://lcards.unimatrix01.ca/cards/slider-card/ranges.html): Slider card ranges: coloured value bands and live value markers with captions, on pill bars, gauges and ring gauges. - [Pills and Gauges](https://lcards.unimatrix01.ca/cards/slider-card/styles.html): Slider card pill bars and ruler gauges: track, segments, tick marks, scale labels, the value indicator, border caps and text labels. ## Core features - [Features](https://lcards.unimatrix01.ca/core/): What every LCARdS card can do (actions, colours, text, animations, sounds) and the shared services behind them (themes, rules, data sources, templates, alert mode). - [Actions](https://lcards.unimatrix01.ca/core/actions.html): LCARdS card actions: tapaction, holdaction and doubletapaction with toggle, perform-action, navigate, more-info, url and assist, plus hover effects and the cursor. - [Alert Mode](https://lcards.unimatrix01.ca/core/alert-mode.html): LCARdS alert mode: red, yellow, blue, gray and black alert recolour every dashboard at once, play the alert sound and raise the alert overlay. - [Entity Change Triggers](https://lcards.unimatrix01.ca/core/animations/entity-change-triggers.html): onentitychange animations: play when an entity changes, gate on fromstate and tostate, loop while a condition holds (while), check on load, watch an attribute such as brightnesspct, and follow a... - [Animation Preset Reference](https://lcards.unimatrix01.ca/core/animations/preset-reference.html): Every built-in animation preset, with the keys it takes and their defaults. Pick a preset with preset: on an entry in a card's animations list (Animations), and give its own keys under params. - [Rule-based Animations](https://lcards.unimatrix01.ca/core/animations/rule-based-animations.html): Rule-based animations: start animations on any number of cards when a Rules Engine rule matches, target them by id, tag, type or pattern, and stop them when it no longer matches. - [Timing and Easing](https://lcards.unimatrix01.ca/core/animations/timing-and-easing.html): Animation timing and easing: duration, delay, loops and alternate, numbers that follow an entity with maprange, anime.js v4 easing curves and springs, and reduced motion. - [Triggers](https://lcards.unimatrix01.ca/core/animations/triggers.html): Animation triggers: play an animation on a tap, double tap or hold, on hover, once on load, each time a card appears (onshow), on an entity change or on a data source update. - [Card Animations](https://lcards.unimatrix01.ca/core/animations.html): Card animations: presets that pulse, glow, slide and draw a card or parts of it, played on a tap, when a view opens, when an entity changes or from a rule. - [Borg Actions](https://lcards.unimatrix01.ca/core/borg-actions.html): The lcards.borgassimilate and lcards.borgdeassimilate actions: start and end the Borg assimilation from automations, scripts and buttons, on every browser or only some. - [Borg Assimilation](https://lcards.unimatrix01.ca/core/borg.html): Borg assimilation: an LCARdS Easter egg that turns every dashboard Borg green, swaps the font, plays a full-screen assimilation intro and keeps screen effects until you restore it. - [Attributes and Buckets](https://lcards.unimatrix01.ca/core/colours/attributes.html): LCARdS colours from entity attributes and your own state groups: rangesattribute (range keys on a light's brightness or any attribute), stateattribute (exact keys from an attribute such as... - [State Maps](https://lcards.unimatrix01.ca/core/colours/state-maps.html): LCARdS state maps: colours that follow an entity with state keys (active, inactive, unavailable, a state name), number keys (zero, above:N, between:N:M), the order they are checked in, where they... - [Colour Values](https://lcards.unimatrix01.ca/core/colours/values.html): LCARdS colour values: CSS variables, theme token paths, the colour functions alpha(), darken(), lighten(), saturate(), desaturate(), mix() and base(), and match-light. - [Colours](https://lcards.unimatrix01.ca/core/colours.html): Colours in LCARdS: every colour format a card accepts (CSS variables, theme tokens, colour functions, hex, rgb, oklch), state maps that follow an entity, attribute-driven colours and your own... - [Data Sources](https://lcards.unimatrix01.ca/core/datasources/): LCARdS data sources: follow an entity in the browser, preload its history, and run its values through named processors (smooth, scale, convertunit ...); read them as {ds:name} in templates and as... - [Processor Reference](https://lcards.unimatrix01.ca/core/datasources/processor-reference.html): Complete reference for all 12 DataSource processor types. - [Binding and Animation](https://lcards.unimatrix01.ca/core/effects/background-animations/binding-and-animation.html): Background animations that react: config values that follow an entity (maprange and templates), animating the background from triggers and rules, and which keys can move. - [Background Animation Preset Reference](https://lcards.unimatrix01.ca/core/effects/background-animations/preset-reference.html): Every built-in background animation preset, with its keys and an example. Each effect in backgroundanimation names a preset and passes that preset's own settings in its config block; the... - [Stacking and Zoom](https://lcards.unimatrix01.ca/core/effects/background-animations/stacking-and-zoom.html): Background animations: stacking several effects into one background, the zoom wrapper that turns any effect into layers zooming outward, and example backgrounds. - [Background Animations](https://lcards.unimatrix01.ca/core/effects/background-animations.html): Background animations: animated layers (grids, starfields, nebulae, a data cascade, a warp field) drawn behind button, elbow, slider, MSD and astrometrics cards, with stacking, zoom, entity... - [Filters](https://lcards.unimatrix01.ca/core/effects/filters.html): Card filters: stack CSS filters (blur, brightness, drop shadow ...) and SVG filter primitives (tint, colour matrix, turbulence ...) on a button, elbow, data grid or MSD blueprint. - [Screen Effects](https://lcards.unimatrix01.ca/core/effects/screen-effects.html): Full-screen effects over every dashboard: backdrop blur and colour filters, tints and vignettes, TV static, pixelation, glitches, scanlines and Borg assimilation, fired from an automation or the... - [Presets](https://lcards.unimatrix01.ca/core/presets.html): LCARdS style presets: apply a whole button or slider look with one preset key, every built-in preset with pictures, how presets layer under your own config, and where they come from. - [Rules Engine](https://lcards.unimatrix01.ca/core/rules/): Rules engine: restyle any LCARdS card, or a group of them, while a condition on entities, time or a template holds; play animations and tint an MSD blueprint. - [Targets and Changes](https://lcards.unimatrix01.ca/core/rules/changes.html): What a rule changes (apply): naming cards with id and tags, selectors by id, tag, type and pattern, config patches and templates in them, animations, and MSD blueprint filters. - [Rule Conditions](https://lcards.unimatrix01.ca/core/rules/conditions.html): Rule conditions (when): entity states and attributes, numeric comparisons, maprangecond, time of day, weekday, sun elevation, random chance, all/any/not, JavaScript and Jinja2 templates. - [Rule Examples](https://lcards.unimatrix01.ca/core/rules/examples.html): Rule examples to copy: a three-level temperature alert, day and night mode on an MSD, and a multi-condition climate alert with animations and a blueprint tint. - [Priority and Debugging](https://lcards.unimatrix01.ca/core/rules/priority.html): Rule priority, stop and enabled: which rule wins when several patch the same card, and how to see which rules apply now (Rules tab, Provenance tab, browser console). - [Card Sounds](https://lcards.unimatrix01.ca/core/sounds.html): LCARdS card sounds: which card events play a sound, the order a sound is chosen in, and the per-card sounds block that mutes a card or changes one event's sound. - [Card Styles](https://lcards.unimatrix01.ca/core/styles.html): The style: block on LCARdS buttons and select menu options: background and border colours by state, border width and corner radius, plus where the icon and card size are set. - [Templates](https://lcards.unimatrix01.ca/core/templates/): LCARdS templates: {entity.state} tokens, [[[ ]]] JavaScript, {{ }} Jinja2 and {ds:name} data source values; where each kind works, the order they run in, and how a card follows the entities its... - [Content and Formats](https://lcards.unimatrix01.ca/core/text-fields-content.html): What LCARdS text fields show: templates in content (tokens, JavaScript, Jinja2, data sources), literal text with template: false, and displayformat for entity states (friendly, raw, parts, unit). - [Placing Text](https://lcards.unimatrix01.ca/core/text-fields-placement.html): Placing LCARdS text fields: the nine named positions, padding from the zone edges, exact pixel or percent coordinates, alignment and rotation. - [Fonts, Colour and Backgrounds](https://lcards.unimatrix01.ca/core/text-fields-style.html): Styling LCARdS text fields: font keys, sizing text to fill its zone (fontsizepercent, capheightratio, stretch), fitting long text into it (fit), colour by entity state, and the background box... - [Zones](https://lcards.unimatrix01.ca/core/text-fields-zones.html): Text field zones: the named areas each LCARdS card has (button, elbow, slider), routing a field to a zone, your own zones in px or percent, and the debugzones outlines. - [Text Fields](https://lcards.unimatrix01.ca/core/text-fields.html): Text fields on the button, elbow and slider cards: any number of named labels, each placed in a zone and styled on its own, with shared defaults in text.default. - [Themes](https://lcards.unimatrix01.ca/core/themes/): LCARdS themes: theme:colors.ui.primary style tokens, the token namespaces, and the --lcards- colour palette every page gets, with its shade scale. ## Optional - [Architecture](https://lcards.unimatrix01.ca/architecture/): How LCARdS is built: the Home Assistant integration, the frontend bundle, the core singletons and the cards on top of them. These pages are written for contributors and checked against the code;... - [Animation System](https://lcards.unimatrix01.ca/architecture/animations/): How an animations: entry or a rule animation becomes an anime.js v4 animation: who fires each trigger, where scopes live, and which files to read. Reference: Animation Manager (scopes,... - [Astrometrics Card Architecture](https://lcards.unimatrix01.ca/architecture/astrometrics.html): custom:lcards-astrometrics-card: a 3D scene (grids, volumes, globes, orbits, routes, nebulae, models) with DOM labels on named points, rendered on demand with three.js through the page's one... - [Card Foundation](https://lcards.unimatrix01.ca/architecture/cards/lcards-card-foundation.html): The base classes every LCARdS card is built on: LCARdSNativeCard (the Home Assistant card contract) and LCARdSCard (core singletons, config processing, templates, entities, actions, rules and... - [Chart Pipeline](https://lcards.unimatrix01.ca/architecture/charts.html): Internal architecture of lcards-chart: how sources[] become an ApexCharts chart that follows Home Assistant history live. - [Home Assistant Integration Architecture](https://lcards.unimatrix01.ca/architecture/ha-integration.html): LCARdS ships as a HACS integration (customcomponents/lcards/). This page is the Python-side view: how the integration boots, what it registers in Home Assistant (static paths, WebSocket commands,... - [Internals](https://lcards.unimatrix01.ca/architecture/internals/): This section documents lower-level implementation details under the core subsystems and the card foundation. You rarely need to touch this code directly, but it helps when debugging unexpected... - [Background Animation System Architecture](https://lcards.unimatrix01.ca/architecture/internals/background-animation-system.html): Canvas2D and WebGL (three.js) rendering for animated card backgrounds - [Datasource Buffer Structure](https://lcards.unimatrix01.ca/architecture/internals/datasource-buffers.html): Datasources use a buffer structure with main buffers and processor buffers. - [Home Assistant Entity Display Utility (src/utils/ha-entity-display.js)](https://lcards.unimatrix01.ca/architecture/internals/ha-entity-display.html): Single source of truth for all Home Assistant i18n/locale-aware formatting in LCARdS. - [Home Assistant Services: Implementation Notes](https://lcards.unimatrix01.ca/architecture/internals/ha-services.html): Architecture reference: how the lcards. actions are registered, validated and delivered. For what each action does, with YAML and automation examples, see the Home Assistant Actions user guide. - [Shape Texture System](https://lcards.unimatrix01.ca/architecture/internals/shape-texture-system.html): The shapetexture feature renders a Canvas2D texture or animation inside the button or elbow shape boundary. It sits alongside the existing backgroundanimation canvas system: - [Persistent Storage](https://lcards.unimatrix01.ca/architecture/internals/storage.html): LCARdS keeps its settings in a persistent key/value store on Home Assistant's homeassistant.helpers.storage.Store. The file lives in the Home Assistant config directory, outside customcomponents/,... - [Layout View and Layout Card](https://lcards.unimatrix01.ca/architecture/layout-view.html): LCARdS has one CSS Grid layout engine with three front ends: - [MSD Rendering Pipeline](https://lcards.unimatrix01.ca/architecture/msd/): Internal architecture of the lcards-msd-card: how config becomes a rendered Master Systems Display. - [Routing Engine (RouterCore)](https://lcards.unimatrix01.ca/architecture/msd/routing.html): src/msd/routing/RouterCore.js is the pathfinding engine behind every MSD line: one instance per MSD card, shared by all line overlays on that card. It decides each line's viewBox-space geometry:... - [Shell Strategy](https://lcards.unimatrix01.ca/architecture/shell-strategy.html): custom:lcars-shell: a Home Assistant dashboard strategy that generates a complete LCARS shell (frame, sidebars, header and footer, content panel) as one custom:lcards-layout-view, built from... - [Core Subsystems](https://lcards.unimatrix01.ca/architecture/subsystems/): LCARdS exposes a set of singleton services on window.lcards.core.. window.lcards.core is the LCARdSCore instance itself (src/lcards-main.js assigns window.lcards.core = lcardsCore), so every... - [Action Handler](https://lcards.unimatrix01.ca/architecture/subsystems/action-handler.html): Per card (card.actionHandler): Gesture listeners, Home Assistant action dispatch, card sounds and animation triggers for card elements. - [Animation Manager](https://lcards.unimatrix01.ca/architecture/subsystems/animation-manager.html): window.lcards.core.animationManager: the one anime.js v4 (4.5.0) coordinator for card, segment and MSD overlay animations. Source: src/core/animation/ (AnimationManager.js, TriggerManager.js,... - [Asset Manager](https://lcards.unimatrix01.ca/architecture/subsystems/asset-manager.html): window.lcards.core.assetManager: named asset registries (SVG, image, model, font, audio), lazy loading and caching. - [Borg Assimilation](https://lcards.unimatrix01.ca/architecture/subsystems/borg-assimilation.html): Singleton: window.lcards.core.borgAssimilationManager Class: BorgAssimilationManager (src/core/borg/BorgAssimilationManager.js), extends BaseService Console API: window.lcards.borg.... - [Component Manager](https://lcards.unimatrix01.ca/architecture/subsystems/component-manager.html): window.lcards.core.componentManager: registry of structural component definitions for the button (component mode), slider and elbow cards. - [Config Manager](https://lcards.unimatrix01.ca/architecture/subsystems/config-manager.html): window.lcards.core.configManager: turns a card's raw YAML config into the merged config the card renders from, with provenance and schema validation. - [Connection Overlay System](https://lcards.unimatrix01.ca/architecture/subsystems/connection-overlay.html): Singleton: window.lcards.core.connectionOverlayService Console API: window.lcards.connectionOverlay. Source: src/core/services/ConnectionOverlayService.js Config UI: LCARdS Config Panel →... - [DataSource System](https://lcards.unimatrix01.ca/architecture/subsystems/datasource-system.html): window.lcards.core.dataSourceManager: Named entity data buffers with history and processing pipelines. - [Device Identity Manager](https://lcards.unimatrix01.ca/architecture/subsystems/device-identity.html): Subsystem: window.lcards.core.deviceIdentityManager Class: DeviceIdentityManager (src/core/services/DeviceIdentityManager.js, extends BaseService) - [Helper Manager](https://lcards.unimatrix01.ca/architecture/subsystems/helper-manager.html): window.lcards.core.helperManager: Lifecycle management for the Home Assistant helper entities LCARdS uses. - [Integration Service](https://lcards.unimatrix01.ca/architecture/subsystems/integration-service.html): window.lcards.core.integrationService: Backend availability probe, capability flags, global storage convenience API and the push channel from the Python actions. - [Kiosk Satellite Bridge](https://lcards.unimatrix01.ca/architecture/subsystems/kiosk-satellite-bridge.html): Subsystem: window.lcards.core.kioskSatelliteBridge Class: KioskSatelliteBridge (src/core/services/KioskSatelliteBridge.js, extends BaseService) Backend: customcomponents/lcards/palette.py,... - [LCARdS Pack System](https://lcards.unimatrix01.ca/architecture/subsystems/pack-system.html): How packs are structured, loaded and distributed to the core registries. Follow this page to add a pack, a component type or a new asset kind. - [Portal Overlay Manager](https://lcards.unimatrix01.ca/architecture/subsystems/portal-overlay-manager.html): Singleton: window.lcards.core.portalOverlayManager Class: PortalOverlayManager (src/core/services/PortalOverlayManager.js), extends BaseService Consumers: lcards-alert-overlay,... - [Rules Engine](https://lcards.unimatrix01.ca/architecture/subsystems/rules-engine.html): window.lcards.core.rulesManager: one shared engine that evaluates every rule on the page and hands each card the patches, animations and base SVG updates of the rules that match. - [Scoped Settings Service](https://lcards.unimatrix01.ca/architecture/subsystems/scoped-settings.html): Subsystem: window.lcards.core.scopedSettingsService Class: ScopedSettingsService (src/core/services/ScopedSettingsService.js, extends BaseService) Requires: the LCARdS integration, advertising the... - [Screen Effect System](https://lcards.unimatrix01.ca/architecture/subsystems/screen-effects.html): Singleton: window.lcards.core.screenEffectManager Console API: window.lcards.screenEffect. (src/lcards-main.js:752-829) Source: src/core/screen-effects/ (ScreenEffectManager.js,... - [Sound System Architecture](https://lcards.unimatrix01.ca/architecture/subsystems/sound-system.html): UI audio coordination for LCARdS: window.lcards.core.soundManager - [Style Preset Manager](https://lcards.unimatrix01.ca/architecture/subsystems/style-preset-manager.html): window.lcards.core.stylePresetManager: registry of named style presets (button and slider) from packs. - [Systems Manager](https://lcards.unimatrix01.ca/architecture/subsystems/systems-manager.html): window.lcards.core.systemsManager: shared entity state cache, per-entity change callbacks, card registry and the overlay registry the rules engine targets. - [Template System](https://lcards.unimatrix01.ca/architecture/subsystems/template-system.html): Unified template evaluation for all LCARdS cards and text fields. There is no singleton: evaluators are created per use. - [Theme System](https://lcards.unimatrix01.ca/architecture/subsystems/theme-system.html): window.lcards.core.themeManager: token-based theming, scoped token overrides and alert-mode palette transforms. - [Validation Service](https://lcards.unimatrix01.ca/architecture/subsystems/validation-service.html): Config schema validation for all LCARdS card types: window.lcards.core.validationService - [Systems Architecture](https://lcards.unimatrix01.ca/architecture/systems-arch.html): How the pieces fit at runtime: the Python integration, the one JavaScript bundle it loads into every Home Assistant page, the core singletons on window.lcards.core, and the cards, view and... - [Developer Guide](https://lcards.unimatrix01.ca/development/): Documentation for developers working on LCARdS itself: adding cards, options, editors, packs and core services, and the APIs they use. Everything lives in one repository and ships as one bundle,... - [Adding a Card Option](https://lcards.unimatrix01.ca/development/adding-a-card-option.html): A card option (a YAML key) lives in up to eight places: the schema, the runtime that reads it, the editor, the docs example and table, the published schema, the config checker's registries, and... - [Adding a Core Service](https://lcards.unimatrix01.ca/development/adding-a-core-service.html): A core service is a singleton the whole page shares: one instance, created by LCARdSCore at startup, reachable as window.lcards.core., fed the Home Assistant object by the core. Add one when... - [Animation API](https://lcards.unimatrix01.ca/development/anim-api.html): Pack and card developer reference for window.lcards.anim, the LCARdS interface to anime.js v4. - [Assets & SVG API](https://lcards.unimatrix01.ca/development/assets-api.html): Pack and card developer reference for font loading, SVG caching, and SVG utility helpers. - [Backend API](https://lcards.unimatrix01.ca/development/backend-api.html): Developer reference for calling the LCARdS integration from browser code (cards, core services, the config panel): every lcards/ WebSocket command with its fields, who may call it, what it returns... - [Building a Pack](https://lcards.unimatrix01.ca/development/building-a-pack.html): A pack is a plain JavaScript object that bundles content for the LCARdS registries: style presets, components, themes, rules, sounds and sound schemes, SVG backgrounds, fonts, images and 3D... - [Building a Studio Editor](https://lcards.unimatrix01.ca/development/building-an-editor.html): A studio is a full-size Home Assistant dialog with a config panel on the left and a live preview on the right. LCARdS uses one for every card whose config is too big for a form: MSD, chart, data... - [Colour Resolution: Developer Guide](https://lcards.unimatrix01.ca/development/colour-resolution.html): Every LCARdS colour goes through one grammar and one resolver. This page says which call to use in which context, so a colour that works in one card works in all of them. - [Building a Custom Card](https://lcards.unimatrix01.ca/development/custom-card.html): This guide walks through adding a new card to LCARdS: the class, the schema, the registration in src/lcards-main.js, the editor hook-up, the build and the checks that guard each step. It is the... - [Debug API](https://lcards.unimatrix01.ca/development/debug-api.html): Browser console tools for LCARdS development: the log level, the window.lcards.debug. namespaces, and the other console APIs on window.lcards. Everything here is set up by the bundle on every Home... - [Home Assistant CSS Variable Reference](https://lcards.unimatrix01.ca/development/ha-css-vars.html): Home Assistant 2026.11 or later. LCARdS refuses to load on anything older (MINHAVERSION in customcomponents/lcards/const.py:9), so every variable on this page is available to LCARdS code. Values... - [Helpers API - Developer Guide](https://lcards.unimatrix01.ca/development/helpers-api.html): How the LCARdS helper system is built and how to use and extend it: the Home Assistant helper entities (inputselect, inputboolean, inputnumber, inputtext, plus one template sensor) behind alert... - [Testing](https://lcards.unimatrix01.ca/development/testing.html): LCARdS has five test layers, from fast node tests to smoke tests against a real Home Assistant. This page says what each layer is for, how it is set up and which one a change needs. The commands,... - [Type Checking: Developer Guide](https://lcards.unimatrix01.ca/development/typescript.html): LCARdS is written in plain JavaScript, and TypeScript checks it. Nothing is compiled: tsc reads the .js files and their JSDoc comments, reports mistakes and writes no output. The Vite build...