Examples library
Product Hunt launch announcement
Launching your product on Product Hunt? Broadcast the launch inside your app.
Product Hunt launch announcement example application – Flows
This example showcases how to create a Product Hunt launch announcement using Flows. It is powered by @flows/react and custom components.
Features
This example showcases multiple components that can be used to announce your Product Hunt launch inside your app.
Sidebar card
The sidebar card is a great way to announce your Product Hunt launch without overlaying important content. It is a embeddable component that can be placed in the sidebar of your app using the FlowsSlot component.

Floating banner
A classic way to handle in app announcements. The floating banner shows up in the bottom right corner of the screen and can be dismissed by the user. It is easier to implement because it doesn’t require you to implement a slot in your app.

Top bar banner
Similarly to the sidebar card, the top bar banner is a great way to announce your Product Hunt launch without overlaying important content. It slides in from the top of the screen to catch the user’s attention. It is also an embeddable component that can be placed in the top bar of your app using the FlowsSlot component.

Regardless of the component you choose, using Flows to announce your Product Hunt launch is a great way to increase visibility and engagement. The components are designed to be easy to use and integrate into your app, so you can focus on what matters most: your important day. Good luck with your launch!
Getting started
- Sign up for Flows if you haven’t already. You can create a free account here.
- Clone the repository from GitHub and install the required dependencies in the project directory.
- Add your organization ID in the providers.tsx file.
- Create a new block template for Sidebar Banner in your organization with the following configuration:
- UI component: SidebarBanner
- Slottable: true
- Custom properties:
- Title
- Description
- Href
- Exit nodes:
- continue
- Create a new block template for Floating Banner in your organization with the following configuration:
- UI component: FloatingBanner
- Slottable: false
- Custom properties:
- Title
- Description
- Button label
- Href
- Exit nodes:
- continue
- Create a new block template for Top Banner in your organization with the following configuration:
- UI component: TopBanner
- Slottable: true
- Custom properties:
- Text
- Href
- Exit nodes:
- continue
- Recreate the workflow in your organization and publish it.
- Run the development server with pnpm dev.
Learn more
To learn more about Flows take a look at the following resources:
Framework
Next.js
Tags
Explore more examples
Build anything with Flows
Build the product adoption experiences you've always wanted.