The various interactive elements that are delivered to audiences to engage with are called widgets. The library of widgets is always expanding and features things like polls, quizzes, and predictions.

πŸ“˜

What are widgets, different available widgets and presentational modes?

Refer our widget core documentation

πŸ“˜

Widget core concepts

As a pre-requisite we recommend you to go through our widget core concepts documentation that would help you to understand below different widgets, their structure and available customisations.

Widget Anatomy

Widget UI Lifecycle

πŸ‘

Snack expo playground

Refer livelike-widgets snack expo playground

React Native SDK provides different stock widget UI components:

  1. LLPollWidget - Poll option based widget that could be either text or image based on widgetKind
  2. LLQuizWidget - Quiz choice based widget that could be either text or image based on widgetKind
  3. LLPredictionWidget - Prediction based widget that could be either text or image based on widgetKind. Every prediction based widget has a follow up widget that shows the user actual result of the prediction. For example a prediction widget which lets user to predict the winner of the football match, a follow up widget would show the actual winner along with the overall vote counts.
  4. LLPredictionFollowUpWidget - Prediction follow up widget that could be either text or image based on widgetKind. This widget is always a non interact-able widget.
  5. LLNumberPredictionWidget - Number prediction based widget that could be either text or image based on widgetKind.
  6. LLNumberPredictionFollowUpWidget - Number prediction based widget that could be either text or image based on widgetKind. Number prediction widget lets user prediction
  7. LLEmojiSliderWidget - Slider based widget that could have different emojis presented at different sliding levels.
  8. LLCheerMeterWidget - Cheer meter based widget that could empower user to cheer for their teams, player , etc.