Mixins / API

foldkit-mixins-ui

foldkit-mixins-ui — published slot contracts and mixin adapters for @foldkit/ui. Components still lay out their own markup through toView; each adapter's toView hands it the bundles with attached Mixins applied, and resolve applies them to bundles already in hand.

Namespaces

Accordion
Alert
Anchor@foldkit/ui's anchor positioning as a Mount and a Behavior, and the top layer around an anchored panel: the floating element is placed against the button…
AngleSlider
AppShell
AspectRatio
Avatar
Badge
Breadcrumb
BreadcrumbMenu
BundlesEach stateful widget's init and update packaged for foldkit-bundle, one file apiece and re-exported by name, so a page reading Bundles.TagsInput keeps that…
Button
ButtonGroup
Calendar
Card
Carousel
CascadeSelect
Chart
ChatMessage
Checkbox
CheckboxGroup
CodeBlock
ColorPicker
Combobox
ComboboxViewForked combobox views: the single and multi variants over the shared transcription in ./comboboxShared.js. Each create binds the upstream bundle for the…
Command
DatePicker
DatePickerViewA DatePicker view with the consumer toView seam @foldkit/ui/datePicker does not expose. State, Messages, update, Commands, and helpers stay upstream; only…
Dialog
Disclosure
DrawerA Drawer: a panel docked to the bottom of the screen that peeks or opens, beside the page rather than over it. Nothing is trapped, dimmed or locked: the…
Empty
Field
Fieldset
Figure
FileDrop
FileInput
FileUpload
FileUploadProgress
FileUploadSort
FloatingPanel
Frame
HoverIntent
Icon
IconsAttribute-dispatched mask icons: mechanisms, not components. An element shows the icon its attribute names, drawn from --icon over the text's color. Where…
Image
ImageCropper
Input
InputCopy
Item
Kbd
Label
Listbox
ListboxViewForked listbox views: the single and multi variants over the shared transcription in ./listboxShared.js. Each create binds the upstream bundle for the…
Marquee
MenuA menu, opened by a button or at a point (a context menu), whose rows may open submenus, in three layers, each built on the one before.
Menubar
MenuViewA Menu view with the consumer toView seam @foldkit/ui/menu lacks. State, Messages, update, Commands, and Mounts stay upstream (imported from…
MessageScroller
Meter
Nav
NumberField
OtpField
Pagination
PasswordInput
PatternsAn accessibility pattern per adapted widget with an ARIA contract: the slots a widget of that kind must publish, with the capability, events and attributes…
PickerA picker that is a dropdown on a desktop and a bottom sheet on a phone: one control, one Model and one set of Messages whatever the width. The application…
Popover
Progress
QrCode
Questionnaire
RadioGroup
Rating
RecipesShipped recipes for the slot contracts this package publishes. Each is a Style.recipeFor over those slots, so an application selects variants as a view's…
Resizable
ScrollArea
SearchField
Segmented
Select
Separator
SheetA Sheet: a dialog pinned to an edge of the viewport, which its handle drags between resting points and, past the last, away, after vaul's Drawer. It is…
Sidebar
SignaturePad
Skeleton
Slider
Spinner
Steps
Switch
Table
Tabs
TagsInput
Textarea
ThinkingIndicator
ThinkingSteps
Timer
ToastToasts, in two layers.
ToastViewA Toast view with the consumer toView seam @foldkit/ui/toast does not expose. State, Messages, update, Commands, Mounts, and subscriptions stay upstream:…
Toolbar
Tooltip
TouchTouch targets: mechanisms, not components. No slots, no views: compose these into an application's own slots.
Tour
TreeView
Typography
VirtualList
WindowListA virtual list that scrolls with the window: it draws the rows in view of the document's viewport, and spacers as tall as the rest, so a list of thousands…

Functions

Values

AccordionSlotsAn accordion: sections whose headings each show and hide their panel, as the APG accordion pattern has it. Each trigger is a button in a heading, with…
AlertSlotsAn alert publishes its regions as slots; it owns no state. Shown or dismissed is the application's: onDismiss asks, and the next view leaves the alert out.…
AngleSliderSlotsA dial after Zag's angle slider: a value in degrees, 0 at the top and growing clockwise, chosen by dragging a thumb around the control or by the keys. The…
AppShellSlotsAn application's page frame: a skip link, a header bar, an optional side column, the main region and a footer. It places what it is given and owns nothing…
AspectRatioSlotsA fixed-ratio frame publishes one slot; it owns no state, messages, or bundles. The ratio is the recipe's, so a stylist can change it.
AvatarGroupSlotsA group publishes its frame; each avatar in it is an AvatarSlots avatar, and the count of those left out is one more, so it takes the same size and shape.…
AvatarSlotsAn avatar publishes its regions as slots; it owns no state, messages, or bundles. The picture stacks over the fallback initials, so the initials show while…
BadgeSlotsA status pill publishes the pill, the box its icon stands in and the button that dismisses it; it owns no state, messages, or bundles. The pill reads its…
BreadcrumbSlotsA breadcrumb trail publishes its regions as slots; it owns no state, messages, or bundles. The trail is a navigation landmark with an ordered list; the…
ButtonGroupSlotsA button group publishes its row, the rule a separated group draws at each seam, and the box a word stands in (a count, a field's prefix); it owns no state,…
ButtonSlotsThe button publishes the button and the boxes its parts stand in: icon before the label, trailing after it, content and description when there is a second…
CalendarSlotsCalendar is a nested Submodel whose shape depends on model.viewMode. The top-level groups (root, grid, the navigation buttons) and per-item groups…
CardGroupSlotsA card group publishes its frame, the list of cards, each card's place in it, and the one highlight that moves between the cards. The root carries the most…
CardSlotsA card publishes its regions as slots; it owns no state. Draw the parts the card has and skip the rest: a bare card is a root with content, a full one adds…
CarouselSlotsA carousel, the APG's: a group with aria-roledescription="carousel" named by its label, each slide a group with aria-roledescription="slide" named "2 of 5",…
CascadeSelectSlotsA cascade select, Zag's: one value chosen as a path through nested options (a country, then a region, then a city), from a popup that shows one column per…
ChartSlotsA chart, after shadcn's over Recharts: bars, a line, an area or a donut, with a value axis whose ticks are round values the axis reaches, the categories…
ChatMessageGroupSlotsA run of messages: each ChatMessageSlots message, the root only their frame.
ChatMessageSlotsA chat message publishes its regions as slots; it owns no state, messages or bundles. Who sent it, when, what it says, whether it reached the server, and…
CheckboxGroupSlotsA group of checkboxes for one question, as Zag's checkbox group: a fieldset named by its legend, and a row per option with the APG's checkbox (a button with…
CheckboxSlotsBoth the control and its label carry the base toggle handlers, so both own click. hiddenInput exists only when a form name is configured; its base bundle is…
ChoiceChangeWhat a choosing widget reports.
CodeBlockSlotsA code block publishes its regions as slots, down to each line and each highlighted token; it owns no state. Highlighting is the caller's: pass the tokens a…
ColorPickerSlotsA color picker after ReUI's: a 2D area of saturation (across) and brightness (up) at the color's hue, hue and alpha sliders (two Sliders of this package),…
ComboboxSlotsCombobox is a nested Submodel: an input/inputWrapper pair with an optional toggleButton, plus a backdrop/items group with an item per entry (and…
CommandSlotsA command menu, shadcn's Command and Fluid Functionalism's CommandMenu: a search field that keeps focus while the keys move through the rows and points at…
DatePickerSlotsDatePicker is a small composed Submodel: a trigger button plus a panel/backdrop pair around the embedded calendar. The resolver runs once per bundle and…
DialogSlotsDialog is a Submodel: each published bundle is a ChildAttribute group that carries the dialog boundary's dispatcher. The resolver treats those as opaque and…
DisclosureSlots
DrawerSlots
EmptySlotsAn empty state publishes its regions as slots; it owns no state, messages, or bundles. It says what is not here, why that is fine (or what went wrong), and…
FieldsetSlots
FieldSlotsThe shell around a control that is already drawn: its label (with the mark of a required or optional field, and anything beside it), a description and the…
FigureSlotsA figure publishes its root (a figure) and its caption (a figcaption); it owns no state or messages. The caption names the figure for assistive technology…
FileDropSlotsFileDrop is a small Submodel: a root drop zone plus its hidden file input. The root owns the drag handlers (dragenter/dragleave/drop have no Event tokens,…
FileInputSlotsA file picker: a native type="file" input, hidden but still the one focusable control, and a trigger drawn as a button that is its label, so the browser…
FileUploadSlotsThe anatomy. The input is a native file input drawn first, a transparent pixel rather than hidden, and the picker is its label, always its next sibling, so…
FloatingPanelSlotsThe panel's pieces: a header (drag trigger and controls), the body, and the edges and corners that resize it.
FrameSlotsA frame publishes a tray and the panels that sit in it; it owns no state. It is what holds several things that belong together (a few alerts, an accordion's…
HoverIntentSlotsHoverIntent is a Submodel: open and close delays with intent, for a hover card or a menu that should not flicker. Both bundles are ChildAttribute groups:…
IconSlotsAn icon publishes the box it stands in and a mark on its corner; it owns no state, messages, or bundles. A label makes it an image. Without one it is…
ImageCropperSlotsAn image cropper after Zag's: the image fitted in a viewport, a crop selection over it that a drag moves and eight handles resize, the rest of the image…
ImageSlotsAn image publishes its frame (a picture), a source per format, and the img; it owns no state or messages, and the browser owns loading and which candidate…
InputCopySlotsA read-only field showing a value beside a copy button, Zag's clipboard. The view holds no state: the button sends onCopy, the application's update returns…
InputSlots
ItemGroupSlotsA group publishes the list and each row's place in it; each row is an ItemSlots item. A list of settings, notifications or files.
ItemSlotsAn item is the row primitive: the common shape of a row of anything (a setting, a notification, a file, a contact, a search result) as media at the start, a…
KbdSlotsA keyboard key publishes its slots; it owns no state, messages, or bundles. It names the key to press, never an action: pair it with words. A combination is…
LabelSlotsA form label publishes the label, the marker that says a field is required or optional, and, with a trailing drawing beside it, the root that holds both; it…
ListboxSlotsListbox is a nested Submodel: one button/backdrop/items group plus an item per entry (and group/heading/separator where the caller groups), so the resolver…
MarqueeSlotsContent that scrolls on and on, after Zag's marquee: a region with aria-roledescription="marquee" named by its label, whose content is drawn as many times…
MenubarSlotsA menu bar, shadcn's and the APG's: a row of @foldkit/ui Menus, so each menu's keys, typeahead, rows and dismissal stay the Menu's, and the bar adds what a…
MenuSlotsMenu is a nested Submodel: one button/backdrop/items group plus an item per entry (and group/heading/separator where the caller groups), so the resolver…
MessageScrollerSlotsA message scroller: a conversation's messages in a ScrollArea that keeps the newest in view while the reader is at the bottom, stops following once they…
MeterSlots@foldkit/ui's Meter, a meter: a measurement within a known range, such as storage used or a battery's charge, where Progress is work going on. The root says…
NavSlotsA navigation menu, shadcn's and the APG's disclosure navigation: a navigation landmark whose list holds links, and triggers that each show a panel of links…
NumberFieldSlotsA number field, the APG's editable spinbutton and Zag's number input: a text field with role="spinbutton" that the arrows step, PageUp and PageDown step by…
OtpFieldSlotsA one-time code, as shadcn's input-otp: one real <input> laid over cells that only show its characters. The browser keeps everything a code field needs…
PaginationSlotsPage navigation publishes its regions as slots; it owns no state, only the controlled page it is given. The application moves the page in onPage; this draws…
PasswordInputSlotsA password field with a toggle that shows the password as text, Zag's password input: the toggle is a button outside the form's submission, named for what…
PickerSlots
PopoverSlotsPopover is a Submodel; every bundle is a ChildAttribute group. button owns click (and its pointer/keyboard handlers) while open; panel owns blur; backdrop…
ProgressSlots@foldkit/ui's Progress, a progressbar with its value, drawn as a bar or, with the recipe's shape: 'ring', as Circular Progress. A value of none is…
QrCodeSlotsA QR code, Zag's qr-code: text encoded to a matrix of modules and drawn as one SVG path over a background that carries the quiet zone, with an optional…
QuestionnaireSlotsAn assistant asking the reader structured questions in the chat, as Claude Code's and ChatGPT's clarifying questions: a single choice (the package's…
RadioGroupSlotsRadioGroup is a Submodel: each published bundle is a ChildAttribute group that carries the boundary's dispatcher. The resolver treats those as opaque and…
RatingSlotsA star rating, the APG's radio group of native radios: a root with role="radiogroup" named by its label, and a star per value, an input type="radio" sharing…
ResizableSlotsTwo panels with a handle between them, shadcn's Resizable and the APG's window splitter: the handle is a separator with its value, a tab stop the arrows…
ScrollAreaSlotsThe viewport scrolls; the root around it holds an overlay bar per axis, each with its thumb, which overlayBars drives.
SearchFieldSlotsA text field for searching: a native type="search" input (role searchbox) in one box with a magnifier at its start (or your own start) and a button that…
SegmentedSlotsA segmented control: one group of options. A single choice, the default, is the APG's radio group: role="radiogroup" of role="radio" options with…
SelectSlotsThe base bundle installs OnChange only when onChange is configured and the control is enabled, so a Behavior that adds its own handler is a conflict rather…
SeparatorSlotsA separator publishes its rule, and for a labelled one the frame that holds two rules and the label between them; it owns no state, messages, or bundles.…
SidebarSlotsA sidebar's pieces: the column, its groups and rows, the rail's tips, the marker and the resize handle.
SignaturePadSlotsA signature pad after Zag's: strokes drawn with a pointer on a control above a dashed guide and a "Sign here" placeholder, undo and clear, and a text field…
SkeletonSlotsA loading placeholder publishes its bars, and the frame that lays several out as one shape: text lines, an avatar beside two lines, a card, a table row. It…
SliderSlotsA slider: one number, or a { low, high } range of two, chosen on one track. The value is the application's: the view draws value and sends onChange with the…
SpinnerSlotsA loading spinner publishes its wheel, the three parts a kind may draw with (dots, bars, an orbiting dot), and, with words beside it, the frame and the…
StepsSlotsA stepper, Zag's steps and Mantine's Stepper: a named ordered list of steps, each a numbered marker with a title and a description, a connector between each…
SwitchSlotsMirrors the checkbox contract: both the control and its label own click. root, text, heading and aside lay out the row Switch.view draws.
TableSlotsA presentational table: its regions are slots, and it owns no state. What it draws (the sort, the rows chosen, the rows open) is the application's, read…
TabsSlotsTabs is a nested Submodel: one tablist group plus a tab/panel pair per item, so the resolver runs once per group and each base ChildAttribute bundle passes…
TagsInputSlotsA field of tags, Zag's tags input: the tags as a list of chips, each with a remove button, and a text input for the next one. Enter or the delimiter adds…
TextareaSlots
ThinkingIndicatorSlotsAn assistant at work, as ChatGPT's and Claude's "Thinking…": a mark (three dots, or the view's own icon), the words, and a second line saying what it is…
ThinkingStepsSlotsAn assistant's reasoning and tool calls as a trace, ai-elements' Reasoning and Chain of Thought: a button that shows and hides the list of steps, saying…
TimerSlotsA timer after Zag's: a countdown from a duration, or a stopwatch counting up (to a duration if it has one), with start, pause, resume, reset and restart.…
ToastSlotsToast is a nested Submodel: one live-region container plus an entry per toast. The resolver runs once per bundle and each base attribute passes through by…
ToolbarSlotsA toolbar publishes its root, the groups that gather related controls under a name, and the separator between sets. The controls are the caller's own…
TooltipSlotsTooltip is a Submodel; both upstream bundles are ChildAttribute groups. trigger owns focus, blur and pointerdown (the hover/keyboard entry points); panel…
TourSlotsA tour's pieces: the layer with its dim and cutout, and the step's panel.
TreeViewSlotsThe tree's Slots. Each row is an item (the treeitem, which takes focus) holding a row (the line drawn and clicked) and, when it holds rows, a group. A…
TypographySlotsSet type publishes one slot; it owns no state, messages, or bundles. The level chooses the element: headings stay headings, body copy stays a paragraph, and…
VirtualListSlotsAround and inside upstream's list: root is the box the list scrolls within, which gives it its height, and row is each row's content; the overlay bar and…
WindowListSlots

Interfaces

AccordionItem
AccordionView
AdornmentsWhat a text field draws inside its box beside the control: a prefix, a suffix, an icon, a unit, a button. Input, SearchField, PasswordInput, InputCopy and…
AlertWordsThe fixed text an alert draws: the dismiss button's name ({name} is the title inline and the label as a banner) and its mark.
AngleMarkA value marked on the dial, with words shown beside it.
AngleSliderLayoutWhat update and the view agree on: the steps a value takes and the marks.
AngleSliderView
AreaDataWhat the area reads beside what the line does.
AspectRatioViewA frame in one call: the content it crops to the ratio, a style for its slot, and mixins beside the style.
AvatarBadgeA small mark on a corner: an icon, a count, a Badge. label is read with the name, since the avatar is one image and its badges are not announced on their own.
AvatarGroupViewAvatars overlapping in a row, at most max of them and a +N for the rest.
AvatarPictureA picture the application passes in place of a URL: it writes the img's attributes, or none when it has no URL (the initials then stand alone).…
AvatarWordsThe words an avatar and its group draw: each status as read aloud, and the group's count of those left out ({count} is filled).
BannerAlertA full-width strip across a page or a section, there when it loads: a region landmark (a section named by label), not a live region, which would say nothing…
BarsDataWhat bars read beside the categories and series.
BreadcrumbExpandThe middle of a long trail folded into one ellipsis, which shows it all when pressed.
BreadcrumbWords
CalendarOptionsWhat a Calendar draws beyond upstream's grid. Every option is off by default.
CalendarPresetA named selection one press away, such as "Last 7 days".
CalendarPreviewA range's preview: the day the pointer is on, while the range waits for its end.
CardDismissA button that removes the card, revealed on hover or focus unless always.
CardGroupFluidWhat Card.fluid is: the highlight's resting values and the Mount that moves it, which take columns to read the pointer's nearness in both directions in a…
CardGroupViewCards as one list: in one column or a grid, divided or apart, and, given fluid, with one highlight that follows the pointer to the nearest card in place of…
CardViewA card in one call: the regions it has, what pressing it does, its state, a style for its slots, and mixins beside the style. No upstream component stands…
CardWordsThe fixed text a card draws: the dismiss button's name ({name} is the title or label; dismissAlone when the card has neither), its mark, and what a link…
CarouselView
CartesianDataWhat the kinds over a value axis read: the categories along the bottom and the series.
CascadeSelectConfigThe options and the choices update and the view agree on.
CascadeSelectView
ChartFrameWhat a kind is given to draw with: the chart's state, words and parts.
ChartKindA kind of chart: Chart.bars, Chart.line, Chart.area and Chart.donut are values of it, and one of your own is an object with these four readers and a draw.…
ChartOptionsWhat every kind of chart is given: its name, state, words and look.
ChatMessageActionOne thing a message offers: copy, edit, regenerate, a thumb up.
ChatMessageGroupViewMessages in order, those that follow one by the same sender drawn as continued.
ChatMessageReactionAn emoji or a glyph someone gave a message, with how many did.
ChatMessageTimeWhen a message was sent: at for the machine (datetime), label for the reader.
ChatMessageViewA message in one call: who sent it and when, what it says, where it stands, what it offers, a style for its slots, and mixins beside the style. No upstream…
ChatMessageWordsThe text a message draws that is not one use's content.
CheckboxGroupOptionOne checkbox of the group: the row's words and marks, and the value it stands for.
CheckboxGroupView
CheckboxView
Choice
CollapseDrawWhat a CollapseFeature is given to draw the ellipsis.
CollapseFeatureHow a folded trail draws its ellipsis, built by the application and handed to the view as collapse. BreadcrumbMenu.make is one, a Menu of the hidden steps;…
ColorPickerPopover
ColorPickerPreset
ColorPickerView
ColorPickerWordsThe words a picker says.
CommandGroup
CommandHintA key named in the footer: what pressing it does.
CommandItem
CommandKeyInputWhat a key route reads: the field's words, the highlighted row and the rows ↑↓ can reach.
CommandPage
CommandView
CommandWordsThe fixed text a Command says.
DialogContext
DonutDataWhat a donut reads: its parts, and the words around its total.
DropdownOptionOne choice of a caption dropdown.
DropdownsThe month and year selects in place of the heading.
EmptyViewAn empty state in one call: the title it always has, the regions it earns, a style for its slots, and mixins beside the style. No upstream component stands…
FieldPartsA labelled field's pieces, drawn: the label, the control, and its description.
FigureViewA figure in one call: what it shows (an Image.view, a chart, a code block) and its caption.
FileInputView
FileInputWords
FileUploadItemWhat one entry draws, unassembled, for a layout of the application's own (a table row, a card).
FileUploadPartsThe drawings view assembles, each alone.
FileUploadView
FileUploadWordsEvery word the field draws, with {name}, {count}, {max}, {size} and {reason} standing for what a sentence is about. Text, never functions: a view input…
FloatingPanelView
FloatingPanelWordsThe fixed text a panel draws, in words with {title} where the panel's name goes.
FrameViewA frame in one call: the regions it has, the panels in it, a style for its slots, and mixins beside the style. No upstream component stands behind it.
HoverIntentContext
ImageCropperView
ImageCropperWordsThe words a cropper says; each has an English default.
ImageCropperZoomDraws the zoom control below the viewport. ImageCropper.zoomSlider() is the one shipped; a page that passes none draws no control (the wheel and the keys…
ImageCropperZoomInputWhat a zoom control is given: the zoom as a percent of the fitted image, and the Message for a new one.
ImageViewAn image in one call: its facts, where its variants live, how wide it is drawn, and what it says.
InlineAlertA notice inside the content, of something that just happened: a live region. assertive interrupts (role="alert"); anything else reports (role="status").…
InputCopyView
InputFieldA text field in one call: a field's state drawn through view with its label, control, and description placed. The value is drawn with String(), as the base…
ItemGroupViewRows as one list, divided by hairlines or apart.
ItemViewA row in one call: the regions it earns, what pressing it does, its state, a style for its slots, and mixins beside the style. content follows the title and…
ItemWordsThe fixed text an item draws: what a link opening a new tab says.
MarqueeView
MarqueeWordsThe pause press's words.
MessageScrollerView
MessageScrollerWordsThe text a scroller draws that is not the conversation's.
NavLinkA top-level link.
NavPanelA trigger and the panel it shows.
NavPanelGroupA column of a panel: its links under an optional heading.
NavPanelLinkA link in a panel, its words and a line under them.
NavView
NumberFieldView
OtpFieldView
PasswordRequirementOne rule a new password must keep, and whether the text keeps it.
PathsDataWhat the line and the area read beside the categories and series.
PickerView
PresetsWhat configure is given: options for every use, and named sets of them.
PresetsView
ProgressSectionOne part of a stacked bar.
ProgressView
QrCodeView
QrCodeWordsThe text a QR code says in words: label has the value in {value}.
QuestionnaireView
RadioGroupRowOne radio: the row's words and marks, and the value it chooses.
RadioGroupView
RatingDisplayA rating shown and not taken: it sends nothing, so it takes no Messages.
RatingInputA rating that takes a choice.
ResizableView
ResolveContext
ResolvedDays
ResolvedDropdown
ResolvedMonths
ResolvedNav
ResolvedRadioGroupThe radio group's bundles with the attached Mixins applied.
ResolvedTabs
ResolvedYears
RowContent
SearchFieldView
SearchFieldWords
SegmentedOptionOne option of a segmented control: what it stands for, and its words.
SelectOption
SelectView
SidebarActionA button beside a row or a group's heading: an icon, named by label, that sends message.
SidebarBranchA row that shows and hides items under it, open while its id is in the Model's open.
SidebarEndThe header or the footer: a mark, which a rail keeps centred, and what follows it.
SidebarGroup
SidebarLeafA link nested under a branch, with the same parts as a row but its id.
SidebarLinkA row that leads to a page.
SidebarView
SidebarWordsThe fixed text a sidebar draws, with {label} where the navigation's name goes.
SignaturePadView
SignaturePadWordsThe words a pad says; each has an English default.
SkeletonLinesViewLines of text, the last one ending early as a paragraph's does.
SkeletonTableRowViewOne cell a column, for the rows of a table still loading.
SkeletonViewOne bar in one call. No upstream component stands behind it. inline and block are CSS lengths ('8rem', '60%') written as --fk-skeleton-inline and…
SliderMarkA mark with words under it, such as { value: 0, label: 'Off' }.
SliderView
Step
StepsView
SwitchView
TableColumnOne column: its heading, and each row's cell for it. Key is the type of its sortKey.
TableExpansionRows that open on a press to show a detail below them.
TableSelectionA checkbox on every row, the rows chosen being the application's.
TableSortThe column the rows are sorted by, and which way.
TableViewA plain table in one call: columns with per-row values, the rows, an optional caption, a style for its slots, and mixins beside the style. No upstream…
TabsCloseClosable tabs, as the APG's tabs with deletion: Delete on a tab sends onClose, and so does a press on its close button. The button is no tab stop and hidden…
TabsContext
TagsInputView
TextareaFieldA textarea field in one call: a field's state drawn through view with its label, control, and description placed. The value is drawn with String(), as the…
TextareaPartsA textarea field's pieces, drawn: a text field's, and its count (h.empty where it is not drawn).
TextareaViewA textarea in one call: its value and Messages, a style for its slots, and the rest of @foldkit/ui's own config. draw places the resolved bundles: textarea,…
ThinkingIndicatorView
ThinkingStep
ThinkingStepsView
ThinkingStepsWordsThe text a trace draws that is not one step's content.
TimePart
TimerView
TimerWordsThe words a timer's presses say.
ToastInputWhat a toast says, for show and settle.
ToastWordsThe fixed text a stack draws.
ToolbarControlOne focusable element, drawn by the application.
ToolbarGroupControls under a name, as role="group".
ToolbarStopWhat a control's draw receives to put on its one focusable element.
ToolbarView
TooltipContext
TourView
TourWordsThe fixed text a tour draws; progress with {step} (from 1) and {count}.
TreeNodeA row of the tree, and the rows it holds.
TreeStructureNodeA row of Bundles.TreeView's nodes arg: its structure, what keys, typeahead and checks read. Its icons and content stay the view's, so a TreeNode fits.
TreeViewView

Types

AlertActionAn action: a link to follow, or a button that sends a Message.
AlertPresetWhat an Alert is given once: its look and words. The layout and the content are each use's.
AlertToneA tone the alert's recipe draws: the vocabulary every recipe with a tone axis shares.
AlertView
AspectRatioPresetWhat an AspectRatio is given once: its look.
AvatarBadgePlaceThe corner of the avatar a badge sits on; the status dot takes the bottom end.
AvatarPersonWhat an avatar shows of one person, apart from how it is styled.
AvatarPresetWhat an Avatar is given once: its look, its words, and the look of a group around it.
AvatarSize
AvatarSourceWhere the picture comes from: a URL, or an AvatarPicture; never both.
AvatarStatusWhether someone is there, shown as a dot at the avatar's lower end.
AvatarViewAn avatar in one call: who it pictures, the picture if there is one, a style for its slots, and mixins beside the style. No upstream component stands behind…
BreadcrumbCollapse
ButtonViewA button in one call: the label, a style for its slot, and the rest of @foldkit/ui's own config. It presses (onClick, type) or it is a link (href,…
CardOfGroupOne card of a group: a card with the key that keeps its DOM when it moves.
CardPresetWhat a Card is given once: its look and words, the look of a group of them, and its highlight.
ChartColorOne of the five chart colors, chart-1 to chart-5.
ChartViewA chart of one kind: kind: Chart.bars with categories and series, Chart.line, Chart.area, or Chart.donut with slices. The data's own options are the kind's,…
ChatMessageFromWho a message is from: the user's own, an assistant's (or another person's), or the system's.
ChatMessageItemA message of a group, keyed; the group decides whether it continues the one before.
ChatMessagePresetWhat a ChatMessage is given once: its look, words and how its actions show.
ChatMessageStatusWhere a message the user sent stands: on its way, received, or refused.
CheckboxPresetWhat a Checkbox is given once: its look and each option that holds no Message and nothing of one field.
ColorPickerDefaultsWhat a ColorPicker is given once: its look and each option that holds no Message.
ComboboxChipRenderOne chosen value drawn as a chip: its label, and its remove button's bundle.
ComboboxExtraInputsThe view inputs this package adds beside upstream's.
ComboboxGroupRender
ComboboxHeadingRender
ComboboxItemRender
ComboboxMultiBundleUpstream multi Bundle with the forked view.
ComboboxMultiViewInputsUpstream multi view inputs plus the seam and this package's extras.
ComboboxRenderInfo
ComboboxSingleBundleUpstream single Bundle with the forked view.
ComboboxSingleViewInputsUpstream single view inputs plus the seam and this package's extras.
CommandRouteA key the menu answers beside its own; see CommandView.routes.
DatePickerRenderInfoThe date picker's popover-level bundles. panel and backdrop are present only while the popover shows them; calendar is the embedded calendar submodel's…
DatePickerViewInputsUpstream view inputs plus the seam. Omit toView for upstream markup. It is handed the date picker's own builder, since its bundles speak the date picker's…
EmptyPresetWhat an Empty is given once: its look.
FigurePresetWhat a Figure is given once: its look.
FloatingPanelPresetWhat a FloatingPanel is given once: its look, words and the options that hold no Message.
FramePresetWhat a Frame is given once: its look and its heading level.
ImagePresetWhat an Image is given once: its look and how it is laid out; the asset, provider and alt are each use's.
InputViewAn input in one call: its value and Messages, a style for its slots, and the rest of @foldkit/ui's own config. Given a label, it draws the field itself: the…
ItemOfGroupOne row of a group: an item with the key that keeps its DOM when it moves.
ItemPresetWhat an Item is given once: its look and words, and the look of a group of them.
ListboxGroupRenderOne rendered group; group is undefined for the ungrouped pass-through.
ListboxHeadingRenderA heading element's bundle, present only when the group names one.
ListboxItemRenderOne listbox item's bundle: element key, attributes, and caller content.
ListboxRenderInfoThe listbox's computed bundles. backdrop, items, scroll, and groups are present only while visible; a closed listbox carries the rest alone, as upstream…
MarqueeSideWhere the content moves to: the inline start or end, or up or down.
MenuBundleUpstream's Bundle with the forked view.
MenuGroupRender
MenuHeadingRender
MenuItemRender
MenuRenderInfoThe menu's computed bundles. backdrop, items, scroll, and groups are present only while visible; a closed menu carries the rest alone, as upstream renders it.
MenuViewInputsUpstream ViewInputs plus toView.
MessageScrollerPresetWhat a scroller is given once: its look, words and area. The conversation is each use's.
MixinList
MultiBundleUpstream multi Bundle with the forked view.
MultiViewInputsUpstream multi view inputs plus the seam and direction.
NavEntry
PresetOptionThe call's preset option: absent from the type when no preset was declared.
PressWhat pressing a surface does: send a Message, or follow a link.
ProgressToneThe tones a fill takes: the shared vocabulary, as Meter's levels take success, warning and error.
RadioGroupPresetWhat a RadioGroup is given once: its look and each option that holds no Message, no drawing and nothing of one group's value.
RatingView
ResolvedA component's Base bundles with every slot among them resolved.
ResolvedButtonThe button's bundles with the attached Mixins applied.
ResolvedCalendar
ResolvedCaptionWhat the days' header holds between its paging buttons.
ResolvedCheckboxThe checkbox's bundles with the attached Mixins applied.
ResolvedColumnHeader
ResolvedCombobox
ResolvedComboboxGroup
ResolvedComboboxHeading
ResolvedComboboxItem
ResolvedComboboxToggle
ResolvedDatePicker
ResolvedDayCell
ResolvedDialogThe dialog's bundles with the attached Mixins applied.
ResolvedDisclosureThe disclosure's bundles with the attached Mixins applied.
ResolvedFieldsetThe fieldset's bundles with the attached Mixins applied.
ResolvedFileDropThe file drop's bundles with the attached Mixins applied.
ResolvedHoverIntentThe hover intent's bundles with the attached Mixins applied.
ResolvedInputThe input's bundles with the attached Mixins applied.
ResolvedListbox
ResolvedListboxGroup
ResolvedListboxHeading
ResolvedListboxItem
ResolvedMenu
ResolvedMenuGroup
ResolvedMenuHeading
ResolvedMenuItem
ResolvedMonthCell
ResolvedPopoverThe popover's bundles with the attached Mixins applied.
ResolvedRadioOptionOne option with the attached Mixins applied to its bundles.
ResolvedSelectThe select's bundles with the attached Mixins applied.
ResolvedSlots
ResolvedSwitchThe switch's bundles with the attached Mixins applied.
ResolvedTab
ResolvedTextareaThe textarea's bundles with the attached Mixins applied. textarea is typed for h.textarea, which refuses InnerHTML.
ResolvedToast
ResolvedToastEntry
ResolvedTooltipThe tooltip's bundles with the attached Mixins applied.
ResolvedWeek
ResolvedYearCell
SegmentedView
SelectPresetWhat a Select is given once: its look and each option that holds no Message and nothing of one field.
SidebarRow
SingleBundleUpstream single Bundle with the forked view.
SingleChoiceA choice of at most one item, which a widget that closes at a pick (the Picker) is given.
SingleViewInputsUpstream single view inputs plus the seam and direction.
SkeletonPresetWhat a Skeleton is given once: its look. Its label is each use's.
StepStateWhere a step stands; skipped is work a trace chose not to do, which counts as finished.
SwitchPresetWhat a Switch is given once: its look and each option that holds no Message and nothing of one field.
ThinkingIndicatorPresetWhat an indicator is given once: its look, its words and its mark.
ThinkingStepsPresetWhat a trace is given once: its look, words and how its steps open.
TimerPresetWhat a Timer is given once: its look and each option that holds no Message.
ToastEntryRenderOne toast entry's bundle: element id, attributes, and drawn content.
ToastPresetWhat a toast stack is given once: its look and each option that holds no Message.
ToastRenderInfoThe toast stack's computed bundles.
ToolbarItemWhat a toolbar holds, in order: a control, a named group of controls, or 'separator', a rule between sets.
TourPresetWhat a Tour is given once: its look, words and the options that hold no Message.
TypographyLevelOne voice of the type scale, and the element it speaks through. The interface roles (display to micro) are paragraphs; a role that names a section is a…
TypographySaysWhat the voice says: text, or content where it holds a link or emphasis; never both.
TypographyViewOne voice of the type scale in one call: its level, what it says, a style for its slot, and mixins beside the style. The level picks the element and is…
WindowListView