Everything you need to build with styloviz
Each component ships with a live demo, copy-paste usage, an auto-generated API reference, plus customization and accessibility notes. Pick a component from the sidebar or start below.
Install in seconds
Free components install straight from public npm. Pro installs from the styloviz registry using your license key as the npm token — no account, no login. Choose Pro in step 1 for the two .npmrc lines and the install command.
Install
$ npm install @styloviz/all Installs every free component plus @styloviz/core, the shared theming and services layer.
Needs Angular 21 or 22 and Node.js the Angular CLI accepts: Angular 21 on Node.js 20 (20.19 or later), 22 (22.12 or later) or 24 and later; Angular 22 on Node.js 22 (22.22.3 or later), 24 (24.15 or later) or 26 and later. On an older one the Angular CLI stops with a Node.js version error.
Install only what you use
$ npm install @styloviz/button @styloviz/badge Every package is standalone and tree-shakeable, so cherry-picking keeps your bundle smaller. Each one lists its own peer dependencies in its README.
Peer dependencies & which bundle is which
Most components also need @styloviz/core, the shared theming and services layer, and @styloviz/icons when they draw a glyph — each package's README lists its exact peers. Likewise a few Pro packages peer-depend on free ones: Gantt needs @styloviz/modal and @styloviz/input-field. npm installs peers automatically; on pnpm and yarn, add them yourself.
@styloviz/all- Dependency-only bundle: the whole free tier, including core.
@styloviz-pro/all- Every Pro component and the whole free tier, in one install.
@styloviz/pro- Re-exports the Pro components, which it lists as peer dependencies rather than bundling them. Easy to confuse with the bundle above — most projects want @styloviz-pro/all.
Set up the styles
required · Tailwind CSS 4Shortcut:ng add @styloviz/core does this step for you — Tailwind 4 and its PostCSS config, the stylesheet lines below and provideStyloviz() — and adds a /styloviz demo page to delete once it renders. It then narrows the @source lines to the kit files your app uses; after you import another kit component, run ng g @styloviz/core:sources again (in development, the console says when).
In your global stylesheet (usually src/styles.css), import the kit's design tokens and tell Tailwind to scan the installed packages — it skips node_modules otherwise, and the components would render unstyled.
No Tailwind in the project yet? Add it and its PostCSS plugin first; the Angular CLI reads .postcssrc.json from the project root.
npm i -D tailwindcss @tailwindcss/postcss postcss
# .postcssrc.json, in the project root
{ "plugins": { "@tailwindcss/postcss": {} } }@import "tailwindcss";
@import "@styloviz/core/styles/styloviz.css";
/* Tailwind skips node_modules — scan the Styloviz packages. */
@source "../node_modules/@styloviz";
@source "../node_modules/@styloviz-pro"; /* Pro only */ The stylesheet ships in @styloviz/core — install it if your packages did not pull it in. Dark mode is class-based: put class="dark" on <html>, or inject ThemeService from @styloviz/core and call toggleTheme(). To rebrand, redeclare any token after the import — e.g. @theme { --color-primary-600: #0f766e; }.
The font is yours to choose. The kit sets no typeface: components use Tailwind's --font-sans, so an app renders in the system font until you set one. The look on this site is Manrope (variable, SIL Open Font License), served from the app itself, never a font CDN. A template download has the files: copy its public/fonts/ into yours, keep the license file with them, and add one rule per subset from its src/styles-fonts.css, or just the Latin one:
/* the files from a template download's public/fonts/ */
@font-face {
font-family: "Manrope";
font-style: normal;
font-weight: 200 800;
font-display: swap;
src: url("/fonts/manrope-latin.woff2") format("woff2-variations");
}
@theme {
--font-sans: "Manrope", "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
} The two @source lines scan every installed Styloviz package, used or not — with the whole kit installed, that stylesheet alone is over Angular's default 500 kB initial budget warning. Once your app imports what it uses, replace them with one line per kit file it reaches (ng add already did this), and run it again after you import another kit component:
ng g @styloviz/core:sourcesHow the list works, keeping it current in CI, and the measured sizes: Stylesheet size and budgets →
Use it
standalone · no NgModuleWithout ng add, register the kit in your app config.provideStyloviz() sets the colour scheme a visitor sees before choosing one: 'system' (the default, following the operating system), 'light' or 'dark'. Components work without it; ThemeService then follows the system.
// src/app/app.config.ts
import { type ApplicationConfig } from '@angular/core';
import { provideStyloviz } from '@styloviz/core';
export const appConfig: ApplicationConfig = {
providers: [provideStyloviz({ colorScheme: 'system' })],
};import { SvGanttChartComponent, type GanttChartTask } from '@styloviz-pro/gantt';
@Component({
selector: 'app-roadmap',
standalone: true,
imports: [SvGanttChartComponent],
template: `<sv-gantt-chart [tasks]="tasks" />`,
})
export class RoadmapComponent {
readonly tasks: GanttChartTask[] = [];
}Icons you name are registered once, in the app config. A component draws its own glyphs, but one you pass by name (icon="plus") appears only after provideSvIcons([plusIcon]), imported from @styloviz/icons/glyph/plus — or provideSvIcons(svAllIcons) from @styloviz/icons to start with every free glyph. An unregistered name warns in the console with the line to add. Icon library →
Kit warnings go through one switch. Everything the kit writes to the console is prefixed [styloviz], and provideSvDiagnostics({ silent: true }) from @styloviz/core silences all of it — or pass a handler to send it to your error tracker instead. In development, a kit component whose file Tailwind did not scan says so there too, with the command that rewrites your @source lines; styleCheck: false turns off just that check.
Have a Pro license? Log in to unlock more.
Use the Log in with key button at the top right and enter your license key to preview Pro component source code right here in the docs, and to download any of the 24 Pro templates as a runnable Angular project. Don't have a key yet? See pricing →
Your key also unlocks the private support repo — bug reports, feature requests and direct help from the maintainer. Claim access at support.styloviz.dev →
Questions, ideas, or a bug in a free package? Ask in the public community at styloviz/community → — every component page also has a comment thread at the bottom.
Foundations
2 components185 original glyphs on a 24px grid, drawn by name through one component once registered, or imported per icon. Only the glyphs you register or import ship. currentColor throughout, so an icon inherits its text colour in light and dark mode. Pro adds 514 more glyphs and the `sharp` and `duotone` weights.
Motion for any glyph in the kit — 27 presets plus a curated default per icon, driven by the Web Animations API with no CSS file and no animation library. Five triggers (hover, click, in-view, mount, manual) and `prefers-reduced-motion` honoured before anything plays.
Forms & Inputs
38 components · plus 4 variants10 variants × 6 styles × 5 sizes × 3 shapes — solid, outline, soft, ghost, link and gradient with loading states and icon support.
Single- and multi-line inputs with validation states, icons, addons, hints and character counting.
Single, multi-select, grouped and searchable dropdown with rich option rendering.
Accessible toggle for boolean settings in multiple sizes, colors and label positions.
Accessible checkboxes with 5 variants, 3 sizes, indeterminate state and ControlValueAccessor support.
Radio group with default, card and button-group styles. ControlValueAccessor for reactive forms.
Range slider with single-value and dual-handle range mode, tick marks and step control.
Numeric input with increment/decrement controls, prefix/suffix, min/max clamping and decimal precision.
7 semantic variants × 3 visual styles. Supports avatar, icon, selectable and removable modes.
Button-style file uploader with type/size constraints and progress; the drag-and-drop dropzone and compact variants are in the Pro package.
Command-palette style search with suggestions, filters and loading states.
Full-featured contenteditable editor with a configurable 35-tool toolbar — fonts, colors, alignment, lists and checklists, link/table/code, emoji, undo/redo, export, source view, fullscreen and word count.
A find & replace bar for one rich text editor — matches across formatting, never across paragraphs, painted without touching the document; replace all is one undo step.
A live table of contents for one rich text editor — headings down to a level, the current one marked, a click scrolls there; no ids are written into the document.
Comment threads anchored to passages of a rich text editor — the anchor travels with the document, replies and resolutions are outputs, and a thread whose text was deleted says so.
A Markdown source editor on a native textarea — undo, IME, spellcheck and phone keyboards intact — with a toolbar that wraps and unwraps (heading, bold, italic, strikethrough, code, link, quote, bulleted / numbered / task lists, code block, table), Ctrl/Cmd+B/I/K, list-aware Enter and Tab, write / preview / split views with synced scroll, paste-to-link and HTML-to-Markdown paste. The preview is the kit’s safe renderer, so nothing typed can become markup.
A button that fills a form from text on the clipboard — an email signature, a contact card, a support ticket, a `Label: value` list. A resolver maps the text to field values (your AI gateway behind your own endpoint, or the built-in reader that runs on the device), and the answer is checked and typed against your field list before `(filled)` emits it: unknown keys dropped, numbers, booleans and dates coerced, select values held to their options.
A native textarea with inline completion: a suggestion appears in grey after the caret, Tab takes it, Ctrl/Cmd+→ takes a word, Escape dismisses it. Your completer supplies the text — a phrase list on the device, or a model behind your own endpoint — with requests debounced and aborted as the user types on. A ControlValueAccessor and validator with `required` and a character limit.
Custom calendar picker with month/year navigation, today indicator, min/max constraints and day/month/year views.
9 multi-select tag-input variants: default (free) plus avatar, grouped, creatable, colors, token limit, async search, inline and overflow (Pro).
HSV gradient canvas picker with hue rail, alpha channel, hex input, preset swatches and 3 sizes.
A visual cron / schedule builder: every N minutes, hourly, daily, weekly and monthly modes on a segmented control, or a Custom field for any five-field expression, validated as you type. A plain-language preview ("Every weekday at 09:00") and the next runs in any time zone. The value is the normalised expression; the parse, format, describe and next-runs helpers are exported.
The list of what is wrong at the top of a long form, with a way into each field — including the ones a collapsed group or a wizard step is currently hiding.
A set of chips that belongs to something — one tab stop for the whole row, arrows between members, and a name for the thing they are members of.
Edit one field where it is displayed — a value that reads as text until you click it, then becomes an input, then goes back. Text, textarea and select modes, with a save lifecycle that keeps the draft when the write fails.
4, 5 and 6-digit OTP/PIN inputs with auto-advance, paste support, arrow-key navigation, mask mode and status variants.
A dependency-free password guidance meter that pairs alongside any text input — a segmented bar, a strength band, and up to three suggestions. Length carries three of the four points and character variety adds the fourth, so a passphrase outranks a short password stuffed with symbols. It advises and never blocks: a heuristic run in the browser cannot measure how guessable a password is, so the only real evidence — a breach lookup — comes in as an input the host owns.
A phone number field with a country selector (local flag assets, no remote images) that masks the NATIONAL number against a per-country numbering plan — the country code stays in the picker, where it is already shown. The bundled plans are a best effort rather than an authority: numbering plans change more often than a release cycle, so the length check is a hint and `plans` lets a host supply its own.
Sign with a finger, a pen or a mouse. The signature is held as STROKES rather than pixels, so it survives a resize, undo removes a mark rather than a point, and export refuses to hand back a blank image from a pad nobody signed.
A CSV import in four steps — upload or paste, match columns to your fields, review every row, import the valid ones. The file is read and checked in slices, so 10,000 rows never freeze the page; each bad cell is marked with an icon and its message, an error summary jumps to it, and the rows that failed download as a CSV. The save is yours, through a promise or a resolve / reject request.
Star, heart, fire and thumb rating variants with half-star support, hover preview and 4 sizes.
An in-app survey: Net Promoter Score (0–10), CSAT (1–5 stars) or one question of your own, as a native radio group with an optional follow-up comment whose prompt follows the NPS band, then a thank-you with an optional follow-up action. As a card, inline, or a floating corner panel. It emits a typed response; saving it is yours.
5 style variants (default, pills, underline, bordered, swatch) with badge and icon support, full-width mode and two-way binding.
12h/24h scroll-column time picker with hour/minute/second wheels, AM/PM selector, Now button and 3 sizes.
8 built-in mask presets (phone, credit card, date, time, SSN, ZIP, IP) plus custom patterns, with 3 visual variants.
Searchable dropdown with grouping, sublabels, icons, disabled options, custom option rows, async search, keyboard navigation and query highlighting.
Hierarchical picker in a body-portalled tree panel: single or multi-select, an ancestor-preserving filter with debounced server search, full keyboard control through aria-activedescendant, ControlValueAccessor support, and the loading / error / empty states inside the panel.
Renders a form from a JSON schema — conditional visibility, per-field validation, and a payload with hidden fields pruned out. The three things it exists for are the three a schema form silently gets wrong: a hidden field whose value is still submitted, a required field in a hidden branch that blocks the form with nothing on screen to fix, and a schema whose own mistakes never surface because it came from a database rather than a compiler.
Multi-level cascading select for hierarchical data (e.g. Country → State → City) with searchable mode, hover/click expand triggers, partial-path selection, multi-select with removable chips, async lazy-loaded children and full keyboard navigation.
Contenteditable input with @mention autocomplete — a cursor-anchored suggestion dropdown, keyboard navigation and styled mention chips. Supports single- or multi-line entry and multi-trigger mode (@ people, # topics, / commands).
Semantic fieldset wrapper for grouping related form fields, with vertical/horizontal layout, bordered or filled variants, fused edges and an optional collapsible toggle.
A primary action button fused to a chevron dropdown of secondary actions — composed from Button, the fused Input Group and Dropdown Menu, not a new control built from scratch.
Data Display
56 components · plus 9 variantsKPI metric cards with sparklines, trend chips and four layout variants.
Dark-first KPI card with a gradient hairline border, ambient accent glow, gradient icon token and an inline gradient sparkline.
The data table's `responsive="records"`: a table that becomes a list of records when there is no room to be a table. Below the breakpoint the markup stops claiming to be a table and becomes a list of real <dl> label/value pairs — the structure HTML already has for this — with sorting, selection and row actions rebuilt rather than lost, and nothing dropped.
Sortable, paginated table with row selection, badge cells and a loading skeleton — plus a search toolbar, column filters, inline editing, expandable rows and bulk actions. Pro adds the spreadsheet half: cell ranges with copy, paste and a fill handle, Find, column bands, merged cells, row numbers and a cell context menu — and `svGridAssist`, which asks the table for a view in plain words and shows the answer in the filter builder.
List patterns: default, checklist, nested tree, virtualized, grouped, template cards, call history and infinite scrolling — and swipe actions on rows, with an Actions button that reaches them without a swipe.
A stack of avatars with a limit: the rest collapse into a "+N" chip whose accessible name says who it hides, and the stack is a list named for the group.
User avatar with initials fallback, status indicator, size and shape variants.
Compact status and category labels with 8 tone variants and 3 visual styles.
9 variations: horizontal, alternate zigzag, numbered stepper, check stepper, activity feed, status tracker, rich card, date-grouped and interactive (clickable rows).
Portfolio roadmaps with command bus, undo/redo, drag & drop, dependency engine, a computed critical path (real forward/backward pass, total float in days, all four link types with lag), baselines, resource leveling, MS Project XML import/export and row virtualization.
Each person's load per day, week or month against their capacity — over-capacity bars red and hatched, the figures in a hidden table.
Cumulative planned work against work earned, up to the data date — the schedule variance a steering committee asks about.
Cross-tab summarization with a field configurator reachable by drag OR by keyboard — dimensions, six aggregators, expand/collapse subtotals, sort-by-measure, top-N filter, a cardinality guard, Excel/PDF export that matches the grid cell for cell, and server-side aggregation.
Nested AND/OR condition builder — add/remove rules and groups, typed operators per field (string / number / date / enum / boolean), a serializable JSON expression out and import of a saved one back in, and a debounced queryChange output that pairs with a data-table's server-side filtering.
8 variants: sprint board, CRM pipeline, helpdesk, compact, swimlanes, collapsible columns, rich headers and fixed-header scrolling.
A compact editor for one card — title, description, priority, due date, assignees — that edits a draft and emits the patch.
The card summary shown beside a hovered or focused card by `svKanbanCardPreview` — description, due date, priority, people, labels, subtasks.
Search and sort for a board, remembered between visits; `svKanbanApplyView` does the filtering.
8 variants: collapsible tree, file explorer, tri-state checkboxes, org chart, tree table, searchable, drag & drop reordering and lazy load. Lazy loading, the tree-table columns and drag & drop reordering are Pro (`sv-tree-view-pro`); the free component renders the nodes you give it. Both draw as an indented list or, with `layout="org"`, as a top-down org chart of boxes joined by connector lines.
8 color-palette variants with interactive tooltips, shape options, stats badges and full dark-mode support.
A dashboard grid that lays out YOUR widgets — ordered, hideable, reorderable by keyboard, one arrangement per width, layout persisted — with eight ready compositions to start from and your own template inside any card.
Image carousel with optional autoplay — slide, fade, card or coverflow, horizontal or vertical, one slide or a row of cards — with dots, lines, numbers or thumbnails, prev/next arrows and a slide counter.
Grid, masonry, strip and product-viewer layouts with a lightbox viewer, keyboard navigation and selectable mode.
Native HTML5 drag-and-drop reorderable list with priority badges, keyboard move alternatives and item removal.
Month, week, day, agenda and year views (plus a planner week time-grid) with color-coded event chips, keyboard navigation, a today highlight and opt-in drag-to-create. Recurring series are expanded by the calendar itself from an RFC 5545 RRULE, with EXDATE and moved occurrences; an event dialog edits one occurrence, the rest of a series or all of it; a calendar `timeZone` converts each event from its own; `.ics` files import and export. Emits the visible date range so you fetch only what is on screen, and `view` / `focusedDate` are two-way bindable for deep links. `sv-scheduler`, in the same package, shows the same events against resources.
Resources against time: rooms, people or equipment in rows (timeline day, week and month) or columns (resource day), grouped into collapsible trees. Bookings sit in lanes so a double booking is never hidden; working hours are shaded and blocked time hatched; `overlapRule` warns about or prevents double bookings. Drag, tap or press Enter on free time to book it — the booking rules answer first, by name. With `editable`, a booking drags to another time, day or resource and its end edge drags to resize, or moves from the keyboard (Space, arrows, Space); every drop asks the same rules as the edit dialog, then the host's `canMoveEvent`, and is refused out loud when either says no. Every booking is at least a 24 px target, however short. Same `CalendarEvent`s as `sv-event-calendar`, recurring series and zones included.
An appointment picker: a strip of days, each with how many times are free, the free times of the chosen day, a duration and a time zone. Every time is judged by the scheduler's own `svCheckSlot` with double-booking refused, so a public bookings page and the diary behind it never disagree. Working hours, blocked time (lunch, a ward round), a buffer around each booking, minimum notice, resources and daylight-saving changeovers are all honoured; the value carries the business's wall time and the UTC instants.
Micro-chart small enough to live in a table cell, list row or stat card. Four encodings — line, area, bar and win/loss — with optional smoothing, last-point and extreme markers, a dashed reference baseline and a pinnable domain. Pure SVG, zero dependencies.
Read-only source display with a zero-dependency highlighter for 9 languages. Four variants — block, multi-file tabs, diff (unified or split with per-hunk accept/reject) and terminal — plus streaming-safe rendering, line numbers, soft wrap, line highlighting, copy-to-clipboard, and a render cap for files too long to draw in full.
A terminal for logs and for typing. Feed it an append-only `lines` stream (a build, a deploy, an agent's tool run) and it renders the ANSI colour subset — SGR 30–37, 90–97 and bold — as styled spans from the kit's tokens, never as markup; follows new output only while you are at the bottom, pausing with a "jump to latest" button and a count when you scroll up; copies the whole scrollback as plain text; and keeps the newest `maxLines`. Add a command registry and it becomes a shell with history, Tab completion and a real `<input>` prompt — and nothing typed is ever evaluated.
A project's files and folders: a free-set glyph chosen from each name (folders, TypeScript, images, archives, spreadsheets, SQL, lockfiles, `package.json`, Dockerfiles, `.env`), folders sorted first in natural order, git-style badges, expand / collapse, single selection and a `fileOpen` output. It is `sv-tree-view` underneath, so the WAI-ARIA tree keyboard, the single tab stop, type-ahead and the loading / error / empty states are the tree's own.
Compare two versions of a text, or read a unified patch: unified or split view, both line numbers, a visible `+` / `−` on every changed line and an `sr-only` "Added:" / "Removed:" (never colour alone), long unchanged runs folded behind "Show N unchanged lines", the changed words highlighted inside a changed line, CRLF and LF treated alike, a lost final newline shown, and a size cap that says so instead of freezing the tab. `svLineDiff()` is exported; the engine is the kit's shared one in `@styloviz/core`.
A readable error. Pass an `Error` or the text of a stack trace and it shows the name and message, then function, file, line and column for each frame — parsed from V8 (Chrome, Edge, Node), SpiderMonkey (Firefox), JavaScriptCore (Safari) and generic `file:line:col` traces. Runs of library frames (`node_modules`, Node internals, bundler runtimes, native code) fold behind one "Show N library frames" toggle each, so your own frames are on screen; frames can emit `frameClick`; copy takes the original text. `svParseStackTrace()` is exported.
Threaded comment display with depth-limited nested replies, an inline reply box, emoji reactions, relative timestamps and an avatar/initials fallback.
Dual-list transfer widget for moving items between a source and target panel, with per-panel search, check-all and move-all controls, and rows you can drag from one panel to the other.
Code 128, EAN-13 and EAN-8 rendered as SVG from a real encoder: mod-103 and mod-10 check characters computed rather than trusted, EAN-13's leading digit carried in the left-half parity, subset-C packing so a long serial fits the label, spec quiet zones, and a module width snapped to whole device pixels. Refuses to draw what cannot scan, and says why.
Crop, with the parts that silently corrupt the result handled: EXIF orientation, the browser's canvas ceiling, and a quality setting PNG ignores. An image cropper fails by producing a picture rather than an error, so it reports what the crop will actually produce rather than what was selected.
A before/after wipe that admits when it is not one: it measures both images' intrinsic sizes and says so when their aspect ratios disagree, because then part of what the reader sees as "the change" is the crop. Operated as a real ARIA slider — arrows, page keys, Home and End.
Self-contained canvas QR encoder with no external dependencies. Supports error-correction levels L/M/Q/H, an optional center logo, custom colors and PNG download.
Renders N items then collapses the overflow into a "+N more" badge, chip or text indicator — with an optional dropdown listing the hidden items and automatic width-based overflow.
Safe Markdown renderer built for token-by-token output. Renders a parsed token model through Angular bindings — no innerHTML and no bypassSecurityTrust, so untrusted content can never become markup. Headings, lists (incl. tasks), tables with alignment, blockquotes and inline emphasis; fenced code delegates to sv-code-block.
Media card with a configurable image position (top/left/right), four aspect ratios, gradient overlay, badge and content/action projection slots.
Key–value list for the detail panel of a record — real <dl>/<dt>/<dd> semantics, 1–4 responsive columns with per-item span, horizontal or vertical layouts, and a value that is missing told apart from one that is blank.
Expandable tree over any value — the panel a webhook inspector, an admin tool or a debug drawer needs. Tells NaN from null, a Map from an empty object and a cycle from a shared reference. Masks secrets in the value as well as on screen, lists accessors without invoking them, discloses the own properties `Object.entries` silently drops, holds a total row ceiling rather than only a per-container one, and carries a full tree keyboard model with copy-path and copy-value.
Text truncation using CSS line-clamp with ResizeObserver overflow detection, an optional gradient fade and an animated Show more / Show less toggle.
File attachment item with a MIME-type-aware icon badge, formatted size, upload progress, success/error status and download/remove actions — in card, row or compact layouts.
Responsive CSS Grid container for arbitrary tiles — auto-fill or fixed columns, configurable gap and minimum column width, an optional uniform aspect ratio and masonry progressive enhancement.
Locale-aware money formatting with an optional compare-at price and an auto-calculated discount, shown as a badge or inline text. Minor units are scaled by the currency rather than by a hardcoded 100, the rounding rule is stated rather than implied, and ranges, credits and a stated tax basis are first-class.
Subscription plans as cards or a feature-by-plan comparison table, with a monthly / annual toggle. Each plan carries one monthly figure: the annual price, the invoice actually charged, the cash saved and the "save at least N %" are derived from it and one discount, so the page can never advertise a saving it does not give. The highlighted plan is badged in text, quote-only and free plans are first-class, and CTA links are checked for a safe scheme.
A public status / uptime page for a SaaS product: an overall banner derived from the components and active incidents, each component's current state and a 90-day uptime bar with "99.98% uptime over 90 days", active incidents with their update timeline, scheduled maintenance and a day-grouped incident history. Read-only; every state is a word and an icon as well as a colour, and every date and time is formatted with `Intl` in your locale and time zone.
An audit / activity log: who changed what, when, and from what to what. The events are an interactive `sv-timeline`, newest first; the open one shows its facts (when, actor, action, resource, request context) as `sv-descriptions`, its field changes as a before → after table, each long, multi-line or structured value as an `sv-diff-viewer` line diff, and the raw record in a collapsed `sv-json-viewer`. A sensitive field is listed as changed and never printed. Filters by actor, action, resource and changed field use the shipped `sv-select-dropdown`, client-side or reported to your API; the filtered list downloads as CSV or JSON, built in the browser.
Roles × capabilities, each cell Allow, Deny or Inherit. A role can extend another, and a grant on a capability group covers what is inside it, so an Inherit cell shows the value it ends up with and where from ("via Viewer", "via Billing") — dashed rather than solid, and said in words. Group rows roll up All / None / "2 of 4" through the kit's tri-state ancestry and toggle everything inside them, never a locked cell; locks on a role, a capability or one cell carry their reason. It is a WAI-ARIA treegrid (a grid when no capability nests) with one tab stop, a sticky header row and first column in a named scroll region, row and column bulk actions, search, and a draft: changed cells are marked, a summary lists each change with Revert, and Save / Discard hand the decision to the host, which owns persistence.
Kit chrome around a native `<video>` or `<audio>`: play / pause, a seek slider that speaks the time, volume and mute, playback speed, WebVTT captions and subtitles, full screen and picture in picture where the browser has them, and a playlist with previous / next that moves on when an item ends. One ARIA toolbar with a single tab stop, shortcuts scoped to the player, safe source URLs, a playback-error state with Try again, and the loading / error / empty states for the playlist. It never starts with sound.
A speech transcript: speaker-labelled segments with timestamps, interim (still-changing) text drawn apart from final text, the line under the playhead highlighted, timestamps that seek a linked player, search with highlighted and counted matches, and copy / download as plain text or WebVTT. Live mode announces each new final line politely — never interim text — and follows the latest line until the reader scrolls up. Loading, error, empty and no-results states.
Choose a microphone and, where the browser can route sound, a speaker. The permission states are said in words — checking, not asked yet (with the button that asks), blocked (with how to re-allow it and Check again), an insecure page, an unsupported browser — and a Web Audio level meter tests the input. Device lists follow `devicechange` live, and a chosen device that is unplugged falls back to the system default. It never opens the microphone on render, is SSR-safe, and feature-detects everything.
Commerce product card composing price and rating with a wishlist toggle, badge, colour swatches, add-to-cart and an out-of-stock state. Grid and list layouts.
Real-estate listing card — pageable photo strip with the real gallery count, status ribbon, price with derived price-per-area, a beds/baths/parking/area row that keeps zero and unknown apart, amenity chips, save and compare toggles and an agent line. Grid, list and wide layouts.
Cart / checkout totals panel that renders the server quote verbatim and badges any locally-derived total as an estimate. Shipping / tax / discount rows, inclusive-tax mode, arbitrary extra lines, and content slots for a coupon field and checkout button. All arithmetic runs on integer minor units, so the visible rows always add up to the visible total.
A single cart row: image, title, variant, quantity stepper and a computed line total, with remove and save-for-later actions. Bursts of quantity clicks settle into one write, which rolls back if the server rejects it. Stock caps the stepper rather than only hinting, and a price that moved since the item went into the cart says so. Default and compact densities.
A saved address — label, default / shipping-billing badges, and edit / remove / set-default actions — plus a companion sv-address-form whose field list comes from the country rather than the template: labels, order and required-ness are all data, so a UK address submits without a county and a Hong Kong one renders no postal code at all. Verification is a six-state enum that never blocks submit, and removing the default address asks where the badge goes next. Cards support a selectable (radio) mode for checkout address pickers.
A payment-card visual that updates live as the user types: auto-detects the brand from the number, formats the digits (incl. Amex 4-6-5), and flips to the back for the CVC. Display-only — the number and CVC are masked by default, and it never collects or transmits card data. Five gradient themes.
A gift-card / e-gift visual: a locale-formatted denomination or remaining balance, a redeemable code that is masked, gated behind the host's own authorization and re-hidden on a timer, plus redeemed / void / expired states, a zone-aware expiry, recipient, sender and an optional greeting. Five gradient themes with a decorative ribbon and shimmer.
A faceted filter panel for product listings: collapsible groups for checkbox lists, color swatches, star ratings and a price range, with per-option counts, a live active-filter chip row and a one-click clear-all. Selection is exposed through two-way selected / price models and a consolidated change output.
A native `<kbd>` wrapper for rendering keyboard shortcuts and hint keys, with three visual variants and two sizes so every shortcut hint in the kit shares one styled source instead of one-off utility classes.
Reaction button with 4 icon variants (heart, thumbs-up, star, clap), burst particle animation on toggle, and an optimistic count that rolls back when the write fails. 3 sizes.
Charts
19 components · plus 7 variantsPure-SVG grouped bar chart with vertical/horizontal orientation and animated bars.
12 variants: line, spline, step, dashed, custom animation, inversed, zones, multi-colored, stacked and 100% stacked, plus trend lines and strip lines (free and Pro). A missing reading is drawn as a break in the line, not as a zero. Pure SVG.
The Pro pie chart drawn as a ring — `variant="donut"` — with the total (or your own text) in the hole and the hovered slice read out there, plus a gradient ring (`sv-gradient-donut-chart`) with per-slice radial gradients and a staggered entrance.
5 variants: the default pie, plus four in Pro — donut (`variant="donut"`), variable radius, custom legend template and smart labels. Optional largest-first ordering and long-tail grouping into a single Other slice. Pure SVG with entrance animations and hover effects.
Distribution of a sample: five bin-width rules, count / density / cumulative measures, an optional kernel density curve, a rug, and mean / median / quantile markers. The rule that shaped the picture is always stated. Pure SVG.
Open/high/low/close sessions on an ordinal axis, with direction carried by the body fill as well as the colour, an optional volume pane and a logarithmic price scale. Pure SVG.
Candles with a range navigator and preset ranges, a volume pane, SMA / EMA / Bollinger overlays and an RSI or MACD pane. Indicators are computed over the whole history and every value is in the table. Pure SVG.
X/Y scatter with a third dimension carried by the bubble size. Multi-series, animated scale-in entrance, hover and keyboard selection. Pure SVG.
Stage funnel and hierarchy pyramid. Width is the value and every band is the same height, which the chart states under the plot — the area of a band is not its value. Pure SVG.
Independent left and right y-axes with bars and lines on either. Both scales and their ranges are stated under the plot, because each axis fills the full height and the crossing point is an artefact of that. Pure SVG.
Area and line series on a date-time category axis, with day / month / year zoom levels. Labels take the application locale; a bare YYYY-MM-DD is read as a calendar day in local time rather than as UTC midnight. Pure SVG.
Multi-series radar/spider chart with configurable axes, fill/stroke mode, dot markers, level grid and auto-positioned labels. States under the plot when the spokes are on different scales, and that the shape depends on the order of the axes. Pure SVG.
Half-circle gauge with colored range bands, animated progress arc, needle, tick marks, an optional target notch and configurable min/max. The active band and the distance to the target are written out, not left to colour. Pure SVG.
Multi-series scatter plot with data-driven axes, hexagonal density binning above 2,000 points, a canvas paint path above 1,200, hover tooltip and legend.
Flow diagram with reproducible column layout, cubic-bezier flow paths, width-proportional links and hover tooltip. Cyclic graphs are ranked rather than collapsed, and any flow it cannot draw is named under the diagram. Pure SVG.
Value-per-region map. Equal-area projection by default, quantile / equal-interval / threshold class breaks, an explicit no-data fill and legend entry, a hatch for figures the host flags as estimates, and one tab stop with arrow-key navigation. Bring your own GeoJSON or TopoJSON — adapters and a simplifier are included. Pure SVG.
Points of interest on a projected map, over an optional base layer of shapes. Markers that would overlap merge into one pin that states its own count, so the map never shows fewer things than it has. Shares the choropleth's projections and fitting. Pure SVG.
Squarified treemap with 4 visual variants (`flat`, `gradient`, `outlined`, `nested`). Supports nested data. Pure SVG.
Featured measure against a comparative target and qualitative bands, horizontal or vertical, on a shared or per-row scale. Pure SVG.
Distribution chart with Tukey 1.5×IQR whiskers, outlier dots, an optional mean marker, raw-samples or server-computed summaries, and a value axis that is deliberately not zero-based. Pure SVG.
Concentric progress rings, one per track, with per-track scales, a configurable sweep and start angle, a centre readout and a legend. States under the plot what concentric arcs cannot be read for, and marks any track past the end of its scale. Pure SVG.
Nightingale rose / polar area chart with area-proportional (√) or linear radius scaling, padded wedges, labelled grid rings and a configurable start angle. Pure SVG.
Row × column heatmap with 4 variants (default, calendar, blocks, glow), 9 color schemes (viridis, magma and cividis sampled from the published colormaps, plus six single-hue ramps), a no-jump tooltip and ambient hover glow. Pure CSS.
2 orientations with floating bars, dashed connectors, increase/decrease/total color-coding, data labels, tooltips and per-bar entrance animations. Pure SVG.
The treemap’s radial sibling on the same `TreemapNode` data: rings by depth, arc angle by share of the parent, click or Enter to zoom into a branch and a centre button to zoom out. Pure SVG.
A network of nodes and links in two layouts — a deterministic force layout and a chord diagram — with neighbour highlighting, one-tab-stop keyboard roving and a link table. In-house layouts, no dependencies. Pure SVG.
Overlays & Feedback
20 components · plus 2 variantsLinear progress with indeterminate, striped, animated and glow modes across 6 variants and 4 sizes.
Circular SVG progress indicator in xs–xl sizes with default, gradient, dashed and glow variants and a custom label slot.
Loading indicators in 4 styles (border, dots, pulse, bars), 5 sizes, 7 color variants and an optional fullscreen overlay.
Hover/click/focus/long-press tooltip with 12 placements, rich title · description · keys content, nine looks, tooltip groups, a controlled open, anchors and three animations — and a Pro twin that can be hovered, focused and follows the cursor.
Dismissible alert banners in 5 semantic variants and multiple display styles.
Imperative toast stack with 4 variants, 6 anchor positions, action callbacks and an auto-dismiss timer.
6 variants: dropdown, drawer, inline, activity feed, compact and grouped — with mark-as-read, dismiss, search, tab filtering and inline actions.
Dialog overlay with 6 semantic variants, 7 sizes, bottom-sheet & loading states, slot-based projection, focus trap and ESC/backdrop close.
Slide-over panel from any edge with 6 semantic variants, 6 sizes, overlay/push modes, built-in variant-styled footer actions, loading & non-modal states, and ESC/backdrop close.
Anchored panel with 7 variants, 8 auto-flipping placements, an optional pointer arrow, click/hover/manual triggers, and header/subtitle/close.
The application menu bar — File · Edit · View. One tab stop with a roving tabindex; Down, Enter or Space opens a menu with its first item highlighted (Up with its last); Left/Right between menus carries the open menu along; Home and End move along the bar when closed and through the items of the open menu when open; hover switches only once something is open; and first-letter type-ahead. The panels are Dropdown Menu, so portalling, flipping and the in-panel keyboard model are shared rather than copied.
Action menu with checkbox/radio items, 2 themes, 3 sizes, groups, descriptions, badges, header/footer slots, type-ahead keyboard nav and auto-flipping placement.
The right-click context menu built on Dropdown Menu — same items, theming and keyboard nav, opened at the cursor via `triggerMode="contextmenu"` or the public `openAt(x, y)` method instead of a click-toggled trigger.
Focused confirmation modal with 6 variants, 3 sizes and three icon styles, a type-to-confirm guard, an acknowledge checkbox, a countdown or press-and-hold confirm, a reason field, single-button acknowledge mode, loading state, custom labels and async support.
Spotlight-style launcher with four looks, 3 sizes, fuzzy search, ⌘K shortcut, grouped results, nested pages, per-command actions, a preview pane, prefix scopes, pinned and suggested commands, an Ask AI fallback, query highlighting, recent history, async/remote loading, disabled commands and keyboard navigation.
8 onboarding variants: modal (free) plus slideshow, tooltip, spotlight, beacon, checklist, progress steps and announcement (Pro). Portal-based overlay with keyboard navigation.
Loading placeholders with wave/pulse animations and preset layouts.
Full-page or inline empty states with icons or illustrations, titles and action buttons — dashed, ghost-preview and glow variants, five sizes, an onboarding checklist, a search echo with suggestions, and a reason (no data, no results, error, no access) that picks the right copy.
Success / error / warning / info / empty result pages with semantic SVG icons, a title, description and content/action projection slots.
A GDPR / ePrivacy cookie banner: a bottom banner, a corner card or a modal dialog, "Reject all" exactly as prominent as "Accept all", per-category native switches with nothing optional pre-ticked, and a consent record — the choices, an ISO timestamp and your policy version — for you to store and hand back.
A setup checklist for a new account or workspace: a progress ring and "3 of 5 done", a native checkbox and a link or button per step, optional steps that say they do not count toward completion, and a `completed` event when the last required step is done. The steps — and whether each is done — stay yours.
The phone's bottom sheet of choices for the thing you just tapped: a WAI-ARIA menu of actions with icons and second lines, destructive and disabled choices, and a separate Cancel. A choice, Cancel, Escape, a tap on the dimmed page and a swipe down all close it, and focus goes back to whatever opened it.
Navigation
11 components · plus 1 variant4 visual variants, 5 separator styles, a sibling-page dropdown switcher, badges, disabled crumbs, collapsible middle crumbs, a loading skeleton, and full keyboard support.
6 visual styles (underline, pills, boxed, lifted, border-card, unstyled), dismissible, icon-only and scrollable tabs with arrows, vertical layout, URL sync, keyboard navigation and lazy panels.
Smart page-window with ellipsis, a page-size selector, jump-to-page, a load-more variant, server-driven loading, 4 variants and 3 sizes.
9 variants — eight wizard styles (default, pill, minimal, icon, dot, line, card, progress-bar) plus a non-interactive tracker — all free, in four sizes (xs–lg) and both orientations. The Pro package adds a timeline with a content panel per step, a circular ring, completed-step summaries, linear wizard mode, guard rules and telemetry.
Default, flush, separated and filled styles, single- or multi-expand, icon placements, badges & subtitles and disabled items. Sizes (sm / md / lg), multi-expand, CSS-grid animation and keyboard navigation are free; the separated card style is in the Pro package.
The reusable half of a dashboard sidebar: grouped items, click-to-expand sub-navigation with an active trail, a collapsed rail and a mobile drawer — with no router dependency and no brand welded in. Bring your own header and footer. Pro adds rail flyouts, search, pinning, tones, floating and inset appearances and a resizable width.
Back and Up as two different controls, because they are two different promises: back is history and may leave the site, up is hierarchy and is always defined. A back control with nothing behind it goes up rather than dead-ending, and says which it did.
Compact navigation as a single native select: grouped destinations, the current one shown, and the platform picker on touch. The small form of a tab strip or an anchor rail.
Multi-column dropdown header navigation. Top-level items link directly or open a mega panel: columns of links (headings, descriptions, badges, icons), a tabbed panel, a two-pane cascade or an icon grid, with featured cards, a footer bar and in-panel search. Opens on hover or click, with a hover corridor, animated panel and keyboard support.
The current workspace of a multi-tenant dashboard and the one place it changes. A body-portalled panel lists favourite and recent workspaces and every workspace grouped by organization, with a search across all of them, a favourite star per row, locked workspaces that say why, and Create / Manage actions. The switch itself is an explicit state: a pick sets `switchingTo`, the trigger goes busy and announces it, and the host commits by setting `currentId` — so the old tenant's data never stays on screen under the new tenant's name.
An "on this page" navigation list that tracks scroll position with an IntersectionObserver and smooth-scrolls to a section on click. Vertical (side-rail) and horizontal (pill-row) layouts, nested and collapsible sections, outline numbers, a sliding marker and reading progress. Pro adds a sticky underline bar and an outline written from the article's headings.
The phone app bar: three to five destinations as real links with an icon and a label, aria-current on the page you are on, 48 px targets, count badges and dots, padded clear of the home indicator with env(safe-area-inset-bottom). Fixed (with its height reserved), sticky in a scroller, or static; hidden from a breakpoint up. The same MenuItem model as the sidebar, and no router dependency.
Layout & Utilities
15 componentsThe frame of a dashboard: a collapsible sidebar, a top bar, the page and a footer — slot-based, with the collapsed and mobile-overlay state shared by the parts without a single binding.
5 visual variants (default, glass, bordered, elevated, ghost) and 3 sizes, with grouped action buttons, separators and an actionClick output.
Horizontal and vertical resizable panels with a drag handle, collapsible sides, a two-way splitAt model and optional layout persistence.
Floating action button with up/down/left/right expand directions, a custom action list, pulse animation, tooltip labels and viewport-aware positioning that auto-flips and clamps so the menu never leaves the screen.
Fixed scroll-progress ring overlay with circle/rounded/pill shapes, four appearances (solid, glass, gradient, outline) and a configurable show threshold.
Horizontal and vertical dividers with solid/dashed/dotted/gradient/text/icon variants and start/center/end alignment.
Copy button in inline, block and icon-only variants with success feedback, the async Clipboard API and an execCommand fallback for older browsers.
Animated height expand/collapse container using pure JS measurement (no @angular/animations) with lazy content rendering and accessible aria-hidden handling.
Animated count-up display with easing functions, IntersectionObserver start-on-view, prefix/suffix, thousands separator, decimal precision, auto-fit (scales down so large values never overflow) and reduced-motion support. Variants: `count`, `odometer` (rolling reels) and `scramble`; `format="currency"` formats through Intl.
A styled scrollbar drawn over a genuinely scrolling element — never in place of one. Minimum grabbable thumb with the track arithmetic corrected for it, click-to-page on the track, and edge fades that are the only affordance a hidden scrollbar leaves.
Pin an element while the page scrolls, with the placeholder that stops the jump. Optional container boundary so a pinned sidebar parks at the end of its section instead of floating over the footer.
A repeating overlay tiled from the ROTATED bounding box, so the marks neither collide nor gap at an angle. Staggered rows, an opacity band that says which way it is wrong, and a signature a host can compare against to detect tampering.
Multi-column marketing / commerce footer: a brand block (logo, tagline, socials), configurable link columns, an optional newsletter signup, and a bottom bar with copyright, legal links and payment chips. Default, minimal and always-dark variants.
A scrolling region that refreshes when pulled down from the top on a touch screen. The pull starts only at the top and only downward — every other touch stays a native scroll, through passive listeners — with an indicator that moves by transform alone, a Refresh button for the keyboard and screen readers, and "Refreshing…" / "Updated" announced. The bare `svPullToRefresh` directive draws no indicator, for your own.
A macOS-style launcher bar on any edge of its container. The item under the pointer and its neighbours grow — by transform only: each control scales from the centre of its edge and the items slide apart by the room they took, so nothing is laid out again and a target never shrinks — and the swell follows keyboard focus too. An APG toolbar with one tab stop and arrow keys along the dock (in the order the eye sees under RTL); items are real links through the link adapter, with aria-current on the current page, or buttons; badges, disabled items, labels on hover and focus, and no magnification under reduced motion.
AI Components
28 components4 chat variants: fullscreen assistant, floating widget, embedded panel and compact sidebar — with streaming indicators, tool/function-call cards, file attachments, copyable code blocks and markdown-ready messages.
5 variants: `feed` (priority-ordered list), `grid` (confidence-ring cards), `inline` (single featured insight), `panel` (detailed insight with evidence) and `anomaly` (the baseline behind each claim) — with confidence provenance, evidence links, trend arrows, sparklines and action buttons.
5 variants: overview KPI grid, timeline (cost trend), per-model breakdown (donut + bars), budgets, and tenant / key / user attribution — for LLM usage and cost analysis.
4 variants: `feed` (filterable event feed with opt-in step replay), `timeline`, `compact` (dense table with expandable rows) and `trace` (span waterfall with a step-detail panel). Tracks agent runs, tool calls, LLM steps and retrieval operations. Events are shown in arrival order, clock skew is reported rather than re-sorted, and every variant caps its rows and says when it has.
5 variants: grid card gallery, list view, template editor, picker modal and playground (two templates side by side on one set of variables) — with variable injection, token counter, usage stats, category filter and version history.
5 variants: dropdown picker, card grid, side-by-side comparison, settings panel and routing policy — with provider badges, capability tags and latency/cost/context indicators.
6 variants: overview dashboard, source management, ingestion pipeline, health monitoring, chunk inspector and retrieval view — with index stats, sync progress, pipeline stages, an alert list, and opt-in file upload that adds and indexes new sources.
5 variants: canvas node graph, list step editor, template gallery, run history and run debugger — with a column-layout DAG, enable/disable toggles, category filter and execution logs. Sized for up to about 50 nodes across about 10 columns (not enforced, not virtualised); chains, fan-out, fan-in and loops are supported, nesting is not — a subworkflow node is one opaque step.
Inbox for work an agent is doing on its own: queued, running, done. Progress derived from a plan that checks itself off, an ETA extrapolated from observed pace, and cancel or retry per task. Four variants — inbox, compact, grouped and detail.
Registry for the tools and MCP servers an agent is connected to. Connection lifecycle and health, credential expiry, per-tool parameter schemas, usage and error rates, a scope permission matrix and a recent call log. Four variants — grid, table, permissions and detail.
Human-in-the-loop gate for an action an agent proposes but has not taken. Editable arguments, a risk level that arms destructive actions, a diff of what will change, a cost estimate, an expiry countdown and always-allow memory. Four variants — inline, modal, inbox queue and policy record.
Reasoning-summary display for a reasoning model. Streams token by token, stays open while the model thinks, then collapses itself to a summary chip the moment it finishes — the lifecycle that separates it from a timeline. Four variants: inline chip, numbered steps, streaming and nested. Per-step kind, status, latency, tokens and attributed confidence; sub-thoughts render recursively; content goes through sv-streaming-markdown so nothing reaches the DOM as markup. `[disclosure]` governs what a viewer may see, and a step’s verbatim provider reasoning is off unless asked for by name.
Inspector for the tool / function calls an agent makes. 4 variants: compact one-line pills, expanded disclosure, streaming (arguments filling in) and error (message, stack trace and retry) — with per-call latency and token attribution, and recursive sub-calls.
5 variants: summary (semicircle gauge + breakdown + KPIs), topics (stacked sentiment bars), timeline (SVG area + volume), feed (filter pills + source badges + score bars) and aspects (sentiment per subject — what is loved and what is hated).
5 variants: toolbar (actions + readability stats + live editor), tone picker with preview, suggestions (accept/reject rewrite cards), history (revision timeline with diff) and inline (a toolbar anchored to the selection).
Numbered citations attached to an answer, with the coverage strip that names the passages nothing supports. 3 variants: inline chips, source cards and a side panel.
Starter prompts for an empty conversation, or follow-ups under an answer — as a list, a two-column grid or wrapping chips.
The row of actions under a chat message — copy that confirms only once the clipboard write lands, thumbs up / down and regenerate — with a slot for a timestamp or token count.
The message composer of an AI chat: a growing text box with send / stop, attachments under a policy, `/` commands, a model picker, a mic toggle and a slot for your own tools.
A searchable conversation history grouped by recency — pinned, today, yesterday, the last seven days, older — with rename, pin and delete per row.
A floating row of actions over text the reader selects — quote it, ask about it, explain it — with a keyboard path for read-only text.
A voice turn with a level meter driven by measured amplitude, interim-vs-final transcript rendering, and barge-in as a real transition. 3 variants: button, transcript and call.
Two eval runs compared honestly: pass rates with their intervals, the cases that actually flipped, and a delta that stays grey when the sample cannot support it. 3 variants: summary, compare and cases.
Renders agent-emitted A2UI (v0.9) with Styloviz components: the basic catalog and a dashboard catalog, JSON-Pointer data binding written back as the user edits, catalog functions for validation and formatting, and actions sent back to the agent. Nothing the agent streams ever executes.
Safety policy as an operating surface: the rules, what they caught, and the answer the policy actually produced. 3 variants: rules, feed and redaction preview.
Conversation and generated document side by side, with a revision history that records why each version says what it says. 3 variants: split, focus and history.
A 2D projection of an embedding space with clusters and lasso selection, drawn without inviting the false reading every t-SNE plot invites. 3 variants: scatter, clusters and selection.
The AI pack's privacy contract, on screen: what is masked, what is deliberately not, which rules do not compile, whether content can be unmasked, copied or sent to analytics — and what a policy let through when run against real prompts, transcripts and tool arguments. 4 variants: policy, scan, retention and surfaces.