Skip to Content
Blocks

Blocks

Whole sections, assembled from the components. Each one renders live below and the source is the source — copy it out and edit it.

Blocks are not exported from the package, on purpose. A block is a starting point you are meant to change: move the sidebar, drop a column, swap the chart. If it were a component, every layout decision inside it would become API surface and every edit would need a prop. The marketing sections — Hero, Features, Pricing, Testimonials, Gallery, LogoWallare exported, because those are data-driven and the layout is the point of the component rather than something you rewrite.

Every block on this page is type-checked against the published types and mounted in a test run on every commit, the same as every other example in these docs. A block that has drifted from the API fails the build rather than the reader.

Dashboard shell

Sidebar navigation that becomes a Sheet on small screens, a header with a DropdownMenu, stat cards and a composable chart.

Live Example
☀️
Copy
View Code
import { Badge, Button, Card, ChartArea, ChartContainer, ChartGrid, ChartTooltip, ChartXAxis, ChartYAxis,...

Sign-in card

A centred auth card. Input, Label, HelperText and a Separator doing the “or” divider.

Live Example
☀️
Copy
View Code
import { Button, Card, HelperText, Input, Label, Separator } from '@jarllyng/nostromo' export default function SignInCard() { return ( <div className="flex justify-center bg-muted/30 p-8"> <Card className="w-full max-w-sm p-6"> <div className="space-y-1"> <h2 className="text-xl font-semibold text-foreground">Sign in</h2> <p className="text-sm text-muted-foreground">Use your work address.</p> </div>...

Settings panel

Tabs across the top, Switch rows, and a Collapsible for the settings most people never open.

Live Example
☀️
Copy
View Code
import { Badge, Button, Card, Collapsible, CollapsibleContent, CollapsibleTrigger, HelperText, Input, Label,...
Last updated on