Interactive tutorial

React Native Core Components and Styling

Build a small Pocket Library screen on your own computer using React Native core components. Learn to style text and containers, arrange layouts with Flexbox, display an image, handle text input and presses, and render a scrollable list. Finish by checking your screen for keyboard behavior, accessibility, and small-screen usability.

  • Level: Beginner
  • Duration: approx. 1 h 11 min
  • 10 steps
React Native Core Components and Styling

What you will go through

  1. Step 1 of 10 9 min Create Your First Native Screen Create and run the first local Pocket Library screen with correctly nested View and Text components.
  2. Step 2 of 10 6 min Style Containers and Text Style the Pocket Library featured card with reusable StyleSheet rules, clear text hierarchy, and predictable ordered overrides.
  3. Step 3 of 10 7 min Arrange the Screen with Flexbox Use Flexbox axes, alignment, spacing, and flexible space to arrange the featured book card across different screen widths.
  4. Step 4 of 10 5 min Display and Size a Local Image Add a bundled cover image to the featured card, size it deliberately, and choose the appropriate cropping behavior.
  5. Step 5 of 10 5 min Make Longer Content Scroll Make Pocket Library scroll reliably by bounding the ScrollView viewport and placing spacing on its moving inner content.
  6. Step 6 of 10 7 min Capture a Reading Note Add a state-backed Reading note field to the existing Pocket Library screen, style it for comfortable editing, and trace how each edit updates the rendered input.
  7. Step 7 of 10 7 min Respond to Presses with Visible Feedback Create an accessible Pressable that saves a trimmed reading note in temporary component state and shows clear feedback.
  8. Step 8 of 10 8 min Render Book Data with FlatList Replace the temporary ScrollView with one FlatList that renders the Pocket Library book data while keeping the featured card and note form in the list header.
  9. Step 9 of 10 7 min Keep the Form Usable on Small Screens Adapt Pocket Library so the note form remains reachable with the keyboard open and readable on constrained screens.
  10. Step 10 of 10 10 min Complete and Check Your Pocket Library Finish the Pocket Library screen locally, repair essential connections, and verify its interactions and responsive presentation.

Video Courses

Courses related to this topic

See all video courses

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate