// Education app UI

Book Reading App UI Design in Expo

This book reading app UI keeps readers coming back. The home screen celebrates a 25 day streak, shows new books on a frosted glass shelf, offers genre tabs and opens a white sheet with an Autumn Reads collection.

Screens
3
Built with
Expo SDK 58
Fonts
Inter Tight, Newsreader, DM Serif Display
License
Free (MIT)
Views
1
Book reading app home with colourful covers on a lavender background

Book Reading app screens

Book reading app home with colourful covers on a lavender background

Library home

A streak banner, a big headline, new book covers on a glass shelf, genre tabs and a popular collection.

Book detail page with cover, stats and continue reading button

Book detail

A large cover with a soft shadow, title, author, rating, pages, read time and readers, a blurb and Continue reading.

E-book reader screen with serif text and progress bar

Reader

Chapter title, serif text with a drop cap and a highlighted line, and a control bar with page progress and the streak.

Copy the Book Reading 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

# Book Reading: design artifact

This book reading app UI keeps readers coming back. The home screen celebrates a 25 day streak, shows new books on a frosted glass shelf, offers genre tabs and opens a white sheet with an Autumn Reads collection.

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

## Design direction

Soft lavender with white sheets, large Inter Tight headlines, a serif reader in Newsreader and eight illustrated covers drawn in code.

- Eight book covers drawn with shapes and type
- Frosted glass shelf under the new books
- Book detail with stats and audiobook button
- Reader with text size toggle and progress bar

## Foundations

### Colour

| Token | Hex |
| --- | --- |
| Lavender | `#C8C7FB` |
| Ink | `#111111` |
| Indigo | `#4B48D6` |
| Paper | `#FBFAF7` |
| Mist | `#F3F3F6` |
| Slate | `#77778A` |

### Typography

- Typefaces: Inter Tight, Newsreader, DM Serif Display
- Common sizes (px): 10, 12, 13, 14, 15, 16, 18, 20

### Shape and depth

- Common corner radii (px): 3, 4, 6, 9, 16, 28
- Shadows: `inset 0 1px 0 rgba(255,255,255,0.45)`, `0 24px 40px -14px rgba(40,30,120,0.45)`

## Screens

### 1. Library home

A streak banner, a big headline, new book covers on a glass shelf, genre tabs and a popular collection.

Preview: https://developermill.com/app-designs/book-reading-app-ui-design/home.webp

Copy on this screen:

- Wow! 25 Days without a break
- You're ahead of 81% of readers
- You Have 12 New Books Design
- Design
- ‹
- 16 books
- ›
- All
- 23
- 10
- Fantasy
- 5
- Mystery
- 8
- Collections
- Books
- Autumn Reads
- The Most Popular Books
- 250
- Top

### 2. Book detail

A large cover with a soft shadow, title, author, rating, pages, read time and readers, a blurb and Continue reading.

Preview: https://developermill.com/app-designs/book-reading-app-ui-design/detail.webp

Copy on this screen:

- Design · 3 of 16
- The Shape of Use
- Elena Marsh
- 4.8
- Pages
- 312
- Read time
- 6h 20m
- Readers
- 12.4k
- About the book
- Why does a good handle feel obvious and a bad door feel like a trap? Elena Marsh walks through the everyday objects we touch without thinking, and shows how shape, feedback and habit decide whether a thing gets used well.
- Continue reading
- 38%

### 3. Reader

Chapter title, serif text with a drop cap and a highlighted line, and a control bar with page progress and the streak.

Preview: https://developermill.com/app-designs/book-reading-app-ui-design/reader.webp

Copy on this screen:

- The Shape of Use
- Chapter 3 · The Handle
- aA
- A
- door handle is a promise. Before your hand arrives, its shape has already told you whether to push, pull or turn, and most of the time you never notice the message.
- We notice only when the promise is broken: the flat plate that asks to be pulled, the elegant bar that will not move.
- Good objects explain themselves through the body before they reach the mind.
- The grip, the weight, the small click at the end of a turn are all part of the conversation.
- Look around the room you are in. Count the things you used today without once reading an instruction.
- Page 118 of 312
- 24 min left in chapter
- Day 26 streak

## Full source

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

