Gritty Grain
Gritty grain texture: coarse black noise like raw canvas, using the same paired tiles as Dense Grain at roughly double the opacity. A full-bleed overlay; the tile is exported for reuse.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/gritty-grainnpx shadcn@latest add @01orbital/gritty-grainyarn dlx shadcn@latest add @01orbital/gritty-grainbunx --bun shadcn@latest add @01orbital/gritty-grainUsage
import { SideGlow } from "@/components/glow/side-glow"
import { Subheading } from "@/components/subheading/subheading"
import { GrittyGrain } from "@/components/texture/gritty-grain"
const COPY = {
title: "Night notes",
body: "Written after sundown.",
} as const
export default function GrittyGrainDemo() {
return (
<div className="flex min-h-full w-full flex-1 items-center justify-center p-6">
<article className="relative isolate flex aspect-4/3 w-full max-w-96 flex-col justify-end overflow-hidden rounded-3xl bg-[oklch(0.372_0.044_257.3)] p-8 text-scene-foreground">
<SideGlow />
<GrittyGrain />
<div className="relative">
<Subheading>{COPY.title}</Subheading>
<p className="mt-3 text-sm/6">{COPY.body}</p>
</div>
</article>
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/gritty-grain-demonpx shadcn@latest add @01orbital/gritty-grain-demoyarn dlx shadcn@latest add @01orbital/gritty-grain-demobunx --bun shadcn@latest add @01orbital/gritty-grain-demoExamples
Claygritty-grain-clay
Gritty Grain Clay: an example of gritty-grain.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/gritty-grain-claynpx shadcn@latest add @01orbital/gritty-grain-clayyarn dlx shadcn@latest add @01orbital/gritty-grain-claybunx --bun shadcn@latest add @01orbital/gritty-grain-clayMossgritty-grain-moss
Gritty Grain Moss: an example of gritty-grain.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
pnpm dlx shadcn@latest add @01orbital/gritty-grain-mossnpx shadcn@latest add @01orbital/gritty-grain-mossyarn dlx shadcn@latest add @01orbital/gritty-grain-mossbunx --bun shadcn@latest add @01orbital/gritty-grain-mossAPI reference
Gritty black grain: coarse, like raw canvas. The parent needs relative.
It accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Last updated on