While building the interface, identify components and describe the desired behavior to the project AI.
Does this method fit your project, and how can you check?
- When would you use this method?
- When the user action is known and an interface is needed.
- How should you choose for your situation?
- Choose by task first: tabs for content switching, buttons for actions, forms for input; compare style afterward. Map entry and return for complex flows.
- What is easy to misunderstand?
- Do not copy sample labels, counts or business fields. Small content sets may not need pagination/search; essential actions must not rely only on hover, color or icons.
- How can you check that this works for your project?
- Check layout with real long text and empty data, then test keyboard/touch, focus, errors and return paths.
Try with this project: fill material and prepare the task
Edit the template with actual material, confirm, then copy into the current project conversation. Mark unknowns as undecided and replace examples as needed.
Confirmed · personalized content ready to copy
Page and target location: [fill in]
What should the user be able to do here: [fill in]
What does not meet your expectations now: [fill in]
Candidate component or screenshot: [fill in or none]
Devices, existing style and invariants: [fill in]
Choose the component for this location by task before appearance. Explain fit and mismatch conditions; do not generate a whole page.
Explain your conclusions using these points: A recommended component, an alternative if needed, applicable states and concrete pointer/keyboard/touch checks.FRONTEND & UI
Frontend & UI
UI is the interface people see and operate; the frontend presents its content and interactions. Map one user flow before choosing components.
Choose the task to complete now
Describe purpose, colors, spacing, and references. Ask AI for one page first. Includes a complete style prompt.
② Edit one part of an existing pageIdentify location, current and desired behavior, and what stays unchanged. Includes focused-edit and component prompts.
③ Find a component nameUse the dictionary below to find a name or use, inspect an example, and provide it to AI.
Start with one clear page, then expand. For example, a journal can start with write → save → view without selecting dozens of components first.
Component dictionary · 212 entries / 25 categories
Search names, aliases, or descriptions. Open an entry for its prompt and available example. Each entry includes a visual reference, local exercise or simplified example; none connects to real business services.
212
No match. Clear the category or try a shorter name such as tabs or input.
Build a single Underlined Tabs component, not a full page.
Tabs with Sliding IndicatorTabs with Sliding Indicator · Local exerciseBuild a single Tabs with Sliding Indicator component, not a full page.
Pill TabsPill Tabs · Local exerciseBuild a single Pill Tabs component, not a full page.
Segmented ControlSegmented Control · Local exerciseBuild a single Segmented Control, not Tabs and not a full page.
Contained TabsContained Tabs · Local exerciseBuild a single Contained Tabs component, not a full page.
Folder-style TabsFolder-style Tabs · Local exerciseBuild a single Folder-style Tabs component, not a full page.
Vertical TabsVertical Tabs · Local exerciseBuild a single Vertical Tabs component, not a full page.
Icon TabsIcon Tabs · Local exerciseBuild a single Icon Tabs component, not a full page.
Icon + Label TabsIcon + Label Tabs · Local exerciseBuild a single Icon + Label Tabs component, not a full page.
Scrollable TabsScrollable Tabs · Local exerciseBuild a single Scrollable Tabs component, not a full page.
Closable TabsClosable Tabs · Local exerciseBuild a single Closable Tabs component like browser tabs, not a full page.
Draggable TabsDraggable Tabs · Local exerciseBuild a single Draggable Tabs component, not a full page.
Content SwitcherContent Switcher · Local exerciseBuild a single Content Switcher for alternate views of the same dataset, not a full page.
StepperStepper · Local exerciseBuild a single numbered Stepper for a multi-step wizard, not a full page.
Dot StepperDot Stepper · Local exerciseBuild a single Dot Stepper, not a full page.
Chevron StepperChevron Stepper · Local exerciseBuild a single Chevron Stepper (arrow/fishbone), not a full page.
Filled Chevron StepperFilled Chevron Stepper · Local exerciseBuild a single Filled Chevron Stepper, not a full page.
Vertical StepperVertical Stepper · Local exerciseBuild a single Vertical Stepper, not a full page.
Progress TrackerProgress Tracker · Local exerciseBuild a single Progress Tracker for order/logistics, not a wizard stepper.
Primary ButtonPrimary Button · Local exerciseBuild a single Primary Button, the main call to action, not a toolbar.
Secondary ButtonSecondary Button · Local exerciseBuild a single Secondary Button meant to sit beside a primary CTA.
Outline ButtonOutline Button · Local exerciseBuild a single Outline Button.
Ghost ButtonGhost Button · Local exerciseBuild a single Ghost Button for toolbars.
Text ButtonText Button · Local exerciseBuild a single Text Button, the lightest action.
Link ButtonLink Button · Local exerciseBuild a single Link Button that feels like navigation.
Icon ButtonIcon Button · Local exerciseBuild a single Icon Button.
Circular Icon ButtonCircular Icon Button · Local exerciseBuild a single Circular Icon Button for a compact add action.
Floating Action ButtonFloating Action Button · Local exerciseBuild a single Floating Action Button (FAB).
Destructive ButtonDestructive Button · Local exerciseBuild a single Destructive Button for irreversible actions.
Loading ButtonLoading Button · Local exerciseBuild a single Loading Button that blocks repeat submits.
Disabled ButtonDisabled Button · Local exerciseBuild a single Disabled Button that cannot be pressed.
Split ButtonSplit Button · Local exerciseBuild a single Split Button.
Dropdown ButtonDropdown Button · Local exerciseBuild a single Dropdown / Menu Button.
Button GroupButton Group · Local exerciseBuild a single connected Button Group.
Toggle ButtonToggle Button · Local exerciseBuild a single Toggle Button with pressed and unpressed states.
Toggle GroupToggle Group · Local exerciseBuild a single Toggle Group for formatting.
ToolbarToolbar · Local exerciseBuild a single icon Toolbar.
Overflow ButtonOverflow Button · Local exerciseBuild a single Overflow / Kebab button.
Meatball MenuMeatball Menu · Local exerciseBuild a single Meatball Menu button.
Speed DialSpeed Dial · Local exerciseBuild a single Speed Dial.
Text InputText Input · Local exerciseBuild a single labeled Text Input, not a form page.
TextareaTextarea · Local exerciseBuild a single Textarea, not a rich editor.
Search FieldSearch Field · Local exerciseBuild a single Search Field.
Password FieldPassword Field · Local exerciseBuild a single Password Field.
Number InputNumber Input · Local exerciseBuild a single Number Input.
SpinbuttonSpinbutton · Local exerciseBuild a single Spinbutton.
SelectSelect · Local exerciseBuild a single Select dropdown.
Multi-selectMulti-select · Local exerciseBuild a single Multi-select.
ComboboxCombobox · Local exerciseBuild a single Combobox (searchable select), not a plain Select.
AutocompleteAutocomplete · Local exerciseBuild a single Autocomplete text field.
CascaderCascader · Local exerciseBuild a single Cascader for hierarchical paths.
Tree SelectTree Select · Local exerciseBuild a single Tree Select.
CheckboxCheckbox · Local exerciseBuild a Checkbox group.
Radio GroupRadio Group · Local exerciseBuild a Radio Group.
SwitchSwitch · Local exerciseBuild a single Switch for binary on/off.
Tri-state CheckboxTri-state Checkbox · Local exerciseBuild a Tri-state Checkbox.
SliderSlider · Local exerciseBuild a single horizontal Slider.
Range SliderRange Slider · Local exerciseBuild a Range Slider with two thumbs.
Vertical SliderVertical Slider · Local exerciseBuild a Vertical Slider.
Stepped SliderStepped Slider · Local exerciseBuild a Stepped / discrete Slider.
Date PickerDate Picker · Local exerciseBuild a Date Picker.
Date Range PickerDate Range Picker · Local exerciseBuild a Date Range Picker.
Time PickerTime Picker · Local exerciseBuild a Time Picker.
DateTime PickerDateTime Picker · Local exerciseBuild a DateTime Picker.
CalendarCalendar · Local exerciseBuild an inline Calendar month view, not a popover field.
Week PickerWeek Picker · Local exerciseBuild a Week Picker that selects a full ISO week.
Month PickerMonth Picker · Local exerciseBuild a Month Picker.
Year PickerYear Picker · Local exerciseBuild a Year Picker.
OTP InputOTP Input · Local exerciseBuild a six-digit OTP Input.
Tag InputTag Input · Local exerciseBuild a Tag Input.
Chip InputChip Input · Local exerciseBuild a Chip Input where values render as removable chips inside the field (same family as tag input, chip-forward).
Mentions InputMentions Input · Local exerciseBuild a Mentions Input.
Rich Text EditorRich Text Editor · Simplified exampleBuild a compact Rich Text Editor (WYSIWYG).
Markdown EditorMarkdown Editor · Simplified exampleBuild a Markdown Editor with a preview toggle.
Code EditorCode Editor · Simplified exampleBuild a compact Code Editor.
Inline EditInline Edit · Local exerciseBuild Inline Edit.
Masked InputMasked Input · Local exerciseBuild a Masked Input with a visible pattern.
Phone InputPhone Input · Local exerciseBuild a Phone Input.
Currency InputCurrency Input · Local exerciseBuild a Currency Input.
URL InputURL Input · Local exerciseBuild a URL Input.
Color PickerColor Picker · Local exerciseBuild a Color Picker.
Rating ControlRating Control · Local exerciseBuild a star Rating Control 1–5.
File InputFile Input · Local exerciseBuild a native-style File Input.
Upload ButtonUpload Button · Local exerciseBuild an Upload Button.
DropzoneDropzone · Local exerciseBuild a Dropzone.
Upload ListUpload List · Local exerciseBuild an Upload List / queue.
Dropdown MenuDropdown Menu · Local exerciseUse a dropdown menu anchored to an actions button..
Context MenuContext Menu · Local exerciseUse a context menu on right-click with copy rename and delete..
MenubarMenubar · Local exerciseUse a menubar with File Edit View Help and nested menus..
Navigation MenuNavigation Menu · Local exerciseUse a navigation menu with section dropdowns..
Mega MenuMega Menu · Local exerciseUse a mega menu with grouped product columns..
Overflow MenuOverflow Menu · Local exerciseUse an overflow menu triggered by a kebab icon..
BreadcrumbBreadcrumb · Local exerciseUse breadcrumbs for hierarchical location..
PaginationPagination · Local exerciseUse pagination with page numbers and previous/next controls..
Sidebar NavigationSidebar Navigation · Local exerciseUse a sidebar navigation with Dashboard Projects Analytics Settings..
Navigation RailNavigation Rail · Local exerciseUse a compact navigation rail with icon destinations..
Bottom NavigationBottom Navigation · Local exerciseUse bottom navigation with Home Search Create and Profile..
Top NavigationTop Navigation · Local exerciseUse a top navigation bar with logo, links and a login action..
Anchor NavigationAnchor Navigation · Local exerciseUse in-page anchor navigation that scrolls between sections..
CardCard · Visual referenceUse a basic card with title and body..
Elevated CardElevated Card · Visual referenceUse elevated cards with subtle shadows and rounded corners..
Outlined CardOutlined Card · Visual referenceUse an outlined card with a 1px border and no shadow..
Interactive CardInteractive Card · Local exerciseUse an interactive clickable card with hover and pressed states..
Selectable CardSelectable Card · Local exerciseUse a selectable card with a selected treatment..
Metric CardMetric Card · Visual referenceUse a metric / stat card with value, label and delta..
Media CardMedia Card · Visual referenceUse a media card with image on top and text below..
Horizontal CardHorizontal Card · Visual referenceUse a horizontal card with media on the left and content on the right..
Dashboard CardDashboard Card · Visual referenceUse a dashboard widget card with a title and metric..
TableTable · Local exerciseUse a static table for read-only tabular data..
Data TableData Table · Local exerciseUse a data table with sortable headers..
Data GridData Grid · Local exerciseUse an interactive data grid with cell focus..
Editable TableEditable Table · Local exerciseUse an editable table where cells become inputs on click..
Expandable TableExpandable Table · Local exerciseUse an expandable table with nested row details..
Tree TableTree Table · Local exerciseUse a tree table with expandable hierarchical rows..
ListList · Local exerciseUse a simple selectable list..
Structured ListStructured List · Local exerciseUse a structured list with consistent columns per row..
Tree ViewTree View · Local exerciseUse a tree view with expand/collapse disclosure..
Description ListDescription List · Visual referenceUse a description list for label-value pairs..
TimelineTimeline · Visual referenceUse a vertical timeline of events..
Kanban BoardKanban Board · Local exerciseUse a kanban board with draggable cards across columns..
Gantt ChartGantt Chart · Visual referenceUse a compact gantt chart with time bars..
SchedulerScheduler · Visual referenceUse a scheduler with hours as columns..
Calendar ViewCalendar View · Local exerciseUse a calendar view with events on dates..
Masonry GridMasonry Grid · Visual referenceUse a masonry grid of uneven image tiles..
CarouselCarousel · Local exerciseUse a carousel with previous/next controls..
GalleryGallery · Local exerciseUse a gallery grid that selects a featured image..
BadgeBadge · Visual referenceUse a numeric badge on a host control, not as a category tag..
TagTag · Visual referenceUse a tag to represent a category..
ChipChip · Local exerciseUse a chip that can be dismissed..
Filter ChipFilter Chip · Local exerciseUse filter chips with a selected check treatment..
Status BadgeStatus Badge · Visual referenceUse a status badge with a color dot and short label..
LozengeLozenge · Visual referenceUse a lozenge for compact status text such as IN PROGRESS..
AccordionAccordion · Local exerciseUse an accordion of stacked disclosures..
CollapsibleCollapsible · Local exerciseUse a single collapsible section for advanced settings..
DisclosureDisclosure · Local exerciseUse a disclosure / show-hide control with a chevron..
TooltipTooltip · Local exerciseBuild a single Tooltip.
PopoverPopover · Local exerciseBuild a single Popover that can hold actions, not just text.
Hover CardHover Card · Local exerciseBuild a single Hover Card that previews a person.
ModalModal · Local exerciseBuild a single Modal Dialog.
Alert DialogAlert Dialog · Local exerciseBuild a single Alert Dialog that must be answered.
PopconfirmPopconfirm · Local exerciseBuild a single Popconfirm anchored to a dangerous action.
DrawerDrawer · Local exerciseBuild a single right-side Drawer.
SheetSheet · Local exerciseBuild a single edge Sheet (not a modal, not a bottom sheet).
Bottom SheetBottom Sheet · Local exerciseBuild a single Bottom Sheet.
AlertAlert · Visual referenceUse an alert with an icon and short warning copy..
Inline AlertInline Alert · Visual referenceUse an inline message next to the related field..
BannerBanner · Visual referenceUse a full-width banner for system maintenance messaging..
ToastToast · Local exerciseUse a toast in the corner that auto-dismisses..
SnackbarSnackbar · Local exerciseUse a snackbar with a single action such as Undo..
NotificationNotification · Visual referenceUse a notification card with title and body..
SpinnerSpinner · Local exerciseUse a spinner for indeterminate short waits..
Skeleton LoaderSkeleton Loader · Local exerciseUse skeleton placeholders matching the final layout..
Shimmer LoadingShimmer Loading · Local exerciseUse shimmer loading with a moving highlight..
Progress BarProgress Bar · Local exerciseUse a labeled progress bar showing percent complete..
Circular ProgressCircular Progress · Local exerciseUse circular progress with a percent label..
Indeterminate ProgressIndeterminate Progress · Local exerciseUse an indeterminate progress animation when percent is unknown..
Determinate ProgressDeterminate Progress · Local exerciseUse determinate progress bound to a known percentage..
Empty StateEmpty State · Local exerciseUse an empty state with explanation and a create action..
Error StateError State · Local exerciseUse an error state with retry..
Success ResultSuccess Result · Local exerciseUse a success result page with a confirmation and next step..
Error PageError Page · Local exerciseUse an exception page for 404 or 500..
Resizable PanelsResizable Panels · Local exerciseUse resizable panels with a draggable gutter..
Split PaneSplit Pane · Visual referenceUse a split pane / split view for tree and editor..
Window SplitterWindow Splitter · Local exerciseUse a window splitter pattern with a keyboard-accessible gutter..
Draggable ListDraggable List · Local exerciseUse a draggable sortable list with drag handles..
Reorderable ListReorderable List · Local exerciseUse a reorderable list with up/down or drag..
Resizable SidebarResizable Sidebar · Local exerciseUse a resizable sidebar with a drag edge..
Master-detail LayoutMaster-detail Layout · Local exerciseUse a master-detail layout with a selectable list and a detail pane..
Inspector PanelInspector Panel · Local exerciseUse an inspector / property panel with collapsible sections..
Filter BarFilter Bar · Local exerciseUse a filter bar of compact controls above a table..
Faceted FilterFaceted Filter · Local exerciseUse faceted filters with counts per facet..
Query BuilderQuery Builder · Local exerciseUse a query builder with field operator value rows..
Command PaletteCommand Palette · Local exerciseAdd a Cmd+K command palette with fuzzy search, keyboard navigation and grouped commands..
Command MenuCommand Menu · Local exerciseUse a command menu dialog grouped by category..
Chat ComposerChat Composer · Local exerciseUse a chat composer with send..
Message BubbleMessage Bubble · Visual referenceUse message bubbles for assistant and user turns..
Conversation ListConversation List · Local exerciseUse a conversation list with title and timestamp..
Prompt ComposerPrompt Composer · Local exerciseUse a prompt composer with a large field and send..
Agent Status IndicatorAgent Status Indicator · Local exerciseUse an agent status indicator with Running Thinking and Idle..
Tool Call CardTool Call Card · Local exerciseUse a tool call card showing tool name and compact arguments..
Thinking PanelThinking Panel · Local exerciseUse a collapsible reasoning / thinking panel..
Terminal PanelTerminal Panel · Visual referenceUse a terminal panel with monospace output..
Diff ViewerDiff Viewer · Visual referenceUse a diff viewer with added and removed lines..
File TreeFile Tree · Local exerciseUse a file tree / explorer tree..
JSON Tree ViewerJSON Tree Viewer · Local exerciseUse a JSON tree viewer with expandable keys..
Log ViewerLog Viewer · Visual referenceUse a log viewer with timestamp and level..
Markdown PreviewMarkdown Preview · Visual referenceUse a markdown preview pane..
Code BlockCode Block · Local exerciseUse a code block with language label..
Code SnippetCode Snippet · Local exerciseUse a code snippet with a copy button..
Prompt SuggestionsPrompt Suggestions · Local exerciseUse suggestion chips that fill the composer..
Citation ChipCitation Chip · Local exerciseUse citation chips / source cards linking to evidence..
Tree ViewTree View · Local exerciseUse a tree view with expand and collapse..
File TreeFile Tree · Local exerciseUse a file explorer tree..
TreegridTreegrid · Local exerciseBuild a treegrid with name and size columns and expandable rows..
Pull-to-refreshPull-to-refresh · Local exerciseUse pull-to-refresh on a mobile list..
Swipe ActionsSwipe Actions · Local exerciseUse swipe actions revealing Delete behind a row..
Long-press Context MenuLong-press Context Menu · Local exerciseUse a long-press context menu on a list item..
Page IndicatorPage Indicator · Local exerciseUse pagination dots for paged cards..
Swipeable CardsSwipeable Cards · Local exerciseUse swipeable cards with left/right actions..
Safe AreaSafe Area · Visual referenceUse safe-area padding for notch and home indicator..
Navigation BarNavigation Bar · Visual referenceUse a mobile navigation bar with back title and action..
Large-title Navigation BarLarge-title Navigation Bar · Visual referenceUse a large-title navigation bar that compacts on scroll..
Three-pane LayoutThree-pane Layout · Visual referenceUse a three-pane layout: sidebar, editor and inspector..
Activity BarActivity Bar · Local exerciseUse an activity bar of icon destinations..
Explorer PanelExplorer Panel · Local exerciseUse an explorer panel listing files..
Editor TabsEditor Tabs · Local exerciseUse editor tabs for open documents..
Editor PaneEditor Pane · Visual referenceUse an editor pane with a monospace canvas..
Property PanelProperty Panel · Local exerciseUse a property panel of labeled fields..
Status BarStatus Bar · Visual referenceUse a status bar with branch, problems and encoding..
Command BarCommand Bar · Local exerciseUse a command bar of labeled icon actions..
Dockable PanelDockable Panel · Local exerciseUse a dockable panel that can pin to an edge..
Floating PanelFloating Panel · Local exerciseUse a floating panel with a drag handle..
Edit the template with actual material, confirm, then copy into the current project conversation. Mark unknowns as undecided and replace examples as needed.
Confirmed · personalized content ready to copy
[Background] Paste the approved project summary; keep unknowns explicit.
[Audience] Actual users and their main task.
[Inputs] The current page or requirements for a new one. Read the attached originals without inventing details.
[Goal] Read page requirements and the style brief. Build one representative page with content order, feedback, and mobile layout. Preserve existing rules, clarify uncertain targets, and deliver an operable preview with checks.
[Limits] Preserve approved scope; do not add features or replace the approach unasked.
Working instructions:
1. Check inputs and ask one decision-changing question if material is missing.
2. Explain where to click, paste, or confirm in plain language. Perform organization and execution that AI can handle.
3. Complete only this step, preserving existing files and a recoverable version.
4. Provide artifact locations, expected visible results, and concrete checking steps.
5. Separate advice, execution, checked results, and unverified work. Text is not proof of execution.
[Completion] An approved style brief and an operable page.
[Continuation] State what to carry to the next step. Obtain explicit confirmation before payments, data deletion, or release.Common confusion and next steps
Tabs switch content; a Slider changes a value. If appearance changes without content, clarify whether content or styling should change, then ask AI to fix it. After components work, test actual submission and results in the complete flow.
Connect the complete flow →