### Library home (Main)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home – new books</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&amp;family=DM+Serif+Display&amp;family=Anton&amp;family=Yellowtail&amp;display=swap">
<style>
body{margin:0}
a{color:inherit;text-decoration:none}
</style>
</helmet>
<div style="position: relative; width: 390px; height: 844px; overflow: hidden; background: linear-gradient(180deg, {{tint}} 0%, {{tint}} 100%); font-family: 'Inter Tight', sans-serif; color: #111">

<div style="display: flex; align-items: center; gap: 12px; padding: 58px 22px 0 22px">
<svg aria-hidden="true" width="34" height="30" viewBox="0 0 34 30"><path d="M2 8h9M0 14h9M4 20h7" stroke="#2B2B4A" stroke-width="1.8" stroke-linecap="round"></path><path d="M24 2 L13 17 h8 l-3 11 L30 12 h-8 l3 -10 Z" fill="#2B2B4A"></path></svg>
<div style="flex: 1; min-width: 0">
<div style="font-size: 15px; font-weight: 500; letter-spacing: -0.2px; color: #22223A">Wow! 25 Days without a break</div>
<div style="font-size: 13px; color: #4A4A6E; margin-top: 2px">You&#39;re ahead of 81% of readers</div>
</div>
<div aria-hidden="true" style="display: flex; gap: 4px"><span style="width: 5px; height: 5px; border-radius: 50%; background: #22223A"></span><span style="width: 5px; height: 5px; border-radius: 50%; background: #9C9BD0"></span><span style="width: 5px; height: 5px; border-radius: 50%; background: #9C9BD0"></span></div>
</div>

<h1 style="margin: 26px 22px 0 22px; font-size: 47px; line-height: 1.06; font-weight: 500; letter-spacing: -1.8px">You Have 12 New Books Design</h1>

<div style="display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0 30px">
<div style="font-size: 16px; font-weight: 500">Design</div>
<div style="display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3A3A5C">
<button aria-label="Previous books" style="border: 0; background: none; padding: 4px; cursor: pointer; color: #3A3A5C; font-size: 16px">‹</button>16 books<button aria-label="Next books" style="border: 0; background: none; padding: 4px; cursor: pointer; color: #3A3A5C; font-size: 16px">›</button>
</div>
</div>

<div style="position: relative; height: 170px; margin-top: 12px">
<div style="position: absolute; left: 30px; top: 6px; display: flex; gap: 24px">
<a href="Detail.dc.html" aria-label="Grid Theory" style="display: block; width: 84px"><dc-import name="Cover" book="grid" ratio="2 / 3" hint-size="84px,126px"></dc-import></a>
<a href="Detail.dc.html" aria-label="Quiet Objects" style="display: block; width: 84px"><dc-import name="Cover" book="quiet" ratio="2 / 3" hint-size="84px,126px"></dc-import></a>
<a href="Detail.dc.html" aria-label="The Shape of Use" style="display: block; width: 84px"><dc-import name="Cover" book="shape" ratio="2 / 3" hint-size="84px,126px"></dc-import></a>
<a href="Detail.dc.html" aria-label="Negative Space" style="display: block; width: 84px"><dc-import name="Cover" book="negative" ratio="2 / 3" hint-size="84px,126px"></dc-import></a>
</div>
<div aria-hidden="true" style="position: absolute; left: 18px; right: 0; top: 76px; height: 60px; background: rgba(150,148,245,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 6px 0 0 6px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.45)"></div>
</div>

<div role="tablist" aria-label="Genres" style="display: flex; justify-content: space-between; padding: 0 22px; margin-top: 6px">
<button role="tab" aria-selected="true" style="display: flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 18px; color: #111; cursor: pointer">All <span style="font-size: 10px; padding: 2px 5px; border-radius: 9px; background: #DDDCFD; color: #4B48D6">23</span></button>
<button role="tab" aria-selected="false" style="display: flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 18px; color: #4E4E66; cursor: pointer">Design <span style="font-size: 10px; padding: 2px 5px; border-radius: 9px; background: rgba(255,255,255,0.45); color: #5A5A72">10</span></button>
<button role="tab" aria-selected="false" style="display: flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 18px; color: #4E4E66; cursor: pointer">Fantasy <span style="font-size: 10px; padding: 2px 5px; border-radius: 9px; background: rgba(255,255,255,0.45); color: #5A5A72">5</span></button>
<button role="tab" aria-selected="false" style="display: flex; align-items: center; gap: 5px; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 18px; color: #4E4E66; cursor: pointer">Mystery <span style="font-size: 10px; padding: 2px 5px; border-radius: 9px; background: rgba(255,255,255,0.45); color: #5A5A72">8</span></button>
</div>

