Create Post Menu Component

The AmityCreatePostMenuComponent provides users with options to create posts or stories, enhancing user engagement by facilitating content creation on community feeds or my timeline. It acts as a gateway for users to navigate to specific content creation flows.

Features

Feature

Description

Create Post

Allows users to create a new post directly from the component, navigating to a post target selection page.

Create Story

Enables story creation, directing users to a story target selection page to customize their story’s audience and settings.

Customization

Config IDTypeDescription

social_home_page/create_post_menu/*

Component

You can customize component theme

social_home_page/create_post_menu/create_post_button

Element

You can customize text and image

social_home_page/create_post_menu/create_story_button

Element

You can customize text and image

social_home_page/create_post_menu/create_poll_button

Element

You can customize text and image

social_home_page/create_post_menu/create_livestream_button

Element

You can customize text and image

For more details on customization, please refer to the Customization page.

Usage

The AmityCreatePostMenuComponent is designed for straightforward integration into any part of your application that requires user interaction with content creation options. This component is highly versatile, supporting various development scenarios.

The behavior of the AmityCreatePostMenuComponent can be customized to manage how the application navigates upon user actions related to post and story creation. Here’s how you can override the default behavior to ensure that navigation aligns with your application’s specific user flow and business logic:

Last updated