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 | |
Bundles | Each 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 | |
ComboboxView | Forked combobox views: the single and multi variants over the shared transcription in ./comboboxShared.js. Each create binds the upstream bundle for the… |
Command | |
DatePicker | |
DatePickerView | A DatePicker view with the consumer toView seam @foldkit/ui/datePicker does not expose. State, Messages, update, Commands, and helpers stay upstream; only… |
Dialog | |
Disclosure | |
Drawer | A 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 | |
Icons | Attribute-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 | |
ListboxView | Forked listbox views: the single and multi variants over the shared transcription in ./listboxShared.js. Each create binds the upstream bundle for the… |
Marquee | |
Menu | A 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 | |
MenuView | A 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 | |
Patterns | An accessibility pattern per adapted widget with an ARIA contract: the slots a widget of that kind must publish, with the capability, events and attributes… |
Picker | A 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 | |
Recipes | Shipped 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 | |
Sheet | A 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 | |
Toast | Toasts, in two layers. |
ToastView | A Toast view with the consumer toView seam @foldkit/ui/toast does not expose. State, Messages, update, Commands, Mounts, and subscriptions stay upstream:… |
Toolbar | |
Tooltip | |
Touch | Touch targets: mechanisms, not components. No slots, no views: compose these into an application's own slots. |
Tour | |
TreeView | |
Typography | |
VirtualList | |
WindowList | A 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
AccordionSlots | An 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… |
AlertSlots | An 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.… |
AngleSliderSlots | A 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… |
AppShellSlots | An 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… |
AspectRatioSlots | A 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. |
AvatarGroupSlots | A 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.… |
AvatarSlots | An 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… |
BadgeSlots | A 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… |
BreadcrumbSlots | A 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… |
ButtonGroupSlots | A 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,… |
ButtonSlots | The 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… |
CalendarSlots | Calendar is a nested Submodel whose shape depends on model.viewMode. The top-level groups (root, grid, the navigation buttons) and per-item groups… |
CardGroupSlots | A 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… |
CardSlots | A 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… |
CarouselSlots | A 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",… |
CascadeSelectSlots | A 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… |
ChartSlots | A 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… |
ChatMessageGroupSlots | A run of messages: each ChatMessageSlots message, the root only their frame. |
ChatMessageSlots | A 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… |
CheckboxGroupSlots | A 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… |
CheckboxSlots | Both 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… |
ChoiceChange | What a choosing widget reports. |
CodeBlockSlots | A 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… |
ColorPickerSlots | A 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),… |
ComboboxSlots | Combobox is a nested Submodel: an input/inputWrapper pair with an optional toggleButton, plus a backdrop/items group with an item per entry (and… |
CommandSlots | A 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… |
DatePickerSlots | DatePicker is a small composed Submodel: a trigger button plus a panel/backdrop pair around the embedded calendar. The resolver runs once per bundle and… |
DialogSlots | Dialog 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 | |
EmptySlots | An 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 | |
FieldSlots | The 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… |
FigureSlots | A 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… |
FileDropSlots | FileDrop 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,… |
FileInputSlots | A 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… |
FileUploadSlots | The 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… |
FloatingPanelSlots | The panel's pieces: a header (drag trigger and controls), the body, and the edges and corners that resize it. |
FrameSlots | A 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… |
HoverIntentSlots | HoverIntent 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:… |
IconSlots | An 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… |
ImageCropperSlots | An 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… |
ImageSlots | An 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… |
InputCopySlots | A 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 | |
ItemGroupSlots | A group publishes the list and each row's place in it; each row is an ItemSlots item. A list of settings, notifications or files. |
ItemSlots | An 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… |
KbdSlots | A 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… |
LabelSlots | A 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… |
ListboxSlots | Listbox 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… |
MarqueeSlots | Content 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… |
MenubarSlots | A 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… |
MenuSlots | Menu 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… |
MessageScrollerSlots | A 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… |
NavSlots | A 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… |
NumberFieldSlots | A 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… |
OtpFieldSlots | A 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… |
PaginationSlots | Page 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… |
PasswordInputSlots | A 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 | |
PopoverSlots | Popover 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… |
QrCodeSlots | A 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… |
QuestionnaireSlots | An assistant asking the reader structured questions in the chat, as Claude Code's and ChatGPT's clarifying questions: a single choice (the package's… |
RadioGroupSlots | RadioGroup is a Submodel: each published bundle is a ChildAttribute group that carries the boundary's dispatcher. The resolver treats those as opaque and… |
RatingSlots | A 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… |
ResizableSlots | Two 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… |
ScrollAreaSlots | The viewport scrolls; the root around it holds an overlay bar per axis, each with its thumb, which overlayBars drives. |
SearchFieldSlots | A 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… |
SegmentedSlots | A segmented control: one group of options. A single choice, the default, is the APG's radio group: role="radiogroup" of role="radio" options with… |
SelectSlots | The 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… |
SeparatorSlots | A 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.… |
SidebarSlots | A sidebar's pieces: the column, its groups and rows, the rail's tips, the marker and the resize handle. |
SignaturePadSlots | A 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… |
SkeletonSlots | A 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… |
SliderSlots | A 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… |
SpinnerSlots | A 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… |
StepsSlots | A 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… |
SwitchSlots | Mirrors the checkbox contract: both the control and its label own click. root, text, heading and aside lay out the row Switch.view draws. |
TableSlots | A 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… |
TabsSlots | Tabs 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… |
TagsInputSlots | A 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 | |
ThinkingIndicatorSlots | An 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… |
ThinkingStepsSlots | An 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… |
TimerSlots | A 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.… |
ToastSlots | Toast 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… |
ToolbarSlots | A 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… |
TooltipSlots | Tooltip is a Submodel; both upstream bundles are ChildAttribute groups. trigger owns focus, blur and pointerdown (the hover/keyboard entry points); panel… |
TourSlots | A tour's pieces: the layer with its dim and cutout, and the step's panel. |
TreeViewSlots | The 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… |
TypographySlots | Set 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… |
VirtualListSlots | Around 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 | |
Adornments | What 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… |
AlertWords | The fixed text an alert draws: the dismiss button's name ({name} is the title inline and the label as a banner) and its mark. |
AngleMark | A value marked on the dial, with words shown beside it. |
AngleSliderLayout | What update and the view agree on: the steps a value takes and the marks. |
AngleSliderView | |
AreaData | What the area reads beside what the line does. |
AspectRatioView | A frame in one call: the content it crops to the ratio, a style for its slot, and mixins beside the style. |
AvatarBadge | A 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. |
AvatarGroupView | Avatars overlapping in a row, at most max of them and a +N for the rest. |
AvatarPicture | A 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).… |
AvatarWords | The words an avatar and its group draw: each status as read aloud, and the group's count of those left out ({count} is filled). |
BannerAlert | A 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… |
BarsData | What bars read beside the categories and series. |
BreadcrumbExpand | The middle of a long trail folded into one ellipsis, which shows it all when pressed. |
BreadcrumbWords | |
CalendarOptions | What a Calendar draws beyond upstream's grid. Every option is off by default. |
CalendarPreset | A named selection one press away, such as "Last 7 days". |
CalendarPreview | A range's preview: the day the pointer is on, while the range waits for its end. |
CardDismiss | A button that removes the card, revealed on hover or focus unless always. |
CardGroupFluid | What 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… |
CardGroupView | Cards 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… |
CardView | A 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… |
CardWords | The 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 | |
CartesianData | What the kinds over a value axis read: the categories along the bottom and the series. |
CascadeSelectConfig | The options and the choices update and the view agree on. |
CascadeSelectView | |
ChartFrame | What a kind is given to draw with: the chart's state, words and parts. |
ChartKind | A 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.… |
ChartOptions | What every kind of chart is given: its name, state, words and look. |
ChatMessageAction | One thing a message offers: copy, edit, regenerate, a thumb up. |
ChatMessageGroupView | Messages in order, those that follow one by the same sender drawn as continued. |
ChatMessageReaction | An emoji or a glyph someone gave a message, with how many did. |
ChatMessageTime | When a message was sent: at for the machine (datetime), label for the reader. |
ChatMessageView | A 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… |
ChatMessageWords | The text a message draws that is not one use's content. |
CheckboxGroupOption | One checkbox of the group: the row's words and marks, and the value it stands for. |
CheckboxGroupView | |
CheckboxView | |
Choice | |
CollapseDraw | What a CollapseFeature is given to draw the ellipsis. |
CollapseFeature | How 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 | |
ColorPickerWords | The words a picker says. |
CommandGroup | |
CommandHint | A key named in the footer: what pressing it does. |
CommandItem | |
CommandKeyInput | What a key route reads: the field's words, the highlighted row and the rows ↑↓ can reach. |
CommandPage | |
CommandView | |
CommandWords | The fixed text a Command says. |
DialogContext | |
DonutData | What a donut reads: its parts, and the words around its total. |
DropdownOption | One choice of a caption dropdown. |
Dropdowns | The month and year selects in place of the heading. |
EmptyView | An 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… |
FieldParts | A labelled field's pieces, drawn: the label, the control, and its description. |
FigureView | A figure in one call: what it shows (an Image.view, a chart, a code block) and its caption. |
FileInputView | |
FileInputWords | |
FileUploadItem | What one entry draws, unassembled, for a layout of the application's own (a table row, a card). |
FileUploadParts | The drawings view assembles, each alone. |
FileUploadView | |
FileUploadWords | Every 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 | |
FloatingPanelWords | The fixed text a panel draws, in words with {title} where the panel's name goes. |
FrameView | A 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 | |
ImageCropperWords | The words a cropper says; each has an English default. |
ImageCropperZoom | Draws 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… |
ImageCropperZoomInput | What a zoom control is given: the zoom as a percent of the fitted image, and the Message for a new one. |
ImageView | An image in one call: its facts, where its variants live, how wide it is drawn, and what it says. |
InlineAlert | A notice inside the content, of something that just happened: a live region. assertive interrupts (role="alert"); anything else reports (role="status").… |
InputCopyView | |
InputField | A 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… |
ItemGroupView | Rows as one list, divided by hairlines or apart. |
ItemView | A 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… |
ItemWords | The fixed text an item draws: what a link opening a new tab says. |
MarqueeView | |
MarqueeWords | The pause press's words. |
MessageScrollerView | |
MessageScrollerWords | The text a scroller draws that is not the conversation's. |
NavLink | A top-level link. |
NavPanel | A trigger and the panel it shows. |
NavPanelGroup | A column of a panel: its links under an optional heading. |
NavPanelLink | A link in a panel, its words and a line under them. |
NavView | |
NumberFieldView | |
OtpFieldView | |
PasswordRequirement | One rule a new password must keep, and whether the text keeps it. |
PathsData | What the line and the area read beside the categories and series. |
PickerView | |
Presets | What configure is given: options for every use, and named sets of them. |
PresetsView | |
ProgressSection | One part of a stacked bar. |
ProgressView | |
QrCodeView | |
QrCodeWords | The text a QR code says in words: label has the value in {value}. |
QuestionnaireView | |
RadioGroupRow | One radio: the row's words and marks, and the value it chooses. |
RadioGroupView | |
RatingDisplay | A rating shown and not taken: it sends nothing, so it takes no Messages. |
RatingInput | A rating that takes a choice. |
ResizableView | |
ResolveContext | |
ResolvedDays | |
ResolvedDropdown | |
ResolvedMonths | |
ResolvedNav | |
ResolvedRadioGroup | The radio group's bundles with the attached Mixins applied. |
ResolvedTabs | |
ResolvedYears | |
RowContent | |
SearchFieldView | |
SearchFieldWords | |
SegmentedOption | One option of a segmented control: what it stands for, and its words. |
SelectOption | |
SelectView | |
SidebarAction | A button beside a row or a group's heading: an icon, named by label, that sends message. |
SidebarBranch | A row that shows and hides items under it, open while its id is in the Model's open. |
SidebarEnd | The header or the footer: a mark, which a rail keeps centred, and what follows it. |
SidebarGroup | |
SidebarLeaf | A link nested under a branch, with the same parts as a row but its id. |
SidebarLink | A row that leads to a page. |
SidebarView | |
SidebarWords | The fixed text a sidebar draws, with {label} where the navigation's name goes. |
SignaturePadView | |
SignaturePadWords | The words a pad says; each has an English default. |
SkeletonLinesView | Lines of text, the last one ending early as a paragraph's does. |
SkeletonTableRowView | One cell a column, for the rows of a table still loading. |
SkeletonView | One bar in one call. No upstream component stands behind it. inline and block are CSS lengths ('8rem', '60%') written as --fk-skeleton-inline and… |
SliderMark | A mark with words under it, such as { value: 0, label: 'Off' }. |
SliderView | |
Step | |
StepsView | |
SwitchView | |
TableColumn | One column: its heading, and each row's cell for it. Key is the type of its sortKey. |
TableExpansion | Rows that open on a press to show a detail below them. |
TableSelection | A checkbox on every row, the rows chosen being the application's. |
TableSort | The column the rows are sorted by, and which way. |
TableView | A 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… |
TabsClose | Closable 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 | |
TextareaField | A 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… |
TextareaParts | A textarea field's pieces, drawn: a text field's, and its count (h.empty where it is not drawn). |
TextareaView | A 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 | |
ThinkingStepsWords | The text a trace draws that is not one step's content. |
TimePart | |
TimerView | |
TimerWords | The words a timer's presses say. |
ToastInput | What a toast says, for show and settle. |
ToastWords | The fixed text a stack draws. |
ToolbarControl | One focusable element, drawn by the application. |
ToolbarGroup | Controls under a name, as role="group". |
ToolbarStop | What a control's draw receives to put on its one focusable element. |
ToolbarView | |
TooltipContext | |
TourView | |
TourWords | The fixed text a tour draws; progress with {step} (from 1) and {count}. |
TreeNode | A row of the tree, and the rows it holds. |
TreeStructureNode | A 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
AlertAction | An action: a link to follow, or a button that sends a Message. |
AlertPreset | What an Alert is given once: its look and words. The layout and the content are each use's. |
AlertTone | A tone the alert's recipe draws: the vocabulary every recipe with a tone axis shares. |
AlertView | |
AspectRatioPreset | What an AspectRatio is given once: its look. |
AvatarBadgePlace | The corner of the avatar a badge sits on; the status dot takes the bottom end. |
AvatarPerson | What an avatar shows of one person, apart from how it is styled. |
AvatarPreset | What an Avatar is given once: its look, its words, and the look of a group around it. |
AvatarSize | |
AvatarSource | Where the picture comes from: a URL, or an AvatarPicture; never both. |
AvatarStatus | Whether someone is there, shown as a dot at the avatar's lower end. |
AvatarView | An 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 | |
ButtonView | A 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,… |
CardOfGroup | One card of a group: a card with the key that keeps its DOM when it moves. |
CardPreset | What a Card is given once: its look and words, the look of a group of them, and its highlight. |
ChartColor | One of the five chart colors, chart-1 to chart-5. |
ChartView | A 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,… |
ChatMessageFrom | Who a message is from: the user's own, an assistant's (or another person's), or the system's. |
ChatMessageItem | A message of a group, keyed; the group decides whether it continues the one before. |
ChatMessagePreset | What a ChatMessage is given once: its look, words and how its actions show. |
ChatMessageStatus | Where a message the user sent stands: on its way, received, or refused. |
CheckboxPreset | What a Checkbox is given once: its look and each option that holds no Message and nothing of one field. |
ColorPickerDefaults | What a ColorPicker is given once: its look and each option that holds no Message. |
ComboboxChipRender | One chosen value drawn as a chip: its label, and its remove button's bundle. |
ComboboxExtraInputs | The view inputs this package adds beside upstream's. |
ComboboxGroupRender | |
ComboboxHeadingRender | |
ComboboxItemRender | |
ComboboxMultiBundle | Upstream multi Bundle with the forked view. |
ComboboxMultiViewInputs | Upstream multi view inputs plus the seam and this package's extras. |
ComboboxRenderInfo | |
ComboboxSingleBundle | Upstream single Bundle with the forked view. |
ComboboxSingleViewInputs | Upstream single view inputs plus the seam and this package's extras. |
CommandRoute | A key the menu answers beside its own; see CommandView.routes. |
DatePickerRenderInfo | The date picker's popover-level bundles. panel and backdrop are present only while the popover shows them; calendar is the embedded calendar submodel's… |
DatePickerViewInputs | Upstream 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… |
EmptyPreset | What an Empty is given once: its look. |
FigurePreset | What a Figure is given once: its look. |
FloatingPanelPreset | What a FloatingPanel is given once: its look, words and the options that hold no Message. |
FramePreset | What a Frame is given once: its look and its heading level. |
ImagePreset | What an Image is given once: its look and how it is laid out; the asset, provider and alt are each use's. |
InputView | An 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… |
ItemOfGroup | One row of a group: an item with the key that keeps its DOM when it moves. |
ItemPreset | What an Item is given once: its look and words, and the look of a group of them. |
ListboxGroupRender | One rendered group; group is undefined for the ungrouped pass-through. |
ListboxHeadingRender | A heading element's bundle, present only when the group names one. |
ListboxItemRender | One listbox item's bundle: element key, attributes, and caller content. |
ListboxRenderInfo | The listbox's computed bundles. backdrop, items, scroll, and groups are present only while visible; a closed listbox carries the rest alone, as upstream… |
MarqueeSide | Where the content moves to: the inline start or end, or up or down. |
MenuBundle | Upstream's Bundle with the forked view. |
MenuGroupRender | |
MenuHeadingRender | |
MenuItemRender | |
MenuRenderInfo | The 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. |
MenuViewInputs | Upstream ViewInputs plus toView. |
MessageScrollerPreset | What a scroller is given once: its look, words and area. The conversation is each use's. |
MixinList | |
MultiBundle | Upstream multi Bundle with the forked view. |
MultiViewInputs | Upstream multi view inputs plus the seam and direction. |
NavEntry | |
PresetOption | The call's preset option: absent from the type when no preset was declared. |
Press | What pressing a surface does: send a Message, or follow a link. |
ProgressTone | The tones a fill takes: the shared vocabulary, as Meter's levels take success, warning and error. |
RadioGroupPreset | What a RadioGroup is given once: its look and each option that holds no Message, no drawing and nothing of one group's value. |
RatingView | |
Resolved | A component's Base bundles with every slot among them resolved. |
ResolvedButton | The button's bundles with the attached Mixins applied. |
ResolvedCalendar | |
ResolvedCaption | What the days' header holds between its paging buttons. |
ResolvedCheckbox | The checkbox's bundles with the attached Mixins applied. |
ResolvedColumnHeader | |
ResolvedCombobox | |
ResolvedComboboxGroup | |
ResolvedComboboxHeading | |
ResolvedComboboxItem | |
ResolvedComboboxToggle | |
ResolvedDatePicker | |
ResolvedDayCell | |
ResolvedDialog | The dialog's bundles with the attached Mixins applied. |
ResolvedDisclosure | The disclosure's bundles with the attached Mixins applied. |
ResolvedFieldset | The fieldset's bundles with the attached Mixins applied. |
ResolvedFileDrop | The file drop's bundles with the attached Mixins applied. |
ResolvedHoverIntent | The hover intent's bundles with the attached Mixins applied. |
ResolvedInput | The input's bundles with the attached Mixins applied. |
ResolvedListbox | |
ResolvedListboxGroup | |
ResolvedListboxHeading | |
ResolvedListboxItem | |
ResolvedMenu | |
ResolvedMenuGroup | |
ResolvedMenuHeading | |
ResolvedMenuItem | |
ResolvedMonthCell | |
ResolvedPopover | The popover's bundles with the attached Mixins applied. |
ResolvedRadioOption | One option with the attached Mixins applied to its bundles. |
ResolvedSelect | The select's bundles with the attached Mixins applied. |
ResolvedSlots | |
ResolvedSwitch | The switch's bundles with the attached Mixins applied. |
ResolvedTab | |
ResolvedTextarea | The textarea's bundles with the attached Mixins applied. textarea is typed for h.textarea, which refuses InnerHTML. |
ResolvedToast | |
ResolvedToastEntry | |
ResolvedTooltip | The tooltip's bundles with the attached Mixins applied. |
ResolvedWeek | |
ResolvedYearCell | |
SegmentedView | |
SelectPreset | What a Select is given once: its look and each option that holds no Message and nothing of one field. |
SidebarRow | |
SingleBundle | Upstream single Bundle with the forked view. |
SingleChoice | A choice of at most one item, which a widget that closes at a pick (the Picker) is given. |
SingleViewInputs | Upstream single view inputs plus the seam and direction. |
SkeletonPreset | What a Skeleton is given once: its look. Its label is each use's. |
StepState | Where a step stands; skipped is work a trace chose not to do, which counts as finished. |
SwitchPreset | What a Switch is given once: its look and each option that holds no Message and nothing of one field. |
ThinkingIndicatorPreset | What an indicator is given once: its look, its words and its mark. |
ThinkingStepsPreset | What a trace is given once: its look, words and how its steps open. |
TimerPreset | What a Timer is given once: its look and each option that holds no Message. |
ToastEntryRender | One toast entry's bundle: element id, attributes, and drawn content. |
ToastPreset | What a toast stack is given once: its look and each option that holds no Message. |
ToastRenderInfo | The toast stack's computed bundles. |
ToolbarItem | What a toolbar holds, in order: a control, a named group of controls, or 'separator', a rule between sets. |
TourPreset | What a Tour is given once: its look, words and the options that hold no Message. |
TypographyLevel | One 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… |
TypographySays | What the voice says: text, or content where it holds a link or emphasis; never both. |
TypographyView | One 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 |