<div style="position: absolute; left: 0; right: 0; bottom: 0; height: 278px; background: #fff; border-radius: 30px 30px 0 0; padding: 18px 18px 0 22px; box-sizing: border-box; display: flex; gap: 12px">
<div style="flex: 1; min-width: 0; display: flex; flex-direction: column">
<div style="display: flex; gap: 6px">
<span style="font-size: 13px; padding: 6px 11px; border-radius: 16px; background: #EFEFF2; color: #55556A">Collections</span>
<span style="font-size: 13px; padding: 6px 11px; border-radius: 16px; background: #EFEFF2; color: #55556A">Books</span>
</div>
<div style="font-size: 21px; font-weight: 500; letter-spacing: -0.4px; margin-top: 18px">Autumn Reads</div>
<div style="font-size: 21px; letter-spacing: -0.4px; line-height: 1.25; color: #77778A; margin-top: 4px">The Most Popular Books</div>
<div style="display: flex; align-items: flex-start; gap: 4px; margin-top: auto; margin-bottom: 18px">
<span style="font-size: 76px; line-height: 0.9; font-weight: 400; letter-spacing: -3px">250</span>
<span style="font-size: 13px; color: #77778A">Top</span>
</div>
</div>
<div style="display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 186px; align-content: start">
<a href="Detail.dc.html" aria-label="Brush &amp; Fire"><dc-import name="Cover" book="brush" ratio="3 / 4" radius="10" hint-size="89px,119px"></dc-import></a>
<a href="Detail.dc.html" aria-label="Hush"><dc-import name="Cover" book="hush" ratio="3 / 4" radius="10" hint-size="89px,119px"></dc-import></a>
<a href="Detail.dc.html" aria-label="Cut to Frame"><dc-import name="Cover" book="cut" ratio="3 / 4" radius="10" hint-size="89px,119px"></dc-import></a>
<a href="Detail.dc.html" aria-label="The Orchard"><dc-import name="Cover" book="orchard" ratio="3 / 4" radius="10" hint-size="89px,119px"></dc-import></a>
</div>
</div>

