232
A rack of humming units with blinking status lights – hover one and it slides forward, its bezel gliding off to show the drives inside.
akaserver·rack·infrastructure
Run this in any project set up for the shadcn CLI. It copies the Server Rack source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/server-rack.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ServerRack } from "@/components/server-rack";
export default function Page() {
return <ServerRack />;
}A free React illustration in the Objects collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Server Rack source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| units | ServerRackUnit[] | defaultUnits |
| label | string | "rack-a3" |
| hue | ServerRackHue | "sky" |
| autoPeek | boolean | true |
| className | string | — |