Timestamped log lines tagged by level in info, warn, error, and ok colors.
The import and the props worth knowing about, in one place.
import { Terminal7 } from "@/components/beste/piece/terminal7";
<Terminal7
logs={[
{
"time": "12:04:01",
"level": "ok",
"message": "Server ready on port 3000"
},
{
"time": "12:04:03",
"level": "info",
"message": "Compiled /dashboard in 240ms"
},
{
"time": "12:04:06",
"level": "warn",
"message": "Slow query took 412ms"
},
{
"time": "12:04:09",
"level": "error",
"message": "Failed to reach cache"
}
]}
/>Streaming build log where timestamped lines append every half second and older ones slide up out of view, with warnings in amber and successes in green until the deploy lands.
Dark shell line with an emerald prompt, command text, and a blinking block cursor.
Test run output with pass and fail markers and a totals bar.
Unified diff with added and removed lines tinted green and red.