Experimental features
Experimental features are separately organized UI modules for advanced interfaces that are still changing. They let product teams try richer user flows and give the library time to learn which contracts should move into broader public use.
Experimental surface
The frappe-ui/experimental entry point groups interfaces with a different stability level from the main library surface. This boundary lets the library support early use and migration work without presenting unfinished contracts as stable API (experimental.ts, package.json).
The page covers four related interface families:
| Family | Product role |
|---|---|
| List views | Browse, select, and page through records in a configurable data view |
| Calendar scheduling | Browse and edit events across date and time views |
| Theme switching | Let people choose light, dark, or system appearance |
| Workflow steppers | Show progress through ordered work, including nested steps and outcomes |
Each family has its own child page: List view, Experimental calendar, Experimental theme switcher, and Experimental stepper.
Feature lifecycle
Experimental modules follow an incubation path or a migration path. Incubating modules may move to a stable public surface after their use and API are clear. Parked modules remain available while users move to a replacement or wait for a redesign.
This diagram shows how an advanced interface can move from early use to a stable API, a replacement, or removal.
flowchart LR
Candidate[Advanced interface] --> Experimental[frappe-ui/experimental]
Experimental --> Incubating[Incubating module]
Experimental --> Parked[Parked migration bridge]
Incubating --> Stable[Stable public surface]
Incubating --> Removed[Removed module]
Parked --> Replacement[Replacement or redesign]
Replacement --> Removed
The experimental import path is therefore a signal about stability. Applications should use a public family when one exists and should treat experimental imports as migration-sensitive contracts.
Experimental interface families
The four families address different parts of a product flow. They share an experimental boundary, but each family owns its own user-facing state and migration concerns.
List views
List views help people browse records in a configurable table. The family supports selection, active-row state, grouped data, column behavior, empty states, page length, incremental loading, and row counts so applications can use it for both paged data and load-more flows.
The older experimental ListView remains a migration surface while the public frappe-ui/list family develops the coverage needed by its consumers. See List view for the relationship between the two families.
References: experimental/…/ListView.vue• L1-17 experimental/…/ListView.vue• L34-61 experimental/…/ListFooter.vue• L1-65 src/…/index.ts• L5-24
Calendar scheduling
Calendar scheduling turns application events into browsable Day, Week, Month, and Agenda views. It also supports event creation and editing, visible-range reporting, responsive layouts, and a shared detail entry point so the same schedule can work in a page, sidebar, or narrow panel.
The calendar is parked on the experimental surface while a redesigned family is pending. Its import path, event updates, date-range signal, and view-specific behavior are migration-sensitive. See Experimental calendar for the event and navigation contract.
This diagram shows how an application event becomes a calendar view and returns user changes to the application.
flowchart LR
App[Application event data] --> Calendar[Experimental calendar]
Calendar --> Views[Day, Week, Month, or Agenda]
Views --> Actions[Create, move, resize, or delete]
Actions --> Updates[Application event updates]
Updates --> App
References: experimental/…/Calendar.md• L3-13 experimental/…/Calendar.md• L47-60 experimental/…/Calendar.vue• L75-130 experimental/…/Calendar.vue• L714-763 experimental/…/CalendarAgenda.vue• L29-61
Theme switching
Theme switching presents Light, Dark, and System choices as visual previews. A selected choice updates the shared color-scheme state and can also be controlled by a bound value, which lets the interface fit into a product settings flow.
ThemeSwitcher is deprecated on the experimental surface. New work should use Select with useColorScheme() as the replacement path. See Experimental theme switcher for the migration boundary.
References: experimental/…/ThemeSwitcher.vue• L22-67 experimental/…/ThemeSwitcher.vue• L71-149 experimental/…/ThemePreview.vue• L1-74 experimental/…/types.ts• L4-35
Workflow steppers
Workflow steppers show progress through an ordered process. They can present a compact segmented view or a vertical view with descriptions, metadata, and nested sub-steps. The current value controls which steps are complete, current, skipped, failed, or upcoming.
The stepper can describe a running or failed step and can make completed steps clickable for controlled backtracking. It does not move the workflow by itself; the host decides the next value. See Experimental stepper for its workflow and accessibility behavior.
References: experimental/…/Stepper.md• L17-85 experimental/…/Stepper.md• L87-93 experimental/…/Stepper.vue• L46-81 experimental/…/StepperHorizontal.vue• L3-39 experimental/…/StepperVertical.vue• L73-125
Change checklist
When these files or sections are changed, remember to consider these:
- Changes to experimental.ts must keep the four family exports aligned with their intended experimental import paths.
- Changes to package.json must keep the experimental subpath aligned with the files shipped to consumers.
- Changes to ListView behavior must keep selection, active-row state, pagination, load-more behavior, and the replacement list family aligned with List view.
- Changes to calendar event placement or range reporting must keep Day, Week, Month, and Agenda views aligned with Experimental calendar.
- Changes to ThemeSwitcher must preserve the shared color-scheme update path and the replacement guidance in Experimental theme switcher.
- Changes to Stepper state resolution must keep current, complete, skipped, loading, failed, nested, and clickable states aligned with Experimental stepper.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| An application treats an experimental import as a stable root-level contract | A release can break the application without the normal stability promise | Keep experimental imports isolated and use a public family when one exists |
| A parked family is removed before its replacement covers the needed workflow | Existing applications lose their migration bridge | Compare the replacement contract with the related child page before removal |
| Calendar data does not cover the visible or listed date range | Events at the edge of a view can be missing | Use the calendar range signal to load the full required span |
| A product keeps using the deprecated ThemeSwitcher for new work | Future removal can leave theme selection without a supported path | Use Select with useColorScheme() for new interfaces |
| The host changes a stepper's visual state without changing its controlled value | The displayed progress and the actual workflow can disagree | Treat the stepper value and completion flags as host-controlled workflow state |
Key files
| File | Why to read it |
|---|---|
| experimental.ts | Shows the experimental entry point and its exported interface families |
| package.json | Defines the published experimental package surface |
| experimental/…/ListView.vue | Shows the record browsing and selection role of ListView |
| experimental/…/ListFooter.vue | Shows the paging and incremental-loading contract |
| experimental/…/Calendar.md | Describes the calendar views, event flow, and editing model |
| experimental/…/Calendar.vue | Shows the application-facing calendar and range contracts |
| experimental/…/ThemeSwitcher.vue | Shows the theme choice interface and shared color-scheme connection |
| experimental/…/Stepper.md | Describes workflow progress, nested steps, and user-facing behavior |
| experimental/…/Stepper.vue | Shows the controlled step state and horizontal or vertical surface choice |