Meridian/Components · Code & terminal
Code & terminal
Code is always dark,
always copyable.
Code blocks sit on Graphite 950 in both themes — they're a window into another tool. Every block names its file or language and offers copy. Commands start with a dimmed prompt that copy excludes.
In @meridian/ui · copy how to use itCodeBlockInlineCodeLogViewer
app/Http/Middleware/EnsureTeam.php
final class EnsureTeam
{
public function handle(Request $request, Closure $next): Response
{
// Resolve the team from the route, never the session.
$team = $request->route('team');
abort_unless($request->user()->belongsTo($team), 403);
return $next($request);
}
}Terminal
$ meridian deploy --env=production
→ Uploading 2.4 MB … done
→ Building image … ✓ 38s
→ Running migrations … ✓ 3 applied
✓ Live at https://api.example.comSyntax palette
- Keyword#F27FA5
- Function#8EAEFF
- Type#C4A7FF
- String#9FD79A
- Number#F2B36F
- Comment#6E6D68
Inline code, like QUEUE_CONNECTION, uses a muted fill and a hairline border.
Runtime logsweb · 3 instancesLive
17:45:02.114 INFO web-1 GET /api/v1/projects 200 · 38ms
17:45:02.390 WARN web-3 Slow query on deployments.created_at · 812ms
17:45:03.007 ERROR web-2 POST /webhooks/github 500 · SignatureMismatchExceptionMeridian Design Language23