---
title: "Build for Mobile"
slug: "build-for-mobile"
type: "workflow"
description: "Build things that feel right on touch devices. Drawers, swipeable cards, and even web apps that should feel like iOS apps."
url: "https://aiforui.dev/build-for-mobile"
updatedAt: "2026-11-29"
---

# Build for Mobile

Build things that feel right on touch devices. Drawers, swipeable cards, and even web apps that should feel like iOS apps.

```sh
npx skills@latest add emilkowalski/skills
```

A workflow of 4 skills. Updated November 29, 2026.

## When to use it

When you’re building something that will be used on a phone and want to ensure the experience feels right.

## The steps

The steps here are in order and they all follow a drawer, so you can swap it out for your own UI.

### 01. Pick what to build it with

With [Pick a UI Library](https://aiforui.dev/skills/pick-ui-library.md). A drawer looks easy until you get to focus, scroll locking, and snap points. Pick a library before the agent builds one from scratch.

```
/pick-ui-library we need a drawer for the filters on mobile, should we build it or install a library?
```

What you get: In this case you would get Base UI’s Drawer as the recommendation.

### 02. Build the gesture

With [Gestures](https://aiforui.dev/skills/gestures.md). If you went with Base UI, it already handles the drag and flick to dismiss. What’s left is where it snaps, and what shouldn’t start a drag.

```
/gestures build the filters drawer with the library we picked, snapping to half and full height. Tapping a filter chip shouldn’t start a drag
```

What you get: You’ll get snap points, and controls that don’t start a drag (`data-base-ui-swipe-ignore` with Base UI).

### 03. Fix what gives it away

With [Mobile Native](https://aiforui.dev/skills/mobile-native.md). Small things make it feel like a website on a phone: inputs that zoom the page, sticky hovers, etc.

```
/mobile-native can you make sure this page feels good on a phone
```

What you get: This fixes stuff like sticky hovers and inputs that zoom the page.

### 04. Keep it smooth

With [Animation Performance](https://aiforui.dev/skills/animation-performance.md). A good mobile experience should feel smooth. This checks that none of the animations drop frames.

```
/animation-performance can you make sure this drawer is performant
```

What you get: In this case it got laggy with lots of filters being present at once, so the agent virtualized the list.

## What you end up with

- A drawer built on a library you trust
- Interactive elements you can tap without dragging the drawer
- No inputs that zoom the page, no hover that sticks, nothing under the home indicator
- A drag that stays smooth with 200 filters in the list