</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"tint":{"editor":"color","default":"#C8C7FB","options":["#C8C7FB","#F6D9C4","#CFE8D6","#D9E4F7"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  renderVals() {
    return { tint: this.props.tint ?? '#C8C7FB' };
  }
}
</script>
</body>
</html>
```

### Book detail (Detail)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Book detail – The Shape of Use</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&amp;family=DM+Serif+Display&amp;family=Anton&amp;family=Yellowtail&amp;display=swap">
<style>
body{margin:0}
a{color:inherit;text-decoration:none}
</style>
</helmet>
<div style="position: relative; width: 390px; height: 844px; overflow: hidden; background: #fff; font-family: 'Inter Tight', sans-serif; color: #111">

<div style="position: absolute; left: 0; right: 0; top: 0; height: 330px; background: {{tint}}; border-radius: 0 0 34px 34px"></div>

<div style="position: relative; display: flex; justify-content: space-between; align-items: center; padding: 58px 20px 0 20px">
<a href="Main.dc.html" aria-label="Back to home" style="width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center">
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"></path></svg>
</a>
<div style="font-size: 14px; color: #3A3A5C">Design · 3 of 16</div>
<button aria-label="Save to collection" style="width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.55); 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="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>
</button>
</div>

<div style="position: relative; display: flex; justify-content: center; margin-top: 22px">
<div style="width: 176px; box-shadow: 0 24px 40px -14px rgba(40,30,120,0.45); border-radius: 4px">
<dc-import name="Cover" book="shape" ratio="2 / 3" radius="4" hint-size="176px,264px"></dc-import>
</div>
</div>

<div style="position: relative; padding: 0 22px">
<div style="margin-top: 28px; display: flex; justify-content: space-between; align-items: flex-end">
<div>
<h1 style="margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -0.9px">The Shape of Use</h1>
<div style="font-size: 15px; color: #77778A; margin-top: 4px">Elena Marsh</div>
</div>
<div style="display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500">
<svg aria-hidden="true" width="15" height="15" viewBox="0 0 24 24" fill="#111"><path d="M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z"></path></svg>4.8
</div>
</div>

<div style="display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px">
<div style="background: #F3F3F6; border-radius: 16px; padding: 12px 14px"><div style="font-size: 12px; color: #6E6E82">Pages</div><div style="font-size: 20px; font-weight: 500; margin-top: 2px">312</div></div>
<div style="background: #F3F3F6; border-radius: 16px; padding: 12px 14px"><div style="font-size: 12px; color: #6E6E82">Read time</div><div style="font-size: 20px; font-weight: 500; margin-top: 2px">6h 20m</div></div>
<div style="background: #F3F3F6; border-radius: 16px; padding: 12px 14px"><div style="font-size: 12px; color: #6E6E82">Readers</div><div style="font-size: 20px; font-weight: 500; margin-top: 2px">12.4k</div></div>
</div>

<div style="font-size: 16px; font-weight: 500; margin-top: 20px">About the book</div>
<p style="margin: 6px 0 0 0; font-size: 14px; line-height: 1.5; color: #5A5A6E">Why does a good handle feel obvious and a bad door feel like a trap? Elena Marsh walks through the everyday objects we touch without thinking, and shows how shape, feedback and habit decide whether a thing gets used well.</p>

<div style="display: flex; gap: 10px; margin-top: 22px">
<a href="Reader.dc.html" style="flex: 1; height: 56px; border-radius: 28px; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; font-weight: 500">Continue reading <span style="font-size: 13px; color: #B9B8F5">38%</span></a>
<button aria-label="Listen to audiobook" style="width: 56px; height: 56px; border-radius: 50%; border: 0; background: {{tint}}; display: flex; align-items: center; justify-content: center; cursor: pointer">
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1v-6h3zM3 19a2 2 0 0 0 2 2h1v-6H3z"></path></svg>
</button>
</div>
</div>

</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"tint":{"editor":"color","default":"#C8C7FB","options":["#C8C7FB","#F6D9C4","#CFE8D6","#D9E4F7"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  renderVals() {
    return { tint: this.props.tint ?? '#C8C7FB' };
  }
}
</script>
</body>
</html>
```

### Reader (Reader)

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Reader – chapter 3</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&amp;family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&amp;display=swap">
<style>
body{margin:0}
a{color:inherit;text-decoration:none}
</style>
</helmet>
<div style="position: relative; width: 390px; height: 844px; overflow: hidden; background: #FBFAF7; font-family: 'Inter Tight', sans-serif; color: #111">

<div style="display: flex; align-items: center; justify-content: space-between; padding: 58px 20px 0 20px">
<a href="Detail.dc.html" aria-label="Back to book" style="width: 44px; height: 44px; border-radius: 50%; background: #EFEEF4; display: flex; align-items: center; justify-content: center">
<svg aria-hidden="true" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"></path></svg>
</a>
<div style="text-align: center">
<div style="font-size: 12px; color: #77778A">The Shape of Use</div>
<div style="font-size: 15px; font-weight: 500; margin-top: 1px">Chapter 3 · The Handle</div>
</div>
<button aria-label="Change text size" onClick="{{toggleSize}}" style="width: 44px; height: 44px; border-radius: 50%; border: 0; background: #EFEEF4; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: #111">aA</button>
</div>

<div style="padding: 26px 26px 0 26px; font-family: 'Newsreader', serif; font-size: {{textSize}}px; line-height: 1.6; color: #24242E">
<p style="margin: 0 0 14px 0"><span style="font-size: 44px; line-height: 0.8; float: left; margin: 6px 8px 0 0; color: #111">A</span> door handle is a promise. Before your hand arrives, its shape has already told you whether to push, pull or turn, and most of the time you never notice the message.</p>
<p style="margin: 0 0 14px 0">We notice only when the promise is broken: the flat plate that asks to be pulled, the elegant bar that will not move.</p>
<p style="margin: 0 0 14px 0"><span style="background: {{tint}}; border-radius: 4px; padding: 1px 2px">Good objects explain themselves through the body before they reach the mind.</span> The grip, the weight, the small click at the end of a turn are all part of the conversation.</p>
<p style="margin: 0; font-style: italic; color: #5A5A6E">Look around the room you are in. Count the things you used today without once reading an instruction.</p>
</div>

<div style="position: absolute; left: 16px; right: 16px; bottom: 26px; background: {{tint}}; border-radius: 28px; padding: 16px 18px 14px 18px">
<div style="display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #3A3A5C">
<span>Page 118 of 312</span>
<span>24 min left in chapter</span>
</div>
<div role="progressbar" aria-label="Book progress" aria-valuenow="38" aria-valuemin="0" aria-valuemax="100" style="height: 6px; border-radius: 3px; background: rgba(255,255,255,0.6); margin-top: 10px; overflow: hidden">
<div style="width: 38%; height: 100%; background: #111; border-radius: 3px"></div>
</div>
<div style="display: flex; justify-content: space-between; align-items: center; margin-top: 12px">
<button aria-label="Previous page" style="width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.6); 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="#111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"></path></svg></button>
<div style="display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500">
<svg aria-hidden="true" width="18" height="16" viewBox="0 0 34 30"><path d="M24 2 L13 17 h8 l-3 11 L30 12 h-8 l3 -10 Z" fill="#111"></path></svg>Day 26 streak
</div>
<button aria-label="Next page" style="width: 44px; height: 44px; border-radius: 50%; border: 0; background: #111; 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="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"></path></svg></button>
</div>
</div>

</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"tint":{"editor":"color","default":"#C8C7FB","options":["#C8C7FB","#F6D9C4","#CFE8D6","#D9E4F7"]},"$preview":{"width":390,"height":844}}'>
class Component extends DCLogic {
  constructor(props) { super(props); this.state = { large: false }; }
  renderVals() {
    return {
      tint: this.props.tint ?? '#C8C7FB',
      textSize: this.state.large ? 19 : 17,
      toggleSize: () => this.setState({ large: !this.state.large })
    };
  }
}
</script>
</body>
</html>
```

### Cover component (Cover)

Every `<dc-import name="Cover">` above renders this board with its `book`, `ratio` and `radius` props. In the Expo code it is `src/components/book-cover.tsx`.

```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Book cover</title>
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&amp;family=DM+Serif+Display&amp;family=Anton&amp;family=Yellowtail&amp;display=swap">
<style>body{margin:0}</style>
</helmet>
<div style="position: relative; width: 100%; aspect-ratio: {{ratio}}; container-type: inline-size; overflow: hidden; border-radius: {{radius}}px; font-family: 'Inter Tight', sans-serif; box-shadow: 0 1px 2px rgba(20,20,60,0.18)">

