Components
Components overview
65 pages document every export of faifo-design 0.1.44: when to use it, live examples and the API.
import { Button, DataTable, ListPage } from 'faifo-design'General 4
- ButtonCommands, navigation actions and the group that orders them.ActionGroup · Button · IconButton · LinkButton · Link
- IconPorto Faifo Symbols at three optical sizes.Icon
- TypographyText roles, inline code and bounded code blocks.Code · CodeBlock · Text
- ContextButtonA two-line control that selects the workspace context.ContextButton
Layout 8
- Stack, Inline and GridThe parents that own the gaps between siblings.Grid · Inline · Stack
- Surface, Section and DisclosureWorking regions on the canvas and the groups inside them.Disclosure · Section · Surface
- Cards and metricsIndependently actionable objects, board cards and headline numbers.CardGrid · ContentCard · KanbanCard · KanbanGrid · Metric
- AppShellThe frame of an application: rail, top bar, navigation and main column.AppBrand · AppSwitcher · AppSwitcherHelp · AppShell · AppTopbar
- AppNavigationOne navigation model: a sidebar on desktop, a drawer on a phone.AppNavigation · NavigationDrawer · NavigationGroup · NavigationHeader · NavigationItem · NavigationTrigger · NavigationToggle
- Page and PageHeaderThe content column of a screen and its identity.Page · PageHeader · RecordCanvas · RecordSection
- DockNon-modal panels for a task that runs beside the page.Dock · DockRegion
- PeekA non-modal first look at one item of a spatial view.Peek · PeekLayout
Navigation 5
- BreadcrumbsWhere a screen sits in its hierarchy.Breadcrumbs
- NavListA vertical list of destinations with an active item.NavItem · NavList
- TabsSibling views of one subject, each with its own URL.Tab · TabPanel · TabbedView · Tabs
- MenuA disclosed list of links and commands.ActionMenu · Menu
- StagePathWhere one record stands in its process.StagePath
Data Entry 14
- FieldOne labelled control with help and error, for any input type.Field
- Text and number fieldsText, long text, search, exact numbers and money.clearFieldError · showFieldError · formatLocaleNumber · numberControlValue · parseLocaleNumber · MoneyField · NumberField · SearchField · TextArea · TextField
- Checkbox, Radio, Select and SwitchNative choice controls that submit with the form.Checkbox · CheckboxGroup · RadioGroup · Select · Switch
- ComboboxSearchable single choice, multiple choice and tags.Combobox · MultiCombobox · TagPicker
- DatePickerCivil dates, ranges, local time and reporting periods.DatePresetPicker · datePresetIds · datePresetLabel · resolveDatePreset · DatePicker · DateRangePicker · DateTimePicker · TimePicker
- UploadFile inputs, drop zones and image grids.DropZone · FileUpload · ImageDropZone
- RelationPickerChoose a related record, with search and create.createRelationSelectView · relationSelect · RelationPicker
- InlineEditEdit one value in place.InlineEdit
- ReorderListOrder rows by dragging or with move controls.ReorderList
- FaifoGridAn editable grid for entering many lines.createFaifoGrid · FAIFO_GRID_NO_CHANGES · faifoGrid · FaifoGridPlaceholder
- RecordFormA native form described as data.FormActions · FormGrid · RecordForm
- SearchFilterSearch, filter, group and saved searches in one control.createSearchFilterView · searchFilter · searchFilterRuleLabel
- Filters and saved viewsURL-driven search, filter, sort and view settings.AppliedFilters · FilterBar · SavedViews · SearchBar · SortMenu · ViewSettings · withQueryState
- TimeframeFilterThe period a screen reports on.TimeframeFilter
Data Display 17
- AvatarPeople and named things with stable fallbacks.Avatar · MediaLabel · initials · AvatarGroup · Person
- Badge, Tag and StatusShort labels that carry a state or a category.Badge · CountBadge · Tag · Status
- DescriptionListThe facts of a record as labelled pairs.DescriptionList · KeyValue
- Formatted valuesDates, numbers and money in the reader's locale.FormattedDate · FormattedMoney · FormattedNumber
- DataTableA server-rendered table whose columns are data.DataTable
- FaifoTableA selectable, sortable, groupable table island.createFaifoTableView · faifoTable · FaifoTable
- DataGridA bounded grid with explicit column order, visibility and pinning.DataGrid
- ResourceListRows that each link to one record.ResourceList
- TreeHierarchies as native links, with a tabular form.Tree · TreeGrid
- DataMatrixCompare the same dimensions across ordered rows.DataMatrix
- BarChart and ColumnChartMagnitudes as real text, without a canvas.BarChart · ColumnChart
- QrCodeA code a phone can scan, drawn on the server.QrCode · qrSvg
- SignatureBlockWhere a person signs a printed document.SignatureBlock
- ActivityTimeline and AuditLogWhat happened to a record, and who did it.ActivityTimeline · AuditLog
- Attachments and mediaFiles, galleries, thumbnails and the image viewer.createLightbox · createLightboxView · lightbox · LightboxThumb · Attachments · MediaGallery · Thumbnail
- MarkdownContentServer-rendered Markdown with safe links and diagrams.configureMermaidLoader · MarkdownContent · MermaidDiagram
- PipelineThe stages of a process and the work in each.Pipeline
Feedback 9
- NoticeStatus, warning and recovery information in place.Notice
- EmptyStateOne frame for an empty or loading region.EmptyState · LoadingState
- ProgressHow far along one task is.Progress
- DialogModal questions and confirmations.ConfirmDialog · Dialog
- ModalSheetRecord and picker content over the page.attachClientModalInteractions · ModalSheet
- Popover and TooltipSupplementary content anchored to a control.Popover · Tooltip
- ToastTransient confirmation in a live region.Toast · ToastRegion
- Spinner and SkeletonAn unknown wait, without layout shift.Spinner · Skeleton
- HelpDrawerGuidance for the current screen.HelpDrawer
Page Patterns 6
- ListPageThe baseline for a collection screen.BULK_CLEAR_COMMAND · BulkActions · ListChrome · PagerBar · ListPage
- RecordPageOne durable subject on a full page.RecordActions · RecordRail · RecordSummary · RecordPage
- WorkspacePageAn operational canvas: flow, board or master-detail.WorkspacePage
- SettingsDirectoryEvery configuration screen the viewer may open.SettingsDirectory
- EmbeddedPageA page served elsewhere, shown as the whole screen.EmbeddedPage
- FormPage, DashboardPage and BoardPageCompatibility patterns for screens that already use them.FormPage · DashboardPage · BoardPage