Base44 gives you several ways to design your app: the Theme panel for global colors and fonts, Edit mode for per-element styling, and AI chat for broader changes. This page covers each approach with prompts and examples you can use directly.Documentation Index
Fetch the complete documentation index at: https://docs.base44.com/llms.txt
Use this file to discover all available pages before exploring further.

Working with AI on design
AI is at the center of how you design in Base44. You can just describe what you want in natural language, and AI updates code, styles, and components for you. Edit mode lets you tweak what you see on screen, and AI Controls help you set boundaries.Using the AI chat as your designer
Using the AI chat as your designer
- Ask for a critique before asking for changes.
- Ask for a plan in Discuss mode, approve it, and then ask AI to implement it.
- Always clarify the scope of the design: the whole app, one page, or one element.
Using Edit mode for local tweaks
Using Edit mode for local tweaks

- Select a section and adjust colors, spacing, and layout visually.
- Ask AI to restyle just one component instance.
- Delete elements you no longer need using the Delete icon .
- Use it as a safe sandbox before you roll a pattern out to the rest of your app.
Using AI Controls, scope, and safety
Using AI Controls, scope, and safety
- Set design guidelines that apply to every prompt.
- Freeze specific files or pages so AI does not change them.
- Establish a tone such as minimal, bold, or playful.
- Use AI Controls to freeze specific files or pages so AI does not change them.
- Use the Revert option on individual prompts to undo a single change.
- Use version history to roll back to an earlier state.
Critique loops and exploring alternatives
Critique loops and exploring alternatives
Choosing from AI design options
Choosing from AI design options

Global changes
The Theme panel lets you set colors and fonts for your entire app from one place. Any change you make applies everywhere instantly, so you do not have to update elements one by one. The panel shows a preview of your current palette at the top, followed by a list of color roles you can customize, such as background, foreground, primary, secondary, card, and popover. Click Fonts at the top of the panel to set your app’s font instead.
Theme colors
Click any color role to update it across your entire app. To change a color in your theme:- Click the Theme icon at the top of your app editor.
- Click any color role in the list to open the color picker. The bar at the top of the panel is a preview of your current palette and is not clickable.
- Choose your color by dragging the picker, entering a hex value, using the eyedropper to sample any color on screen, or picking from a palette using the dropdown at the bottom of the picker.
- Click Apply to preview the change in your app.
- Click Save & Apply in the Theme panel to apply it everywhere.
Update my theme to match the colors used in my app.Fonts
Set your app’s fonts from the Fonts tab in the Theme panel. A dropdown appears for each font your app uses. To change your app fonts:- Click the Theme icon at the top of your app editor.
- Click the Fonts tab.
- Click a dropdown and select a font. You can search by name or browse Brand Fonts and All Fonts.
- Click Save & Apply to apply the changes across your app.

Element changes
When you are in Edit mode, you can style any individual element directly. Select an element and use the icons in the Edit toolbar to change its colors, typography, spacing, corner radius, opacity, or add custom Tailwind classes. The options available in the toolbar change depending on the type of element you select.
Colors
You can set the background and text color of any element using the colors defined in your theme or a custom color.
- Click Edit at the top of the editor.
- Select the element you want to change.
- Click the Colors icon in the Edit toolbar.
- Select the part you want to change, such as background or text.
- Choose your color:
- Theme: pick from the color roles defined in your theme, such as background, foreground, card, and primary.
- Custom: drag the picker, enter a hex value, use the eyedropper to sample any color on screen, or pick from a palette using the dropdown at the bottom of the picker.
- Click Apply to confirm the change.
Typography
When you select a text element, the Edit toolbar shows controls for font family and size. A separate Text Style panel gives access to weight, alignment, decoration, and transform. To edit text content:- Click Edit at the top of the editor.
- Select the text element.
- Click the T icon in the Edit toolbar.
- Type your changes in the Text Content field.
- Click Edit at the top of the editor.
- Select the text element.
- Click the font family dropdown in the Edit toolbar.
- Search or browse under Brand Fonts or All Fonts and click a font to apply it.
- Click Edit at the top of the editor.
- Select the text element.
- Click the size dropdown in the Edit toolbar.
- Choose a size. Available sizes range from 12 to 128.
- Click Edit at the top of the editor.
- Select the text element.
- Click the Text Style icon in the Edit toolbar.
- Adjust the settings you want to change:
- Size: choose a named size such as Base, SM, or LG.
- Weight: set the weight from thin to bold.
- Decoration: underline or strikethrough.
- Alignment: left, center, right, or justify.
- Transform: none, uppercase, lowercase, or capitalize.
Spacing
You can set the margin and padding for any element in px, controlling each side independently. To change the spacing of an element:- Click Edit at the top of the editor.
- Select the element you want to change.
- Click the Spacing icon in the Edit toolbar.
- Enter values in px for margin and padding. Use the horizontal and vertical shorthand controls to set both sides at once.