<sc-if value="{{isGrid}}" hint-placeholder-val="{{ true }}">
<div style="position: absolute; inset: 0; background: #F4F1EA">
<div style="position: absolute; left: 0; top: 0; bottom: 0; width: 11%; background: #1F4FD8"></div>
<div style="position: absolute; left: 11%; right: 0; top: 24%; height: 32%; background: #F7D224"></div>
<div style="position: absolute; right: 0; bottom: 12%; width: 38%; height: 26%; background: #E0342A"></div>
<div style="position: absolute; left: 18%; top: 61%; width: 36%; height: 0.8cqw; background: #111"></div>
<div style="position: absolute; right: 7%; top: 5%; font-size: 14cqw; font-weight: 800; letter-spacing: -0.05em; color: #111; line-height: 1">grid theory</div>
<div style="position: absolute; right: 7%; top: 16%; font-size: 4.6cqw; color: #333">a century of modernist form</div>
<div style="position: absolute; left: 18%; top: 65%; width: 38%; font-size: 4.6cqw; line-height: 1.25; color: #222">the definitive reference on grids, blocks and colour</div>
<div style="position: absolute; left: 18%; bottom: 4%; font-size: 4.2cqw; font-weight: 700; letter-spacing: 0.15em; color: #111">NORDA</div>
</div>
</sc-if>

<sc-if value="{{isQuiet}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: #F57A1F">
<div style="position: absolute; left: 7%; top: 5%; width: 36%; font-size: 4.8cqw; line-height: 1.25; color: #1a1a1a">the industrial designer&#39;s notebook</div>
<div style="position: absolute; right: 2%; top: 2%; bottom: 2%; writing-mode: vertical-rl; font-size: 33cqw; font-weight: 800; line-height: 0.82; letter-spacing: -0.06em; color: #111">quiet objects</div>
<div style="position: absolute; left: 7%; bottom: 4%; font-size: 4.2cqw; font-weight: 700; letter-spacing: 0.15em; color: #1a1a1a">KESTREL</div>
</div>
</sc-if>

