Introduction
What Cloudlet is, how the kit is split into engines and simple components, and which components it has.
Cloudlet is a set of React components for the web. Each one moves on springs that can be interrupted, works from the keyboard and with a screen reader, and stays small. Every component has its own page in these docs: how to install it, how to use it and every prop it takes.
How the kit is built
The components come in two kinds, and the kind decides how you install and update them.
- Engines carry their own runtime: state, timers, animation, announcements. Each engine is an npm package under
@cloudlet/with its own version, so you get fixes by updating the package. The Toaster is an engine:@cloudlet/toast. A thin shadcn registry item wraps the package when you want the component themed with your tokens. - Simple components are source code. The shadcn CLI copies their files into your project, where they are yours to read and change. They have no npm package and no version: to take a newer one, add the item again and review the diff.
Both kinds are added with the shadcn CLI under the @cloudlet namespace; Installation has the commands.
Components
- Toaster: one notification stack that collapses to a pill and opens into the Island, with operations, retry and cancel. An engine,
@cloudlet/toast. - Color picker: a round swatch that morphs into a full picker, in hex, rgb, hsl and oklch. A simple component.
- Color palette: a row of up to four color pickers, with add and remove. A simple component that brings the color picker with it.
- Onboarding: a product tour that dims the page around a cutout springing from target to target. A simple component.
- Notification center: a panel at the edge of the screen for your app's own notifications, from your server or a socket, in groups, with a bell that counts what is unread. Part of the
@cloudlet/toastengine, at@cloudlet/toast/center, with a registry item for the bell.
Markdown for agents
Every page of these docs has a Markdown version at its address plus .md, such as /docs/components/toaster.md. llms.txt lists the pages for agents, and llms-full.txt holds all of them in one file.
An agent that works inside your running app is another reader: Agents shows how it reads the components and acts on them under your permission.
Next steps
- Installation: the shadcn CLI for every component, npm for engines.
- Agents: the bridge between the components and an AI agent in your app.