Corner radius
You can round the corners of any element by entering a value in px. To change the corner radius of an element:- Click Edit at the top of the editor.
- Select the element you want to change.
- Click the Corners icon in the Edit toolbar.
- Enter a value in px or use the arrows to adjust it.
Opacity
You can make any element fully opaque, semi-transparent, or anywhere in between. To change the opacity of an element:- Click Edit at the top of the editor.
- Select the element you want to change.
- Click the Opacity icon in the Edit toolbar.
- Drag the slider or enter a value from 0 (fully transparent) to 100 (fully opaque).
Tailwind classes
For styling not covered by the other options, you can enter any Tailwind CSS class directly. To add Tailwind classes to an element:- Click Edit at the top of the editor.
- Select the element you want to change.
- Click the Tailwind Classes icon in the Edit toolbar.
- Type any Tailwind CSS class. For example,
shadow-lgadds a large shadow andborder border-gray-200adds a subtle border.
Design system
These sections cover how to establish consistent, app-wide design patterns using the AI chat. Think of them as the rules layer that makes your global theme and individual element changes feel cohesive.Color system
Color is one of your strongest tools to set mood and guide attention. Start by defining roles rather than random hex codes. Aim for:- 1 primary brand color
- 1 secondary color
- 1 accent color for highlights
- 3 to 5 neutral grays for backgrounds, surfaces, and borders
- Clear colors for success, warning, and error states
I want AI to build a color system for me
I want AI to build a color system for me
I have hex codes I want to use
I have hex codes I want to use
I have a color palette image I want to use
I have a color palette image I want to use