<sc-if value="{{isShape}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: #F5DC3F">
<div style="position: absolute; left: 0; right: 0; top: 9%; text-align: center; font-family: 'DM Serif Display', serif; font-size: 13.5cqw; line-height: 1.05; color: #9B1B1B">The Shape<br>of Use</div>
<svg aria-hidden="true" viewBox="0 0 100 110" style="position: absolute; left: 22%; bottom: 7%; width: 52%">
<ellipse cx="50" cy="104" rx="34" ry="5" fill="rgba(120,60,0,0.18)"></ellipse>
<rect x="26" y="94" width="40" height="8" rx="3" fill="#B71F1A"></rect>
<path d="M44 95 L36 58 L62 30" stroke="#B71F1A" stroke-width="5" fill="none" stroke-linecap="round"></path>
<circle cx="36" cy="58" r="4.5" fill="#8E1512"></circle>
<path d="M54 22 L80 12 L92 40 L66 50 Z" fill="#D2271F"></path>
<path d="M66 50 Q79 58 92 40" fill="#FFF3B0" opacity="0.8"></path>
</svg>
<div style="position: absolute; right: 7%; bottom: 5%; font-family: 'DM Serif Display', serif; font-size: 4.6cqw; letter-spacing: 0.1em; color: #9B1B1B">ELENA MARSH</div>
</div>
</sc-if>

<sc-if value="{{isNegative}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: #131313">
<div style="position: absolute; left: 8%; top: 6%; font-size: 6cqw; font-weight: 600; letter-spacing: 0.2em; color: #fff">NEGATIVE<br>SPACE</div>
<svg aria-hidden="true" viewBox="0 0 100 150" style="position: absolute; inset: 0; width: 100%; height: 100%">
<path d="M40 150 C 40 110, 95 112, 88 78 C 82 48, 45 52, 52 80 C 58 104, 98 96, 100 60" stroke="#fff" stroke-width="2.2" fill="none" stroke-linecap="round"></path>
</svg>
<div style="position: absolute; left: 8%; bottom: 4%; width: 6cqw; height: 6cqw; border-radius: 50%; border: 0.8cqw solid #fff; box-sizing: border-box"></div>
</div>
</sc-if>

<sc-if value="{{isBrush}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: repeating-radial-gradient(circle at 75% 30%, #2E7F86 0 2.5cqw, #E3A93A 2.5cqw 4.5cqw, #1E5C78 4.5cqw 7cqw, #D86A2B 7cqw 9cqw)">
<svg aria-hidden="true" viewBox="0 0 100 133" style="position: absolute; inset: 0; width: 100%; height: 100%">
<path d="M18 133 C 22 105, 40 96, 60 96 C 82 96, 96 108, 100 133 Z" fill="#23506E"></path>
<path d="M44 92 C 40 70, 44 52, 62 50 C 80 50, 86 70, 80 92 C 74 104, 52 104, 44 92 Z" fill="#E9B072"></path>
<path d="M46 82 C 48 104, 76 106, 80 82 C 76 96, 52 96, 46 82 Z" fill="#C8551E"></path>
<ellipse cx="62" cy="46" rx="30" ry="6" fill="#F2CF4A"></ellipse>
<path d="M44 46 C 44 30, 80 30, 80 46 Z" fill="#E8BE3A"></path>
<circle cx="55" cy="70" r="2.2" fill="#1E4A5C"></circle><circle cx="71" cy="70" r="2.2" fill="#1E4A5C"></circle>
</svg>
<div style="position: absolute; left: 4%; top: 4%; bottom: 4%; writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'DM Serif Display', serif; font-size: 15cqw; line-height: 1; color: #F7D23E; text-shadow: 0 0 3cqw rgba(0,0,0,0.25)">BRUSH &amp; FIRE</div>
<div style="position: absolute; right: 6%; bottom: 4%; font-size: 4.4cqw; color: #FFF6DA">the life of a painter</div>
</div>
</sc-if>

<sc-if value="{{isHush}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: #E5142B">
<div style="position: absolute; left: 0; right: 0; top: 22%; text-align: center; font-family: 'Yellowtail', cursive; font-size: 46cqw; line-height: 1; color: #fff">Hush</div>
<svg aria-hidden="true" viewBox="0 0 100 133" style="position: absolute; inset: 0; width: 100%; height: 100%">
<g fill="#111"><circle cx="24" cy="22" r="2"></circle><rect x="22.6" y="24.5" width="2.8" height="8" rx="1.2"></rect></g>
<g fill="#111"><circle cx="80" cy="50" r="2"></circle><rect x="78.6" y="52.5" width="2.8" height="8" rx="1.2"></rect></g>
</svg>
<div style="position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font-size: 5.4cqw; font-weight: 700; letter-spacing: 0.12em; color: #fff">NINA HOLLOWAY</div>
<div style="position: absolute; left: 0; right: 0; bottom: 3%; text-align: center; font-size: 3.8cqw; color: #FFD9DD">a novel</div>
</div>
</sc-if>

