// Shopping app UI

Tool Rental App UI Design in Expo

This tool rental app UI makes hiring equipment as easy as shopping. The home screen offers category rings, popular rentals with daily prices and a row of top searches.

Screens
3
Built with
Expo SDK 58
Fonts
Inter
License
Free (MIT)
Views
1
Power drill rental detail with rental days, quantity and book now

Tool and Equipment Rental app screens

Tool rental app home with category icons and popular equipment cards

Rental home

A greeting, category rings, popular rental cards with daily prices and a top searches row.

Tool rental search screen with a grid of equipment and prices

Search tools

A search field, a popular heading and a two column grid of tools with prices and open buttons.

Power drill rental detail with rental days, quantity and book now

Tool detail

A drill cut-out, price and rating, a rental day picker, a description, quantity stepper and total.

Copy the Tool and Equipment Rental kit

Use the artifact as a design brief, the skill to generate the UI with an AI agent, or the code to run it right away.

Design artifact

The full design: tokens, screens and source

# Tool and Equipment Rental: design artifact

This tool rental app UI makes hiring equipment as easy as shopping. The home screen offers category rings, popular rentals with daily prices and a row of top searches.

- Type: Shopping mobile app UI
- Screens: 3
- Artboard: 390 × 844
- Target: Expo SDK 58, Expo Router, TypeScript, expo-image, expo-linear-gradient, react-native-svg
- Live page: https://developermill.com/app-designs/tool-rental-app-ui-design

## Design direction

A warm yellow fade into white with black pill buttons, rounded cards and product cut-outs of power tools and machines.

- Category rings with selected state
- Popular rentals with daily prices
- Search that filters results as you type
- Rental day picker and live total

## Foundations

### Colour

| Token | Hex |
| --- | --- |
| Tool yellow | `#FFC727` |
| Honey | `#F5B800` |
| Cream | `#FFF3C9` |
| Ink | `#111111` |
| Stone | `#F2F0EB` |
| Bronze | `#B07A00` |

### Typography

- Typefaces: Inter
- Common sizes (px): 10, 11, 12, 13, 14, 15, 16, 19

### Shape and depth

- Common corner radii (px): 16, 18, 20, 22, 23, 24
- Shadows: `0 2px 8px rgba(0,0,0,0.04)`

## Screens

### 1. Rental home

A greeting, category rings, popular rental cards with daily prices and a top searches row.

Preview: https://developermill.com/app-designs/tool-rental-app-ui-design/home.webp

Copy on this screen:

- Hello
- Michael!
- Available for you
- See All
- Popular
- 4.9
- Power Drill
- $9
- /Per Day
- View details
- Generator
- $29
- Top Searching

### 2. Search tools

A search field, a popular heading and a two column grid of tools with prices and open buttons.

Preview: https://developermill.com/app-designs/tool-rental-app-ui-design/search.webp

Copy on this screen:

- Search tools
- Popular
- See All
- 4.9
- /Per Day

### 3. Tool detail

A drill cut-out, price and rating, a rental day picker, a description, quantity stepper and total.

Preview: https://developermill.com/app-designs/tool-rental-app-ui-design/tool.webp

Copy on this screen:

- Tools Detail
- Bosch Hammer Drill
- $18
- / per day
- 4.9(9k)
- Rental duration option
- Heavy-duty drill suitable for concrete, steel, and masonry work for professional construction
- ...Read more
- Book now

## Full source

The original artboards as HTML. Image URLs point at the hosted demo assets.

