Banner
A prominent message strip that surfaces status or announcements with an optional icon and trailing actions.
A new version of the workspace is available
Reload to get the latest features and fixes for your projects.
Show codeHide code
Installation
import { Banner } from "@makeplane/propel/components/banner";Usage
import { Banner } from "@makeplane/propel/components/banner";
import { Button } from "@makeplane/propel/components/button";
import * as React from "react";
export default function BasicDemo() {
const [visible, setVisible] = React.useState(true);
if (!visible) return null;
return (
<Banner
placement="page"
variant="neutral"
title="A new version of the workspace is available"
description="Reload to get the latest features and fixes for your projects."
actions={
<>
<Button stretch="auto" variant="secondary" size="xs" label="Learn more" />
<Button stretch="auto" variant="primary" size="xs" label="Update now" />
</>
}
onDismiss={() => setVisible(false)}
/>
);
}Examples
Variants
Your workspace settings were saved
A new project template is available to try
Cycles are rolling out to your workspace this week
Scheduled maintenance begins at 6 PM UTC
Two projects failed to sync with the server
Show codeHide code
Placements
A new version of the workspace is available
Reload to get the latest features and fixes for your projects.
A new version of the workspace is available
Reload to get the latest features and fixes for your projects.
Show codeHide code
Dismissible
Pass onDismiss to render the dedicated trailing dismiss control. The handler fires on click; the banner does not hide itself, so consumers own visibility. Don’t append a dismiss button to actions.
Invite your teammates to this project
They will get access to every cycle and work item once they join.
Show codeHide code
Icon
The leading icon defaults to a variant-appropriate glyph. Pass a custom node via icon, or icon={null} to hide it.
Cycles got faster board rendering
Scheduled maintenance begins at 6 PM UTC
Show codeHide code
API Reference
Banner
The ready-made banner: composes the atomic banner parts — the variant icon, the message body (`title` + `description`), trailing `actions`, and an optional trailing `onDismiss` control — so consumers pass content, not layout. Drop down to `@makeplane/propel/elements/banner` to assemble the parts directly.