Command Palette

Search for a command to run...

Docs
Inline Notification

Inline Notification

Displays an inline callout for user attention.

A ShadCN Alert component customized by adding variants.

Installation

pnpm dlx shadcn@latest add "https://akasha-ui.pages.dev/r/styles/default/inline-notification.json"

Usage

import {
  InlineNotification,
  InlineNotificationDescription,
  InlineNotificationTitle,
} from "<path-to-ui-components>/alert";
<InlineNotification>
  <InlineNotificationTitle>Alert title</InlineNotificationTitle>
  <InlineNotificationDescription>
    You can add components and dependencies to your app using the cli.
  </InlineNotificationDescription>
</InlineNotification>

Props

NameTypeDescription
variantinfo, success or destructiveComponent variants.

Examples

Info

Success

Destructive