Components
Prominent message related to the entire page or a specific area. Renders a title, an optional icon and a children slot; supports an actions slot, four status colors (critical, warning, positive, primary), inline layout direction and bleed.
npx @21st-dev/cli add reshaped/reshaped-alertLoading preview...
import { Reshaped } from "reshaped/bundle";
import Alert from "@/components/ui/reshaped-alert";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ maxWidth: 640, width: "100%", margin: "0 auto", padding: 24 }}>
<Alert bleed={4} title="Update your theme">
Don't forget to generate the new theme definition after updating to our
latest release.
</Alert>
</div>
</Reshaped>
);
}
Loading preview...
Loading preview...
Loading preview...
Loading preview...