Skip to content

AI App Builder

Create your app with the help of AI and natural language

Switch to Design view using the Design Menu Item icon in the main menu.

AI is at the heart of Draftbit Next, allowing you to use natural language to instruct the AI what to build allowing you to create apps without needing to write a single line of code.

The Design view is your main work area where you can chat with the AI Agent, adjust component styles, preview changes in real-time, manage screens, and more.

AI App Builder

#NameDescription
1Screens ListA list of all the screens in your app
2Component TreeThe components used on the selected screen
3Preview PanelA canvas where you can preview your app on different devices
4Utility PanelAccess AI chat, component styling, and other functionality

Screens are the base element of your app and contain any number of components that make up the user interface (UI). Every app needs at least one screen. The screens in your app are listed here. You can also add more screens or folders directly. The Screens List is also where your app’s navigation structure is managed, since the way screens and folders are arranged determines the routes and flows available in your app.

Screens List

IconActionDescription
Add Screen Add ScreenAdds a new Screen to the app
Add Screen Add FolderAdds a new Screen Folder to the app

Each screen is built-up out of smaller components in a hierarchy from top to bottom. Components can sometimes also be nested within/below another ‘parent’ component. The Component Tree is a visual representation of the component hierarchy on the selected screen.

From here, you can select components on the screen which will update the context of the Utility Panel on the right side of the builder - including the Style and Content tabs.

Component Tree

IconActionDescription
Design Blocks Design BlocksOpen and browse the Design Blocks gallery

You can also open and browse the Design Blocks gallery using the Design Blocks button. Design Blocks help the agent understand your design intentions. Choose a block to pass to the agent as a starting point for adding new sections to your screen. The agent will customize it to your liking in the chat and match your app’s existing theme.

Design Blocks

Draftbit offers a powerful app preview mode that lets you see and interact with all the screens in your app at the same time on an infinite canvas.

Within the Preview Panel in the center of the Builder, you can add one or more preview devices so that you can see changes being made as they happen in real-time on different types of devices. Pan and zoom to get a better view, choose between web (laptop/desktop) and native (iOS/Android) devices, change the device orientation (landscape/portrait), and switch device sizes.

Preview Panel - Top

IconNameDescription
Switcher Route ViewRoute View
  • Single Route View: Preview one specific route at a time. Use the route input to navigate to different screens.

  • All Routes View: Preview all routes simultaneously in a grid layout. Great for seeing the overall app structure.

Enable Selection Mode Enable Selection ModeHighlight and select components inside the preview
Show Preview Logs Show Preview LogsView build output and errors while working in preview


Preview Panel - Bottom

IconNameDescription
Add Device Add DeviceAdds a new preview device to the preview canvas.
Zoom Out Zoom OutReduces the level of zoom in the preview area
Zoom In Zoom InIncreases the level of zoom in the preview area
Fit All Devices Fit All DevicesAdjusts the zoom level so that all preview devices fit within the visible preview area
Reset Zoom Reset ZoomResets the preview zoom level to 100%

Within the Utility Panel on the right side of the Builder, you can access these features:

IconNameDescription
Chat Tab Chat TabInteract with the AI Agent to build your app.
Styles Tab Styles TabControl the visual appearance and layout of the selected component.
Content Tab Content TabUpdate the content of the selected component.
Code Tab Code TabEdit the code of the selected component.
Config Tab Config TabConfigure the selected component.
Activity Tab Activity TabView commit history and other activity for the app.

Switch to AI Chat tab using the Chat Tab icon in the Utility Panel.

The AI Chat tab in the Utility Panel is where you can interact with the AI Agent, giving it instructions on what to build in your app.

Create a new thread using the New Thread button. You can provide additional context to the agent in your chat messages by including a specific component selection, file reference, or image attachment.

AI Chat

IconNameDescription
Add component Add componentSelect a component from the canvas to add it to your message.
Add reference Add referenceReference files and assets from your project in your message.
Add attachment Add attachmentAttach an image to provide visual context for your message.
Thread history Thead historyView and manage all your previous AI chat threads

The Advanced Configuration section allows you to configure the AI Agent and model to use for the task. You can select the Agent and model from the dropdown menus.

Advanced Configuration

NameDescription
AgentThe AI Agent to use for the task. Anthropic Claude Code (default), OpenAI Codex, Google Gemini (upcoming)
ModelThe model to use for the task. Options depend on the Agent selected.
ModeThe mode to use for the task. Full or Read Only.

The Agent Run Summary is a receipt of the time and actions taken by the AI Agent to complete the task you’ve assigned it along with the total cost.

Agent Run Summary

NameDescription
Time WorkedThe total time taken by the AI Agent to complete the task.
Actions TakenThe total number of actions taken by the AI Agent to complete the task.
Agent Usage ($)The total cost of the actions taken by the AI Agent to complete the task.

Switch to Styles tab using the Styles Tab icon in the Utility Panel.

Use the Styles tab to control the visual appearance and layout of the selected component. Values map to NativeWind utility classes, and you can target specific responsive sizes using the Breakpoint selector. The top of the panel also shows Current Classes so you can review or add classes directly.

Styles

SectionDescription
Current ClassesView and manage the utility classes applied to the component.
TypographyChange the font color, size, weight, decoration, and more.
BackgroundSet background color and optional blend modes for overlays.
FlexEnable flexbox and control direction, grow/shrink, gaps, alignment, and justification.
SpacingManage margins and padding, either overall or per-side.
BorderAdjust border width, radius, style, and color.
ShadowApply elevation by choosing a shadow size and color.
LayoutControl position, visibility, display, inset/offsets, overflow, aspect ratio, and z-index.
SizingDefine height and width, including min/max constraints.

Switch to Content tab using the Content Tab icon in the Utility Panel.

Some components, like Text or Button, accept a value. If you have selected a component in the Component Tree which can accept a text value, the Content tab will become available. This is a quick way for you to update the value without needing to ask the AI Agent or manually edit the file in the Code Editor.

Content

Switch to Code tab using the Code Tab icon in the Utility Panel.

The Code tab allows you to edit the code of the selected component directly in the browser. This is a quick way for you to make changes without needing to ask the AI Agent or manually edit the file in the Code Editor.

Content

Switch to Config tab using the Config Tab icon in the Utility Panel.

The Config tab has additional configuration options depending on the selected screen or component.

Config

NameDescription
File LabelUse this label to add a more descriptive name to your file. This does not affect the actual file name.

Switch to Activity tab using the Activity Tab icon in the Utility Panel.

The Activity tab will let you view and manage recent actions, events, or changes related to your app and its components. This can include AI agent actions, user-made edits, file modifications, and other important events within your project. The Activity tab also helps with accountability and collaboration by allowing team members to stay up to date with what’s happening in the project.

Activity

The Save button in the top bar of the Builder will indicate when your app has unsaved changes. Click the Save Menu icon in the top bar of the Builder to open the save options where you can choose to discard or save your changes.

Here you can add a descriptive message that will help you identify this save-point at a later date. Click the Save Changes button to complete the process.

Save Changes

If you’d like to discard your changes and go back to your last save point, click the Discard Changes button to revert your changes.

If you decide you want to go back to a previous save-point, you can easily roll back your changes. Click the Save History icon in the top bar of the Builder to open the save history for your app.

Save History

Here you can choose a save-point in your history and once selected will show you which files were changed at that time. Once you locate a point to restore, click the Roll back save-point button.