> For the complete documentation index, see [llms.txt](https://docs.airdev.co/social-network-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airdev.co/social-network-template/assets/reusables/createpost.md).

# createpost

Module for creating posts

## Create Post Reusable Overview

This is the reusable used to create a `Post` for the currently logged in user. This element exists on the [feed](/social-network-template/assets/pages/feed.md) and [profile](/social-network-template/assets/pages/profile.md) pages.

## Key Workflows

#### Button Create Post is clicked

* Creates a `Post` instance and links it to the current user
* The user must input either text, an image, or both
