Snacks | NativeScript

Each Snack reveals NativeScript's power, from UI tricks to platform SDK usages to flavor implementations all through StackBlitz. Get a peek 👀 at what's possible.

Explore Snacks ​

Spaceman using just TypeScript

Shared Element Transitions using TypeScript.

View on StackBlitz

Reflective UI

Using iOS AVCaptureSession to create live reflective UI mask. Try with your phone in Dark Mode, it's neat!

View on StackBlitz

Day Night Switch

Custom NativeScript Day/Night Switch.

Large Title Display on iOS

How to enable large title displays for iOS navigation with NativeScript using prefersLargeTitles property of UINavigationBar, accessible from every Frame.

View on StackBlitz

Hardware device volume

How to get the current device volume using NativeScript on iOS and Android.

View on StackBlitz

Top Bar Height

How to check the top bar height with NativeScript on iOS and Android.

View on StackBlitz

iOS Spotlight Search

How to allow app content to be searchable using iOS Core Spotlight.

View on StackBlitz

Improve UX with NativeScript TouchManager

Instantly improve UX with NativeScript's TouchManager.

View on StackBlitz

Tab Navigation with iOS and Android

Example of how to configure tab navigation with lots of options.

View on StackBlitz

CollectionView Layout Playground

Example of using CollectionView with different layout options.

View on StackBlitz