<sc-if value="{{isCut}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: #F1E6C8">
<div style="position: absolute; left: 0; top: 0; width: 46%; height: 30%; background: #E0A526"></div>
<div style="position: absolute; left: 46%; top: 0; right: 0; height: 18%; background: #D9531E"></div>
<div style="position: absolute; right: 0; top: 18%; width: 28%; height: 30%; background: #2A8C8A"></div>
<div style="position: absolute; left: 0; top: 64%; width: 22%; height: 22%; background: #111"></div>
<div style="position: absolute; right: 10%; top: 66%; width: 24%; height: 16%; background: #C9302C; border-radius: 0 0 50% 50%"></div>
<div style="position: absolute; left: 7%; top: 28%; font-family: 'Anton', sans-serif; font-size: 19cqw; line-height: 0.95; color: #1a1a1a">CUT<br>TO<br>FRAME</div>
<div style="position: absolute; left: 26%; bottom: 8%; width: 44%; font-size: 4cqw; line-height: 1.2; color: #333">the complete guide to the short film</div>
<div style="position: absolute; left: 26%; bottom: 3%; font-size: 4.2cqw; font-weight: 700; color: #1a1a1a">Owen Pike</div>
</div>
</sc-if>

<sc-if value="{{isOrchard}}" hint-placeholder-val="{{ false }}">
<div style="position: absolute; inset: 0; background: linear-gradient(180deg, #0D2654 0%, #1D4C8F 58%, #0A1C42 100%)">
<div style="position: absolute; left: -10%; right: -10%; top: 52%; height: 22%; background: radial-gradient(ellipse at center, rgba(190,215,255,0.45), rgba(190,215,255,0) 70%)"></div>
<div style="position: absolute; left: 0; right: 0; top: 6%; text-align: center; font-family: 'Anton', sans-serif; font-size: 17cqw; line-height: 1; color: #fff">THE ORCHARD</div>
<div style="position: absolute; left: 0; right: 0; top: 22%; text-align: center; font-size: 4.2cqw; color: #CFE0FF">some secrets ripen slowly</div>
<svg aria-hidden="true" viewBox="0 0 100 133" style="position: absolute; inset: 0; width: 100%; height: 100%">
<rect x="51" y="44" width="2.4" height="16" fill="#C9D2DC"></rect>
<circle cx="52.2" cy="42" r="4" fill="none" stroke="#C9D2DC" stroke-width="2"></circle>
<path d="M52 58 C 44 58, 42 70, 40 78 C 32 86, 30 104, 52 108 C 74 104, 72 86, 64 78 C 62 70, 60 58, 52 58 Z" fill="#D3242C"></path>
<path d="M44 74 C 42 84, 40 92, 44 98" stroke="#FF7A7A" stroke-width="2" fill="none" opacity="0.7"></path>
<ellipse cx="52" cy="110" rx="18" ry="2.5" fill="rgba(0,0,0,0.35)"></ellipse>
</svg>
<div style="position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-size: 4.4cqw; font-weight: 600; letter-spacing: 0.14em; color: #fff">J. R. CALLOWAY</div>
</div>
</sc-if>

