# tosijs-ui > Simple, robust web-components for use with tosijs or anything else. Version 1.20.1. - Docs: https://ui.tosijs.net/ - Source: https://github.com/tonioloewald/tosijs-ui - npm: https://www.npmjs.com/package/tosijs-ui Each link below is the page's markdown. Drop `index.md` from it for the HTML page, where the examples run. The whole corpus, as one markdown file: https://ui.tosijs.net/llms-full.txt Live examples run inline on the shared page by default (not sandboxed): each has its own `preview` element, but they share one tosijs module, so `tosi()` state singletons are shared across every example on a page. This is deliberate (it shows tosi isolation and lets you drive demos via the global singleton). Namespace example state with unique top-level keys so examples don't clobber each other; the `iframe` attribute isolates DOM/CSS, not state. ## Docs - [tosijs-ui — robust, standards-based web components](https://ui.tosijs.net/index.md): Standards-based web components (data tables, dialogs, forms, rich text, carousels) built on tosijs: smaller and faster than React, with no virtual DOM. ## Components - [Components](https://ui.tosijs.net/components/index.md): Custom elements for what HTML lacks or does badly: menus, selects, data tables, dialogs, tabs, code editors and more, built on web standards. - [ Babylon.js wrapper (deprecated)](https://ui.tosijs.net/babylon-3d/index.md): Deprecated: is a thin Babylon.js wrapper kept for compatibility. New 3D work should use the tosijs-3d package. - [ edge toolbars and badges](https://ui.tosijs.net/affix/index.md): attaches a toolbar, badge or caption to one edge of its content, laid out beside it rather than floated, so it never covers it. - [carousel](https://ui.tosijs.net/carousel/index.md): A minimal carousel with optional arrows and dots, several items per page, looping, and auto-advance that holds still while someone is looking. - [ CodeMirror 6 code editor](https://ui.tosijs.net/code-editor/index.md): embeds a CodeMirror 6 editor for JavaScript, TypeScript, CSS, HTML and Markdown, with undo, a diff view and a change event. - [ list-and-edit screens](https://ui.tosijs.net/crud/index.md): pairs a searchable table with a schema-driven form over a store you supply (REST, IndexedDB or an array) for list-and-edit screens. - [ modal dialogs and prompts](https://ui.tosijs.net/dialog/index.md): wraps the native element with an OK button, a footer slot, and promise-based alert, confirm and prompt helpers. - [ line-by-line text diff](https://ui.tosijs.net/diff/index.md): shows a unified, line-by-line diff between two strings, with removed and added lines marked, as in a code review. - [editable-rect](https://ui.tosijs.net/editable-rect/index.md): adds handles to an absolutely positioned element to move, resize and rotate it, with optional grid and angle snapping. - [ live code examples](https://ui.tosijs.net/component/index.md): turns code blocks into live, editable examples with a preview, a console and inline tests, in JavaScript, TypeScript, HTML or CSS. - [ draggable floating panel](https://ui.tosijs.net/float/index.md): is a minimally styled floating element that can be dragged, and that hides, stays or is removed when the window resizes. - [gamepads](https://ui.tosijs.net/gamepad/index.md): Read gamepad and WebXR controller state in a compact form (buttons, triggers, thumbsticks and touch) for games and XR scenes. - [ flex header bar](https://ui.tosijs.net/header/index.md): is a flex header bar; compose it with elastic() and spacer() to place a title, links and menus where you want them. - [SVG icon library and composition](https://ui.tosijs.net/icons/index.md): SVG icons as element creators (icons.chevronDown()), themeable with CSS variables, with a small language for composing new icons from old. - [Icon composition playground](https://ui.tosijs.net/icon-composition/index.md): Experiment with the icon composition language: stack, recolour, rotate, scale and offset icons with short suffixes on their names. - [iconSvg — icon markup without a DOM](https://ui.tosijs.net/icon-svg/index.md): iconSvg() returns an icon's SVG markup as a string and iconNames() lists them, with no DOM, for build scripts, server templates and ePubs. - [make-icon-data](https://ui.tosijs.net/make-icon-data/index.md): A build tool that turns folders of SVG files into the icon-data module behind the tosijs-ui icon system, optimizing the paths as it goes. - [, , layout](https://ui.tosijs.net/layout/index.md): , and : thin custom elements over CSS flexbox and grid for structural page layout. - [ Lottie animation player](https://ui.tosijs.net/bodymovin-player/index.md): plays Lottie (bodymovin) animations like an : set src or json, and use the bodymovin API through its animation property. - [ Mapbox GL map](https://ui.tosijs.net/mapbox/index.md): Embed an interactive Mapbox GL map as a custom element: set the token, style and coordinates as attributes, and use the map object for the rest. - [ markdown viewer](https://ui.tosijs.net/markdown-viewer/index.md): renders markdown from a src URL or from its own text, sanitizing the HTML by default, so you can show markdown anywhere on a page. - [Pop-up, nested and drop menus](https://ui.tosijs.net/menu/index.md): Pop up a menu anywhere with popMenu() or : nested submenus, icons, keyboard shortcuts, and drop menus that accept drags. - [notifications](https://ui.tosijs.net/notifications/index.md): postNotification() shows stacked toast notifications: info, success, warning, error or progress, timed or persistent, newest on top. - [ command palette](https://ui.tosijs.net/palette/index.md): is a command palette: a search field that opens a keyboard-driven modal of ranked results from sources you supply. - [pocket bar](https://ui.tosijs.net/pocket-bar/index.md): A pocket toolbar: a single icon at rest that expands into a bar of your controls on hover or tap, then tucks away again. - [popFloat](https://ui.tosijs.net/pop-float/index.md): popFloat() pops a floating element up beside a target, placing it to stay on screen, for popovers, pickers and other one-off overlays. - [schema-form](https://ui.tosijs.net/schema-form/index.md): builds an editable, validated form from a JSON Schema, keeping its value, not the inputs, as the source of truth. - [ responsive sidebar](https://ui.tosijs.net/side-nav/index.md): shows a sidebar beside the content when there is room and hides it behind a toggle on small screens, as iPad apps do. - [size-break](https://ui.tosijs.net/size-break/index.md): swaps content by available size, such as a row of buttons that becomes a menu when space runs out. - [ resize handle](https://ui.tosijs.net/sizer/index.md): adds a bottom-right resize handle to a fixed-size element, so readers can drag it to a new size. - [ resizable split](https://ui.tosijs.net/splitter/index.md): divides the space between two flex items: drag it or use the keyboard, in a row or a column, respecting each side's minimum size. - [ virtual data table](https://ui.tosijs.net/data-table/index.md): A virtual data table for very large datasets: sortable, resizable, pinnable columns inferred from the data, keyboard navigation and row detail. - [ tab panel](https://ui.tosijs.net/tab-selector/index.md): builds a tab panel from its children's name attributes, with closeable tabs and methods to add or remove tabs. - [Markdown tooltips](https://ui.tosijs.net/tooltip/index.md): Replace native title tooltips with styled ones that render markdown: call initTooltips() once, then use data-tooltip or title. ## Form Components - [Form Components](https://ui.tosijs.net/form-components/index.md): Form-associated custom elements — inputs, selects, and editors that participate in native
(and ) submission and validation. - [color input field](https://ui.tosijs.net/color-input/index.md): is a colour input that also edits opacity, so it can produce translucent colours that the native colour picker cannot. - [ query and filter builder](https://ui.tosijs.net/filter-builder/index.md): builds array filter functions from a Finder-style query editor, with extensible filter types and a state you can save as JSON. - [ forms with native validation](https://ui.tosijs.net/form/index.md): and build forms with native client-side validation and a submit callback that receives the form's values. - [ calendar and date picker](https://ui.tosijs.net/month/index.md): shows a calendar month and, when selectable, lets readers pick a date or a date range: a friendlier date picker. - [password strength](https://ui.tosijs.net/password-strength/index.md): Wrap an in to rate a password as it is typed and securely check whether it appears in known breaches. - [ star rating input](https://ui.tosijs.net/rating/index.md): is a form-associated rating input drawn with icons, with half steps, custom icons and sizes, that behaves like an . - [rich text](https://ui.tosijs.net/rich-text/index.md): is a small, extensible WYSIWYG editor with a customizable toolbar, editing its own contents or a value you set. - [search-field](https://ui.tosijs.net/search-field/index.md): suggests refinements as you type and turns them into tags, for Finder-style searches with power operators. - [segmented select](https://ui.tosijs.net/segmented/index.md): is a form-associated segmented control for choosing one value or several, with icons and labels. - [ styleable select menu](https://ui.tosijs.net/select/index.md): replaces