Cloudy Nimbus Moss Avatar

The moss Cloudy Nimbus orb as an avatar: the kit Avatar with the orb inside, 40px by default. Below 48px the orb drops its grain and adds a fine inner rim; decorative, so show the name in text.

Open the preview in a new tab

The source comes with full access.

One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/cloudy-nimbus-moss-avatar
npx shadcn add @01orbital/cloudy-nimbus-moss-avatar
yarn shadcn add @01orbital/cloudy-nimbus-moss-avatar
bunx --bun shadcn add @01orbital/cloudy-nimbus-moss-avatar

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/avatar/cloudy-nimbus-moss-avatar.tsx, as source you own and edit.

The example also uses item. Install it too:

pnpm dlx shadcn add @01orbital/item
npx shadcn add @01orbital/item
yarn shadcn add @01orbital/item
bunx --bun shadcn add @01orbital/item

Usage

import { CloudyNimbusMossAvatar } from "@/components/avatar/cloudy-nimbus-moss-avatar"
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemTitle,
} from "@/components/ui/item"

// The orb at byline size, in the byline it is drawn for.
export default function CloudyNimbusMossAvatarDemo() {
  return (
    <div className="relative isolate grid min-h-full w-full flex-1 place-items-center overflow-hidden bg-background py-24 text-foreground">
      {/* Item is w-full; w-fit lets the frame centre it. */}
      <Item size="sm" className="w-fit">
        <CloudyNimbusMossAvatar size={56} data-slot="person-avatar" />
        <ItemContent>
          <ItemTitle>Cecilia Payne</ItemTitle>
          <ItemDescription>Mission support</ItemDescription>
        </ItemContent>
      </Item>
    </div>
  )
}

API reference

Prop

Type

It also accepts the props of the Base UI part it wraps, and the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you.

Registry pieces it installs with it:

On this page