Typography system
Typography controls how readable and scannable your app feels. It is better to have a few clear text styles than many similar ones. Define roles such as:- Page title
- Section heading
- Body text
- Small metadata such as labels and timestamps
Adding custom fonts (for example Google Fonts)
Adding custom fonts (for example Google Fonts)
- Get the embed snippet (for example from Google Fonts at https://fonts.google.com).
- Ask AI to add it to
Layout.jsand wire it into your type system.

Spacing and density
Spacing and density control how comfortable your app feels to use. A simple spacing scale prevents random gaps and cramped sections. You can define a scale such as 4, 8, 12, 16, 24 and ask AI to apply it:Core elements and states
Once color, type, and spacing are in place, standardize the building blocks you use everywhere. Focus on:- Buttons (primary, secondary, and text only)
- Cards and panels
- Navigation bars and sidebars
- Form fields (default, focus, error, disabled)
- Chips, tags, and badges if you use them
Images and visual assets
Visual assets such as images, icons, and videos shape how your app feels. AI can help you create, place, style, and connect them to your data and code.Hero images and visual assets
Hero images and visual assets

- Open the relevant page file such as
Store.jsin code view. - Find the
<img>tag. - Update the
srcattribute with your own image URL.

Generating videos with AI
Generating videos with AI
Reference images
Reference images

- Click the Upload icon (+) on the AI chat.
- Upload an inspiration image or screenshot.
- Tell AI exactly what you want to borrow and what to ignore.
Copying styles from design tools (for example Figma)
Copying styles from design tools (for example Figma)
- In Figma, select the element whose style you want to copy.
- Switch to Dev mode and view the Code panel.
- Copy the relevant CSS line, for example a gradient background:
background: linear-gradient(180deg, #C2C9B5 -1.25%, #EBEBEB 68.58%, #E6FC88 104.25%); - In Base44, open Visual Edit and select the matching element.
- Paste the style into an AI prompt and tell Base44 exactly what to change, for example:

Icons and illustration
Icons and illustration
- Replace generic icons with more meaningful ones.
- Align icon sizes and stroke widths.
- Pair icons with text labels where clarity matters.
Layout and responsiveness
Layout controls how information is grouped and scanned. Responsiveness ensures that layout works on every device.Page types and templates
Page types and templates
- Landing and marketing pages
- Dashboards
- Lists and tables
- Detail pages
- Forms and wizards
- Settings and profile pages
Hierarchy and white space
Hierarchy and white space
Responsive behavior
Responsive behavior
Customizing your app for mobile
Your Base44 app automatically adjusts its layout for any device, but you can use the editor’s mobile preview and customization tools to fine-tune how your app looks and works on mobiles. This lets you create a comfortable, seamless experience for mobile users.
- Go to your app editor.
- Click the Screen icon at the top and select Mobile.
- Review your layout, navigation, and content.
- Make changes as needed either by:
- Asking the AI chat to make changes to mobile.
- Using Edit mode in the AI chat to change the design or layout of specific elements.
Page types
Different page types need different design choices. You can use these patterns as starting points and adapt them with AI.Landing and marketing pages
Landing and marketing pages
- Use a simple header with minimal navigation.
- Make the hero section clear and focused, with a short headline and one primary button.
- Use supporting sections for benefits, features, and social proof.
- Keep forms short and above the fold when possible.
Dashboards
Dashboards
- Put the most important metric or status near the top left.
- Group related metrics in cards with clear titles and short descriptions.
- Avoid too many chart types on one screen, reuse a few standard ones.
- Keep filters and time ranges clearly visible and consistent.
Lists and tables
Lists and tables
- Use clear column headings with enough spacing.
- Keep row height comfortable, not too tight.
- Use zebra striping or subtle row separators for large tables.
- Keep actions either at the end of the row or in a consistent menu.
- Add empty, loading, and error states.
Detail pages
Detail pages
- Put the object title and primary actions near the top.
- Use a clear layout with one main content column and optional side panel.
- Group related information with headings or tabs.
- Keep destructive actions visually distinct and placed carefully.
Forms and wizards
Forms and wizards
- Group related fields under headings.
- Use a single column layout for most forms.
- Show progress for long, multi step flows.
- Place error messages near the fields and make them clear.
- Use clear labels and helper text.
Themes and modes
Visual direction is the overall tone of your app. Themes are ways to express that tone using depth, color, and effects. In Base44, you can lean into a theme and still keep your brand intact.Design themes
Neumorphism
Neumorphism

- Subtle inner and outer shadows
- Soft, monochromatic palettes
- Minimal depth and clean shapes
Glassmorphism
Glassmorphism

- Backdrop blur
- Transparent panels with subtle borders
- Light glow and reflection effects
Material style
Material style

- Clear elevation layers
- Clean grids and alignment
- Purposeful motion
Claymorphism
Claymorphism

- Rounded corners
- Pastel or soft color palettes
- Soft, even shadows
Neo brutalism
Neo brutalism

- High contrast color combinations
- Thick borders and strong shapes
- Raw typography and simple grids
Light and dark themes
Light and dark themes let people choose what feels best and can help in different environments. You can ask the AI chat to add theme support and a toggle.

Motion and feedback
Motion and feedback help people understand what is happening on screen. You can use them to make clicks feel responsive, show that something is loading, and explain what to do next. In Base44, AI can add these patterns for you, so you do not have to hand code every animation. Use this section when your app already works, but feels a bit flat or static, and you want it to feel more alive and reassuring.Adding subtle interactions and animation
Adding subtle interactions and animation
- A button that slightly grows and brightens on hover.
- A card that lifts when you move the mouse over it.
- An icon that gives a small checkmark animation when something is saved.
Designing loading, empty, and error states
Designing loading, empty, and error states
- Loading: skeleton shapes that match the final layout instead of a generic spinner.
- Empty: a friendly message that explains what will appear here and a button to create or connect something.
- Error: a short, human explanation and a clear way to retry or get help.
Advanced customization
When you want to go beyond what AI and Edit mode give you out of the box, you can bring in your own code and npm packages. AI can still help you wire and align everything.Using npm packages for design
Using npm packages for design
- Animation libraries (for example, anime.js) to add transitions, hover effects, and micro interactions.
- UI component or motion libraries to handle modals, tooltips, carousels, or step flows with built in interaction patterns.
- Chart and graph utilities to visualize data with custom colors, typography, and spacing that match your app.
- Drag and drop or gesture libraries to make layouts feel more tactile and interactive.
- Date and time helpers to format timestamps and schedules in a way that fits your UI.
- Import the right functions or components from the package.
- Wire them into your existing layout and design tokens (colors, typography, spacing, radius).
- Adjust props, variants, and motion so they feel consistent with the rest of the app.
- Check accessibility details like focus states, keyboard navigation, and reduced motion preferences.
Tailwind, tokens, and refactoring styles
Tailwind, tokens, and refactoring styles
- Replace inline styles with Tailwind utilities.
- Extract repeated patterns into reusable components.
- Map color values to design tokens and Tailwind config.
Editing code and design together
Editing code and design together
- Updating
Layout.jsto change global wrappers, headers, or footers. - Adjusting theme providers or context.
- Changing how components are composed and which props they accept.
- Open the relevant file.
- Paste a code snippet into AI chat.
- Ask for a change, then review the diff or preview.
Performance aware design
Performance aware design
- Use optimized image sizes rather than huge background assets.
- Avoid loading many heavy animations or large libraries on initial load.
- Lazy load rarely used sections such as deep reports or advanced filters.
- Reuse shared components instead of many near copies.
Accessibility
Accessibility is part of good design. It helps more people use your app comfortably and can improve clarity for everyone.Color and contrast
Color and contrast
- Use strong contrast between text and background.
- Avoid using color alone to convey meaning.
- Keep interactive elements such as buttons and links clearly visible in all states.
- Check both light and dark modes if you support themes.
Typography and spacing for readability
Typography and spacing for readability
- Use comfortable font sizes on all devices.
- Use enough line height for paragraphs.
- Avoid very light weight fonts on light backgrounds.
- Keep line length reasonable, especially on wide screens.
Keyboard, focus, and interactions
Keyboard, focus, and interactions
- Make sure Tab moves through interactive elements in a logical order.
- Ensure focus styles are visible and distinct.
- Avoid keyboard traps where focus cannot move away.
Motion and reduced motion
Motion and reduced motion
- Respect reduced motion preferences.
- Avoid rapid flashing or strong flicker.
- Use subtle, purposeful animations rather than constant motion.
Content, labels, and alt text
Content, labels, and alt text
- Use clear, descriptive labels for buttons and links.
- Provide meaningful alt text for important images.
- Use headings to structure content.
- Avoid vague link text such as “click here”.
Quick tricks
If you want fast improvements, these short recipes can help you get a lot of value with a few prompts.Make a flat prototype feel polished
Make a flat prototype feel polished
- Introduce a simple color system and apply it globally.
- Define clear text roles and increase line height.
- Add basic card and button components and reuse them.
Rescue a cluttered table page
Rescue a cluttered table page
- Increase row height slightly and add subtle separators.
- Move actions into a consistent column or menu.
- Add filters in a clear top bar.
- Add loading, empty, and error states.
Soft visual refresh without changing brand colors
Soft visual refresh without changing brand colors
- Adjust spacing and hierarchy.
- Update card and button shapes.
- Introduce subtle micro interactions.
FAQs
Click a question below to learn more about designing your app.What is Tailwind CSS and how do I read its class names?
What is Tailwind CSS and how do I read its class names?
- Colors:
bg-blue-500sets a blue background,text-whitesets white text. - Spacing:
p-4adds padding on all sides,m-2adds margin on all sides. - Typography:
font-boldmakes text bold,text-lgsets a larger text size. - Layout:
flexcreates a flex container,gridcreates a grid container,items-centervertically centers items in a flex or grid row.
bg-blue-500 text-white p-4 flex items-center gives you a blue bar with white text, padding, and centered content.For deeper reference and the full list of utilities, you can check the official Tailwind CSS documentation.How can I make my app responsive across devices?
How can I make my app responsive across devices?
- Mobile: Use a single vertical column, keep one clear primary action per screen, and make tap targets large with enough spacing. Keep text short so people do not need to zoom.
- Tablet: Treat tablet as a hybrid. You can use side menus or split layouts, but keep buttons touch friendly and avoid very small tables or dense controls.
- Desktop: Use the extra width for multi column layouts and sidebars. You can add hover effects, but any important action must also work with a click or tap.
- All devices: Use readable font sizes, avoid horizontal scrolling, and let elements stack instead of overlap when space is tight. Avoid fixed heights that cut off content.
How can I design my app for better performance?
How can I design my app for better performance?
- Use optimized image sizes so large assets do not slow down initial load. Prefer compressed formats and avoid uploading images much larger than they appear on screen.
- Limit heavy animations and complex effects, especially in mobile heavy apps. Short, simple transitions are fine, but avoid constant motion or large animated backgrounds.
- Keep layouts clean and focused. Fewer layers, overlays, and nested components usually mean faster rendering, especially on lower end devices.
- Reuse components instead of creating many slightly different versions. Shared components are easier to cache and maintain.
- Avoid loading everything at once. Where possible, load non critical content later, for example secondary sections, long lists, or rarely used panels.
- Be careful with third party embeds such as maps, video players, and widgets. Only include them where they add real value, and avoid stacking many embeds on a single screen.
How do I undo AI changes or restore a previous version of my design?
How do I undo AI changes or restore a previous version of my design?
- Each AI prompt has a Revert option that instantly undoes everything that specific prompt changed in your app.
- The clock icon in the AI chat opens version history. You can choose an earlier saved version of your app and roll back to it in one step.
How do I delete an element from my app?
How do I delete an element from my app?





