Skip to main content
Every app comes with a complete set of UI components, charts and icons, and a design standard the AI follows. You don’t install or configure anything: describe what you want, and the AI picks the right pieces. This page shows what’s available and how to ask for it.

The default look

Apps are internal tools: people scan them and use them many times a day. Unless you ask for a specific style, the AI designs for clarity and speed of use:
  • One clear title per page, with the page’s main action next to it.
  • Summary before detail. Key numbers and status come first, then the table, list or record.
  • Mostly neutral. About 90% of the screen stays neutral. Your primary color is kept for the main action of each view, links and focus rings.
  • Status colors with a label. Green, amber, blue and red mark success, warnings, information and errors, always next to a text label such as “Active” or “Overdue”.
  • Readable text. Text keeps a contrast of at least 4.5:1, numbers line up in right-aligned columns, and titles, labels and buttons use sentence case.
  • No decoration. No gradients, glows, hero sections, marketing copy or emoji. Ask for them if you want them.
New apps use a neutral, high-contrast theme. Surfaces and text have no color tint. In dark mode the page is near-black, the sidebar a shade darker and cards a shade lighter. In light mode the page is white and the sidebar a shade darker. Hover and selected items use a neutral fill, and the sidebar highlights the current page. If your organization has a Brand Theme (Settings → Organization → General), new apps start with its colors, logo and fonts. Your brand color stays exact on buttons and other filled areas, with black or white text on top, whichever reads better. Where the brand color is used as text or a focus ring, Duet Agents adjusts its lightness so it stays readable in light and dark mode. To change the look, say so:
Use a compact layout with smaller text so more rows fit on screen.
Give the dashboard more breathing room: more space between cards and sections.
Use our logo in the sidebar header and make the primary buttons dark green.
When you attach a screenshot or mockup, the AI matches its layout, density and hierarchy using the app’s own theme. It copies the exact colors only if you ask.

Keep the look consistent

The AI records each app’s design in a Design section of the app’s README.md: how dense its screens are, whether it has a sidebar, how pages group content, any theme changes, and what each status color means. It reads this before every UI change, so new pages match the old ones. When you ask for a different overall look, it updates the README too.

Page patterns

For the most common pages, the AI starts from built-in patterns that already follow the design standard: Every pattern handles the states in between: placeholders shaped like the final layout while data loads, a message with the next step when there’s nothing to show, and an error with a retry when loading fails. Deleting asks for confirmation first.
Build a customers page with a searchable table, a status filter and an “Add customer” button.

Components

Apps include 56 shadcn/ui components. You don’t need their names: “add a confirmation popup before deleting” gets you an Alert Dialog. The names help when you want something precise. Some common pieces aren’t a single component. The AI builds them from the ones above:
  • Data tables with sorting, filtering and pagination: Table plus TanStack Table. For thousands of rows, the AI can add virtual scrolling so only the visible rows render.
  • Date pickers: Calendar inside a Popover.
  • Searchable dropdowns (comboboxes): Command inside a Popover.

Charts

Charts use Recharts through shadcn/ui’s chart component, with tooltips, legends and responsive sizing. Bar, line, area and pie charts all work. Series take their colors from the theme’s five chart colors, so they work in light and dark mode.
Add a line chart of monthly revenue for the past 12 months.
Show support tickets by status as a donut chart.
Compare sales by region with horizontal bars, sorted by value.
Charts over large datasets load faster with a date range filter. Ask for one, defaulting to a sensible range like the last 30 days.

Icons and notifications

Icons come from Lucide. The AI picks them for you, or you can ask:
Put a chart icon next to the Analytics heading and a gear icon on the settings link.
Short confirmation and error messages use Sonner toasts. The AI adds them to forms and actions automatically, and you can ask for specific ones:
Show a success toast when the form is submitted, and an error toast if saving fails.

Light and dark mode

Apps follow each viewer’s system light or dark setting. The starter app’s sidebar includes a light/dark toggle. The sidebar appears once your app has more than one page in its navigation. You can change this behavior:
Add a light/dark toggle to the top right of every page.
Always use dark mode.

Pages and navigation

A new app has one page. When the AI adds a page, it also adds a way to reach it. Once the app has two or more pages in its navigation, the starter layout shows them in a sidebar and highlights the current page.
Add a sidebar with links to Dashboard, Customers, Orders and Settings.

Phones and installing as an app

Every page is built to work on a phone-sized screen: columns stack, toolbars wrap, and wide tables scroll inside their own area. On phones, the sidebar opens from a bar at the top of the page. After you publish, people who open the app in its own browser tab in Chrome, Edge or Brave see a banner, “Install app name as an app”. Install opens the browser’s own install dialog, which adds the app to their computer like a desktop app. If they dismiss the banner, a smaller Install app button stays available. The banner doesn’t show inside the editor’s preview or when the app opens inside DuetAgents.

Files and uploads

Ask for uploads where a feature needs them, such as receipts, photos or contracts. The AI adds an upload area with drag and drop and a progress bar, and shows images, PDFs, video and audio right in the app. See Store files.
Add a photo to each inventory item, with a drop zone on the edit form and a thumbnail in the list.

Calendars, imports and exports

The AI can add these when you ask. It installs what it needs. See Packages.
Show bookings in a calendar with month, week and day views.
Let us import contacts from a CSV or Excel file, with a preview of the first rows before saving.
Add an “Export to Excel” button to the orders table.
Add a “Download PDF” button that creates a printable invoice.
Let people make a task repeat every week or every month.

Collaborative editing and rich text

For text people write together, the AI can add ready-made editors:
Add a shared meeting notes page where the whole team can edit the same document live.
Let reviewers highlight text in the proposal and leave comments, and let them ask our Legal coworker to answer a comment.
Real-time features, like live cursors, “who’s online” avatars or a shared board that updates for everyone, also work outside documents:
Show avatars of everyone currently viewing this board, and update cards for everyone when someone moves one.

Layout tips for internal tools

Internal tools are about finding and acting on records quickly. These patterns work well:
  • Make the table the backbone. Most tools revolve around a list.
    Show customers in a table with sortable columns, a search bar and pagination. Add a filter for account status.
  • Add search and filters to every list.
    Add a search bar that matches name or email, plus filters for status and date range.
  • Lead with summary cards.
    Add four cards at the top: Total Customers, Active Subscriptions, Monthly Revenue and Churn Rate.
  • Use tabs for related views instead of separate pages.
    Organize the customer page with tabs for Overview, Orders, Support Tickets and Activity.
  • Say what an empty list should offer. Loading, empty and error states are built in. Tell the AI what the next step should be.
    When there are no open tickets, say so and offer a button to create one.

Common layouts

Master-detail:
Build a two-panel layout. The left panel lists orders. Clicking an order shows its details on the right.
Settings page:
Create a settings page with sections for Profile, Notifications and Integrations, using vertical tabs on the left.
Search page:
Build a search page with a search bar, category filters, a date range picker and a results table.
Form with validation:
Create a form to add a customer with name (required), email (required, must be valid), phone and company. Show errors next to each field.
Kanban board:
Show tasks as a board with columns for Todo, In Progress and Done. Let people drag cards between columns.
Attach a screenshot of a tool you like, or a quick sketch, and ask the AI to match its layout.