</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props='{"book":{"editor":"enum","options":["grid","quiet","shape","negative","brush","hush","cut","orchard"],"default":"grid"},"ratio":{"editor":"enum","options":["2 / 3","3 / 4"],"default":"2 / 3"},"radius":{"editor":"int","min":0,"max":24,"default":3},"$preview":{"width":120,"height":180}}'>
class Component extends DCLogic {
  renderVals() {
    const b = this.props.book ?? 'grid';
    return {
      ratio: this.props.ratio ?? '2 / 3',
      radius: this.props.radius ?? 3,
      isGrid: b === 'grid', isQuiet: b === 'quiet', isShape: b === 'shape', isNegative: b === 'negative',
      isBrush: b === 'brush', isHush: b === 'hush', isCut: b === 'cut', isOrchard: b === 'orchard'
    };
  }
}
</script>
</body>
</html>
```

SKILL.md

Save as .claude/skills/book-reading-app-ui/SKILL.md

---
name: book-reading-app-ui
description: Build the Book Reading mobile app UI in Expo React Native. Use when asked to create a book reading app UI or a new screen in this visual style.
---

# Book Reading app UI

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

Reference: https://developermill.com/app-designs/book-reading-app-ui-design

## Visual direction

Soft lavender with white sheets, large Inter Tight headlines, a serif reader in Newsreader and eight illustrated covers drawn in code.

Keep these signature details:

- Eight book covers drawn with shapes and type
- Frosted glass shelf under the new books
- Book detail with stats and audiobook button
- Reader with text size toggle and progress bar

## Set up

```bash
npx expo install expo-blur expo-linear-gradient react-native-svg @expo-google-fonts/anton @expo-google-fonts/dm-serif-display @expo-google-fonts/inter-tight @expo-google-fonts/newsreader @expo-google-fonts/yellowtail expo-font
```

## Tokens

| Name | Hex |
| --- | --- |
| Lavender | `#C8C7FB` |
| Ink | `#111111` |
| Indigo | `#4B48D6` |
| Paper | `#FBFAF7` |
| Mist | `#F3F3F6` |
| Slate | `#77778A` |

- Typefaces: Inter Tight, Newsreader, DM Serif Display
- Text sizes (px): 10, 12, 13, 14, 15, 16, 18, 20
- Corner radii (px): 3, 4, 6, 9, 16, 28

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

## Screens

1. **Library home.** A streak banner, a big headline, new book covers on a glass shelf, genre tabs and a popular collection.
2. **Book detail.** A large cover with a soft shadow, title, author, rating, pages, read time and readers, a blurb and Continue reading.
3. **Reader.** Chapter title, serif text with a drop cap and a highlighted line, and a control bar with page progress and the streak.

## 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 book-reading-app --template default
cd book-reading-app
rm -rf src
npx expo install expo-blur expo-linear-gradient react-native-svg @expo-google-fonts/anton @expo-google-fonts/dm-serif-display @expo-google-fonts/inter-tight @expo-google-fonts/newsreader @expo-google-fonts/yellowtail expo-font

src/app/_layout.tsx

import { Anton_400Regular } from '@expo-google-fonts/anton';
import { DMSerifDisplay_400Regular } from '@expo-google-fonts/dm-serif-display';
import {
  InterTight_400Regular,
  InterTight_500Medium,
  InterTight_600SemiBold,
  InterTight_700Bold,
  InterTight_800ExtraBold,
} from '@expo-google-fonts/inter-tight';
import { Newsreader_400Regular, Newsreader_400Regular_Italic } from '@expo-google-fonts/newsreader';
import { Yellowtail_400Regular } from '@expo-google-fonts/yellowtail';
import { useFonts } from 'expo-font';
import { Stack } from 'expo-router';

export default function RootLayout() {
  const [fontsLoaded] = useFonts({
    Anton_400Regular,
    DMSerifDisplay_400Regular,
    InterTight_400Regular,
    InterTight_500Medium,
    InterTight_600SemiBold,
    InterTight_700Bold,
    InterTight_800ExtraBold,
    Newsreader_400Regular,
    Newsreader_400Regular_Italic,
    Yellowtail_400Regular,
  });

  if (!fontsLoaded) return null;

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

About this design

The detail page has a large cover, rating, page count, read time and a Continue reading button with progress. The reader uses a serif font with a drop cap, a highlighted passage and a lavender control bar with page progress and the streak.

Soft lavender with white sheets, large Inter Tight headlines, a serif reader in Newsreader and eight illustrated covers drawn in code.

  • Eight book covers drawn with shapes and type
  • Frosted glass shelf under the new books
  • Book detail with stats and audiobook button
  • Reader with text size toggle and progress bar

Colour palette

  • Lavender

    #C8C7FB

  • Ink

    #111111

  • Indigo

    #4B48D6

  • Paper

    #FBFAF7

  • Mist

    #F3F3F6

  • Slate

    #77778A

How to use this design

  1. 01

    Pick what to copy

    Copy the Book Reading 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

Are the book covers images?

No. All eight covers are one BookCover component drawn with views, SVG and Google fonts. Pass a book name and a width and it scales.

Does the text size button work?

Yes. The aA button switches the reader between 17 and 19 point text and the line height follows.

Can I use real cover images?

Yes. Replace BookCover with an expo-image Image at the same size. The shelf and grid layouts stay the same.

Is the Book Reading 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