### Rental home (Main)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#1A1A1A;text-decoration:none}a:hover{color:#000}
.hscroll{scrollbar-width:none}.hscroll::-webkit-scrollbar{display:none}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; overflow: hidden; position: relative; font-family: Inter, system-ui, sans-serif; color: #1A1A1A; background: linear-gradient(180deg, #FFF3C9 0px, #FFFBEE 260px, #FFFFFF 420px); padding-top: 58px; display: flex; flex-direction: column">

  <div style="display: flex; justify-content: space-between; align-items: flex-start; padding: 0 22px">
    <h1 style="margin: 0; font-size: 34px; line-height: 40px; font-weight: 500; letter-spacing: -0.5px">Hello<br>Michael!</h1>
    <div style="display: flex; gap: 12px; align-items: center">
      <a href="Search.dc.html" aria-label="Search tools" style="width: 46px; height: 46px; border-radius: 23px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04)">
        <svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="7"></circle><path d="M20 20l-3.5-3.5"></path></svg>
      </a>
      <img src="https://developermill.com/app-designs/tool-rental-app-ui-design/assets/04c2e2a43b.jpg" alt="Michael's profile photo" style="width: 46px; height: 46px; border-radius: 23px; object-fit: cover; border: 2px solid #FFFFFF; box-sizing: border-box">
    </div>
  </div>

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 22px; margin-top: 26px">
    <h2 style="margin: 0; font-size: 19px; font-weight: 500">Available for you</h2>
    <a href="Search.dc.html" style="font-size: 13px; font-weight: 500">See All</a>
  </div>

  <div class="hscroll" style="display: flex; gap: 12px; padding: 14px 22px 4px; overflow-x: auto">
    <sc-for list="{{cats}}" as="c" hint-placeholder-count="6">
      <button aria-label="{{c.label}}" onClick="{{c.pick}}" style="{{c.ring}}">
        <img src="{{c.img}}" alt="" style="width: 38px; height: 38px; object-fit: contain">
      </button>
    </sc-for>
  </div>

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 22px; margin-top: 22px">
    <h2 style="margin: 0; font-size: 19px; font-weight: 500">Popular</h2>
    <a href="Search.dc.html" style="font-size: 13px; font-weight: 500">See All</a>
  </div>

  <div class="hscroll" style="display: flex; gap: 12px; padding: 14px 22px 0; overflow-x: auto">
    <div style="flex: 0 0 300px; height: 236px; border-radius: 24px; overflow: hidden; position: relative; background: #F7EAB9">
      <img src="https://developermill.com/app-designs/tool-rental-app-ui-design/assets/ae79ef9746.jpg" alt="Worker in a hard hat holding a cordless power drill" style="position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%">
      <div style="position: absolute; top: 14px; right: 14px; width: 40px; height: 52px; border-radius: 20px; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px">
        <svg aria-hidden="true" width="15" height="15" viewBox="0 0 24 24" fill="#1A1A1A"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.5l1.3-6.6L2.5 9.3l6.6-.8z"></path></svg>
        <span style="font-size: 11px; font-weight: 600">4.9</span>
      </div>
      <div style="position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 14px 16px; display: flex; justify-content: space-between; align-items: flex-end; background: linear-gradient(180deg, rgba(247,234,185,0) 0%, rgba(247,234,185,0.92) 55%)">
        <div style="display: flex; flex-direction: column; gap: 3px">
          <span style="font-size: 15px; font-weight: 600">Power Drill</span>
          <span style="font-size: 13px; font-weight: 600">$9 <span style="font-size: 11px; font-weight: 400; color: #4A4A4A">/Per Day</span></span>
        </div>
        <a href="Detail.dc.html" style="height: 40px; padding: 0 18px; border-radius: 20px; background: #111111; color: #FFFFFF; font-size: 13px; font-weight: 500; display: flex; align-items: center">View details</a>
      </div>
    </div>
    <div style="flex: 0 0 300px; height: 236px; border-radius: 24px; overflow: hidden; position: relative; background: #F1EFEA">
      <img src="https://developermill.com/app-designs/tool-rental-app-ui-design/assets/042526a870.png" alt="Portable generator" style="position: absolute; left: 50%; top: 22px; transform: translateX(-50%); height: 150px; object-fit: contain">
      <div style="position: absolute; left: 16px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: flex-end">
        <div style="display: flex; flex-direction: column; gap: 3px">
          <span style="font-size: 15px; font-weight: 600">Generator</span>
          <span style="font-size: 13px; font-weight: 600">$29 <span style="font-size: 11px; font-weight: 400; color: #4A4A4A">/Per Day</span></span>
        </div>
        <a href="Detail.dc.html" style="height: 40px; padding: 0 18px; border-radius: 20px; background: #111111; color: #FFFFFF; font-size: 13px; font-weight: 500; display: flex; align-items: center">View details</a>
      </div>
    </div>
  </div>

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 22px; margin-top: 24px">
    <h2 style="margin: 0; font-size: 19px; font-weight: 500">Top Searching</h2>
    <a href="Search.dc.html" style="font-size: 13px; font-weight: 500">See All</a>
  </div>

  <div class="hscroll" style="display: flex; gap: 12px; padding: 14px 22px 0; overflow-x: auto">
    <sc-for list="{{top}}" as="t" hint-placeholder-count="3">
      <a href="Detail.dc.html" style="flex: 0 0 166px; height: 170px; border-radius: 20px; background: #F6EBC2; position: relative; overflow: hidden; display: block">
        <span style="position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 500">{{t.name}}</span>
        <span style="position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 1px">
          <svg aria-hidden="true" width="13" height="13" viewBox="0 0 24 24" fill="#1A1A1A"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.5l1.3-6.6L2.5 9.3l6.6-.8z"></path></svg>
          <span style="font-size: 10px; font-weight: 600">4.9</span>
        </span>
        <img src="{{t.img}}" alt="{{t.name}}" style="position: absolute; left: 10px; right: 10px; bottom: 14px; width: calc(100% - 20px); height: 104px; object-fit: contain">
      </a>
    </sc-for>
  </div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F5B800","options":["#F5B800","#FF8A00","#2F80ED"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  constructor(p) { super(p); this.state = { cat: 1 }; }
  renderVals() {
    const accent = this.props.accent ?? '#F5B800';
    const base = [
      { label: 'Generators', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/042526a870.png' },
      { label: 'Drills', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/74b110d5ed.png' },
      { label: 'Air compressors', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/cd0a342d14.png' },
      { label: 'Chainsaws', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/14ad8bff76.png' },
      { label: 'Circular saws', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/c8bb53d539.png' },
      { label: 'Excavators', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/28e96765c9.png' }
    ];
    const cats = base.map((c, i) => ({
      ...c,
      pick: () => this.setState({ cat: i }),
      ring: 'flex: 0 0 auto; width: 56px; height: 56px; border-radius: 28px; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: #FFFFFF; box-sizing: border-box; border: ' + (this.state.cat === i ? '2px solid ' + accent : '1px solid #EFEDE6')
    }));
    const top = [
      { name: 'Generator', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/042526a870.png' },
      { name: 'Concrete Mixer', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/c5dc5cb2d3.png' },
      { name: 'Excavator', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/28e96765c9.png' }
    ];
    return { cats, top };
  }
}
</script>
</body>
</html>
```

### Search tools (Search)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Search tools</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#1A1A1A;text-decoration:none}a:hover{color:#000}
.q::placeholder{color:#6B6B6B}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; overflow: hidden; font-family: Inter, system-ui, sans-serif; color: #1A1A1A; background: linear-gradient(180deg, #FFF3C9 0px, #FFFBEE 220px, #FFFFFF 380px); padding-top: 54px; display: flex; flex-direction: column">

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 20px">
    <a href="Main.dc.html" aria-label="Back" style="width: 44px; height: 44px; border-radius: 22px; background: #FFFFFF; display: flex; align-items: center; justify-content: center">
      <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 5l-7 7 7 7"></path></svg>
    </a>
    <h1 style="margin: 0; font-size: 19px; font-weight: 500">Search tools</h1>
    <button aria-label="Notifications" style="width: 44px; height: 44px; border-radius: 22px; background: #FFFFFF; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer">
      <svg aria-hidden="true" width="19" height="19" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 16V11a6 6 0 0 1 12 0v5l1.5 2h-15z"></path><path d="M10 21h4"></path></svg>
    </button>
  </div>

  <div style="display: flex; align-items: center; gap: 10px; margin: 20px 20px 0; height: 50px; border-radius: 25px; background: #FFFFFF; padding: 0 8px 0 16px">
    <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="7"></circle><path d="M20 20l-3.5-3.5"></path></svg>
    <label for="q" style="position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0)">Search tools</label>
    <input id="q" class="q" type="search" placeholder="Search" value="{{query}}" onChange="{{onQuery}}" style="flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; color: #1A1A1A">
    <button aria-label="Filters" style="width: 40px; height: 40px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer">
      <svg aria-hidden="true" width="19" height="19" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="1.8" stroke-linecap="round"><path d="M4 7h10M18 7h2M4 17h2M10 17h10"></path><circle cx="16" cy="7" r="2"></circle><circle cx="8" cy="17" r="2"></circle></svg>
    </button>
  </div>

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 20px; margin-top: 22px">
    <h2 style="margin: 0; font-size: 19px; font-weight: 500">Popular</h2>
    <a href="Search.dc.html" style="font-size: 13px; font-weight: 500">See All</a>
  </div>

  <div style="display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 20px 0">
    <sc-for list="{{items}}" as="it" hint-placeholder-count="6">
      <div style="height: 184px; border-radius: 18px; background: #F2F0EB; position: relative; overflow: hidden">
        <span style="position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: center; gap: 1px">
          <svg aria-hidden="true" width="13" height="13" viewBox="0 0 24 24" fill="#1A1A1A"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.5l1.3-6.6L2.5 9.3l6.6-.8z"></path></svg>
          <span style="font-size: 10px; font-weight: 600">4.9</span>
        </span>
        <img src="{{it.img}}" alt="{{it.name}}" style="position: absolute; left: 12px; top: 18px; width: calc(100% - 40px); height: 108px; object-fit: contain">
        <div style="position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 2px">
          <span style="font-size: 12px; font-weight: 500">{{it.name}}</span>
          <span style="font-size: 10px; color: #4A4A4A"><strong style="color: #1A1A1A">{{it.price}}</strong>/Per Day</span>
        </div>
        <a href="Detail.dc.html" aria-label="Open {{it.name}}" style="position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 16px; background: #111111; display: flex; align-items: center; justify-content: center">
          <svg aria-hidden="true" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17L17 7M9 7h8v8"></path></svg>
        </a>
      </div>
    </sc-for>
  </div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  constructor(p) { super(p); this.state = { query: '' }; }
  renderVals() {
    const all = [
      { name: 'Power Drill', price: '$5', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/74b110d5ed.png' },
      { name: 'Generator', price: '$29', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/042526a870.png' },
      { name: 'Cutting Machine', price: '$5', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/14ad8bff76.png' },
      { name: 'Concrete Mixer', price: '$199', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/c5dc5cb2d3.png' },
      { name: 'Construction excavator', price: '$99', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/28e96765c9.png' },
      { name: 'Construction truck', price: '$199', img: 'https://developermill.com/app-designs/tool-rental-app-ui-design/assets/d96e8ccb9c.png' }
    ];
    const q = (this.state.query || '').trim().toLowerCase();
    return {
      query: this.state.query,
      onQuery: (e) => this.setState({ query: e.target.value }),
      items: q ? all.filter((x) => x.name.toLowerCase().indexOf(q) > -1) : all
    };
  }
}
</script>
</body>
</html>
```

### Tool detail (Detail)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tools detail</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet">
<style>
body{margin:0}
a{color:#1A1A1A}a:hover{color:#000}
</style>
</helmet>
<div style="width: 390px; height: 844px; box-sizing: border-box; overflow: hidden; position: relative; font-family: Inter, system-ui, sans-serif; color: #1A1A1A; background: linear-gradient(180deg, #FFF0BF 0px, #FFF8E2 300px, #FFFFFF 400px); padding-top: 54px; display: flex; flex-direction: column">

  <div style="display: flex; justify-content: space-between; align-items: center; padding: 0 20px">
    <a href="Search.dc.html" aria-label="Back" style="width: 44px; height: 44px; border-radius: 22px; background: #FFFFFF; display: flex; align-items: center; justify-content: center">
      <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 5l-7 7 7 7"></path></svg>
    </a>
    <h1 style="margin: 0; font-size: 19px; font-weight: 500">Tools Detail</h1>
    <button aria-label="{{favLabel}}" aria-pressed="{{fav}}" onClick="{{toggleFav}}" style="width: 44px; height: 44px; border-radius: 22px; background: #FFFFFF; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer">
      <svg aria-hidden="true" width="19" height="19" viewBox="0 0 24 24" fill="{{heartFill}}" stroke="{{heartStroke}}" stroke-width="1.8" stroke-linejoin="round"><path d="M12 20s-7.5-4.6-9-9.3C1.9 7.2 4.2 4 7.6 4c2 0 3.4 1.1 4.4 2.6C13 5.1 14.4 4 16.4 4c3.4 0 5.7 3.2 4.6 6.7C19.5 15.4 12 20 12 20z"></path></svg>
    </button>
  </div>

  <div style="height: 244px; display: flex; align-items: center; justify-content: center; margin-top: 4px">
    <img src="https://developermill.com/app-designs/tool-rental-app-ui-design/assets/74b110d5ed.png" alt="Yellow cordless hammer drill" style="width: 300px; height: 225px; object-fit: contain">
  </div>

  <div style="padding: 0 20px; display: flex; flex-direction: column">
    <div style="display: flex; justify-content: space-between; align-items: baseline">
      <h2 style="margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.2px">Bosch Hammer Drill</h2>
      <span style="font-size: 18px; font-weight: 600">$18 <span style="font-size: 13px; font-weight: 400; color: #4A4A4A">/ per day</span></span>
    </div>
    <div style="display: flex; align-items: center; gap: 6px; margin-top: 10px">
      <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="{{accentDark}}" stroke-width="1.8" stroke-linejoin="round"><path d="M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.5l1.3-6.6L2.5 9.3l6.6-.8z"></path></svg>
      <span style="font-size: 14px; color: #3D3D3D">4.9(9k)</span>
    </div>

    <h3 style="margin: 22px 0 0; font-size: 16px; font-weight: 500">Rental duration option</h3>
    <div role="radiogroup" aria-label="Rental duration in days" style="display: flex; gap: 10px; margin-top: 14px">
      <sc-for list="{{days}}" as="d" hint-placeholder-count="6">
        <button role="radio" aria-checked="{{d.on}}" aria-label="{{d.aria}}" onClick="{{d.pick}}" style="{{d.style}}">{{d.label}}</button>
      </sc-for>
    </div>

    <p style="margin: 22px 0 0; font-size: 13px; line-height: 20px; color: #4A4A4A; max-width: 280px">Heavy-duty drill suitable for concrete, steel, and masonry work for professional construction <a href="#more" style="color: #1A1A1A; font-weight: 600; text-decoration: none">...Read more</a></p>

    <div style="display: flex; justify-content: space-between; align-items: center; margin-top: 26px">
      <span style="font-size: 22px; font-weight: 600; color: {{accentDark}}">{{total}} <span style="font-size: 13px; font-weight: 400; color: #4A4A4A">/ {{dayLabel}}</span></span>
      <div style="display: flex; align-items: center; gap: 14px">
        <button aria-label="Decrease quantity" onClick="{{dec}}" style="width: 46px; height: 46px; border-radius: 23px; background: #111111; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer">
          <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"><path d="M5 12h14"></path></svg>
        </button>
        <span aria-live="polite" style="font-size: 18px; font-weight: 500; min-width: 14px; text-align: center">{{qty}}</span>
        <button aria-label="Increase quantity" onClick="{{inc}}" style="width: 46px; height: 46px; border-radius: 23px; background: #FFFFFF; border: 1.5px solid #1A1A1A; box-sizing: border-box; display: flex; align-items: center; justify-content: center; cursor: pointer">
          <svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#1A1A1A" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M12 5v14"></path></svg>
        </button>
      </div>
    </div>

    <button style="margin-top: 24px; height: 54px; border-radius: 27px; border: 0; background: {{accent}}; color: #1A1A1A; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer">Book now</button>
  </div>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#FFC727","options":["#FFC727","#FF9F1C","#7BC6FF"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  constructor(p) { super(p); this.state = { days: 2, qty: 1, fav: false }; }
  renderVals() {
    const accent = this.props.accent ?? '#FFC727';
    const accentDark = '#B07A00';
    const s = this.state;
    const days = [1, 2, 3, 4, 5, 6].map((n) => {
      const on = s.days === n;
      return {
        label: n + ' D',
        aria: n + (n === 1 ? ' day' : ' days'),
        on,
        pick: () => this.setState({ days: n }),
        style: 'flex: 0 0 auto; width: 46px; height: 46px; border-radius: 23px; box-sizing: border-box; cursor: pointer; font: inherit; font-size: 12px; ' +
          (on ? 'background: #FFF8E1; border: 1.5px solid ' + accent + '; color: ' + accentDark + '; font-weight: 600'
              : 'background: #FFFFFF; border: 1px solid #E6E4DE; color: #6B6B6B')
      };
    });
    return {
      accent, accentDark, days,
      qty: s.qty,
      total: '$' + (18 * s.days * s.qty),
      dayLabel: s.days + (s.days === 1 ? ' day' : ' day'),
      inc: () => this.setState({ qty: Math.min(9, s.qty + 1) }),
      dec: () => this.setState({ qty: Math.max(1, s.qty - 1) }),
      fav: s.fav,
      favLabel: s.fav ? 'Remove from favourites' : 'Add to favourites',
      heartFill: s.fav ? '#E5484D' : 'none',
      heartStroke: s.fav ? '#E5484D' : '#1A1A1A',
      toggleFav: () => this.setState({ fav: !s.fav })
    };
  }
}
</script>
</body>
</html>
```

SKILL.md

Save as .claude/skills/tool-rental-app-ui/SKILL.md

---
name: tool-rental-app-ui
description: Build the Tool and Equipment Rental mobile app UI in Expo React Native. Use when asked to create a tool rental app UI or a new screen in this visual style.
---

# Tool and Equipment Rental app UI

Build this shopping app UI in an Expo Router project with TypeScript.

Reference: https://developermill.com/app-designs/tool-rental-app-ui-design

## Visual direction

A warm yellow fade into white with black pill buttons, rounded cards and product cut-outs of power tools and machines.

Keep these signature details:

- Category rings with selected state
- Popular rentals with daily prices
- Search that filters results as you type
- Rental day picker and live total

## Set up

```bash
npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/inter expo-font
```

## Tokens

| Name | Hex |
| --- | --- |
| Tool yellow | `#FFC727` |
| Honey | `#F5B800` |
| Cream | `#FFF3C9` |
| Ink | `#111111` |
| Stone | `#F2F0EB` |
| Bronze | `#B07A00` |

- Typefaces: Inter
- Text sizes (px): 10, 11, 12, 13, 14, 15, 16, 19
- Corner radii (px): 16, 18, 20, 22, 23, 24

Define these once and reuse them. Do not add new colours.

## Screens

1. **Rental home.** A greeting, category rings, popular rental cards with daily prices and a top searches row.
2. **Search tools.** A search field, a popular heading and a two column grid of tools with prices and open buttons.
3. **Tool detail.** A drill cut-out, price and rating, a rental day picker, a description, quantity stepper and total.

## Build rules

- Draw each screen on a 390 × 844 artboard and scale it to the device width.
- Load each custom font weight by family name with expo-font. Do not set fontWeight with custom fonts.
- Draw icons, charts and illustrations with react-native-svg.
- Use Pressable with an accessibilityLabel for controls, with at least a 44px target.
- Navigate with router.navigate and keep sample data as constants at the top of the file.
- Use expo-image with contentFit for photos.

## Done when

- All routes are linked and reachable.
- Colours, type and radii match the tokens above.
- `npx tsc --noEmit` and `npx expo lint` pass.
- The layout holds up on small and large phones.

Set up the project

npx create-expo-app@latest tool-rental-app --template default
cd tool-rental-app
rm -rf src
npx expo install expo-image expo-linear-gradient react-native-svg @expo-google-fonts/inter expo-font

src/app/_layout.tsx

import {
  Inter_400Regular,
  Inter_500Medium,
  Inter_600SemiBold,
  Inter_700Bold,
  Inter_800ExtraBold,
} from '@expo-google-fonts/inter';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';

export default function RootLayout() {
  const [fontsLoaded] = useFonts({
    Inter_400Regular,
    Inter_500Medium,
    Inter_600SemiBold,
    Inter_700Bold,
    Inter_800ExtraBold,
  });

  if (!fontsLoaded) return null;

  return <Stack screenOptions={{ headerShown: false }} />;
}

About this design

Search filters the grid as you type, and the detail page lets renters pick the number of days and the quantity while the total updates. It suits hardware stores, plant hire and peer-to-peer rental marketplaces.

A warm yellow fade into white with black pill buttons, rounded cards and product cut-outs of power tools and machines.

  • Category rings with selected state
  • Popular rentals with daily prices
  • Search that filters results as you type
  • Rental day picker and live total

Colour palette

  • Tool yellow

    #FFC727

  • Honey

    #F5B800

  • Cream

    #FFF3C9

  • Ink

    #111111

  • Stone

    #F2F0EB

  • Bronze

    #B07A00

How to use this design

  1. 01

    Pick what to copy

    Copy the Tool and Equipment Rental artifact, skill or code from this page.

  2. 02

    Run it or generate it

    Paste the code into a new Expo app and start it, or give the skill to your AI coding agent.

  3. 03

    Make it yours

    Replace the demo images and sample content, then connect your own data.

Frequently asked questions

What is interactive?

Category rings select, the search filters the grid as you type, and the detail page updates the total when you change days or quantity. The heart saves the item.

How is the total worked out?

It multiplies the daily price by the number of days and the quantity, so it is easy to replace with your own pricing rules.

Can I add deposits or delivery?

Yes. Add rows under the total on the detail screen. The layout already leaves room above the book button.

Is the Tool and Equipment Rental design free to use?

Yes. The design, skill and Expo code are free and MIT licensed, including for commercial apps. Replace the demo images and sample content with your own before you ship.

What is the difference between the artifact, skill and code?

The artifact is the full design: tokens, screens and source. The skill is a SKILL.md that teaches an AI coding agent to build the UI. The code is the finished Expo app you can paste in and run.

Which Expo version does the code use?

It targets Expo SDK 58 with Expo Router and TypeScript. It uses packages installed through npx expo install, with no custom native code.

More app UI designs