Loading component…
Loading component…
A frosted white cloud with eyes cut out of it, on a blue or red-orange sky
import { FrostCloud } from "@/components/ui/frost-cloud";
export function AssistantCard() {
return (
<article style={{ maxWidth: 320 }}>
<FrostCloud color="orange" />
<h3>Meet your assistant</h3>
</article>
);
}| Name | Type | Default | Description |
|---|---|---|---|
| color | "blue" \| "orange" | "blue" | Blue-to-cyan or red-to-orange sky; the cloud's colors follow |
| background | boolean | true | Fill the whole box with the sky gradient; false leaves the cloud on a transparent background with a soft colored edge |
| followPointer | boolean | true | The eyes follow the pointer while it's over the illustration |
| label | string | Accessible description of the illustration | |
| className | string | Extra class on the root |
Square by default; give it a height and the sky fills the whole box while the cloud stays centered, up to 320px wide
Light and dark mode via a .dark class or data-theme="dark": a deeper sky in dark mode
@import "tailwindcss"; in your main CSS file.