# Course Detail

Preview an online course with its cover, instructor, ratings and a syllabus of expandable modules. Enroll and every locked lesson turns into a play button, one after another, ready to start.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/misc-course-detail
```

## Import

```tsx
import { CourseDetailScreen } from "@/screens/misc/course-detail";
```

## Registry dependencies

- `animated-number` — /components/animated-number
- `avatar` — /components/avatar
- `collapsible` — /components/collapsible
- `icon` — /components/icon
- `text` — /components/text

## Native packages

- react-native-reanimated@*
- react-native-safe-area-context@*
- react-native-svg@*

## Icons rendered

- `play` — /icons.html?i=play
- `lock` — /icons.html?i=lock
- `chevron-right` — /icons.html?i=chevron-right
- `star` — /icons.html?i=star

Source: https://lumioui.com/screens/misc-course-detail