Palette
Colour theme

Page

Announcement

A slim bar for news.

import { Announcement } from "gui-mellow/Announcement";

Linked

Plain

Office closed Monday for the holiday.
Source of these examples
import { Announcement } from "gui-mellow/Announcement";
import { Example } from "../lib/Example";

export default function AnnouncementDemo() {
  return (
    <>
      <Example title="Linked" bleed>
        <Announcement label="New" href="#">
          Version 2 is out, with storage replication.
        </Announcement>
      </Example>
      <Example title="Plain" bleed>
        <Announcement>Office closed Monday for the holiday.</Announcement>
      </Example>
    </>
  );
}