4.2.0
CoreMessage

Message API

Every prop of the 6 parts Message exports, generated from the package manifest.

import { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Message · MessageAvatar · MessageContent · MessageFooter · MessageGroup · MessageHeadertypes: MessageProps
Variants
  • align: end | start
Contract
packages/brand-system/src/components/message.contract.test-d.ts
Demos
6 on the Message page — rendered live, hydrated
Source
packages/brand-system/src/components/message.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Message is for, how it composes and what it looks like, see Message.

Message

MessageProps

Prop

Type

Also accepts everything from React.HTMLAttributes<HTMLDivElement>.

MessageAvatar

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

MessageContent

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

MessageFooter

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

MessageGroup

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

MessageHeader

A styled <div> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

On this page