A short intro over a row of four numbered steps, each with a number, a title and a sentence.
features, steps, process, numbered
npx shadcn@latest add https://ner.sh/r/features-steps-row.json{
"registries": {
"@nertia": "https://ner.sh/r/{name}.json"
}
}npx shadcn@latest add @nertia/features-steps-rownpm create nersh@latest my-site -- --site https://nertia.ai/components/feature/features-steps-row/site.json scaffolds a project from it.{
"slug": "features-steps-row",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "features-steps-row",
"sections": [
{
"id": "layout-section",
"instanceId": "steps-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "steps-intro-r1",
"layout": "stack",
"children": [
{
"id": "block-heading",
"instanceId": "steps-heading-r1"
},
{
"id": "block-text",
"instanceId": "steps-sub-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "steps-grid-r1",
"layout": "grid-4",
"children": [
{
"id": "block-step",
"instanceId": "step-1-r1"
},
{
"id": "block-step",
"instanceId": "step-2-r1"
},
{
"id": "block-step",
"instanceId": "step-3-r1"
},
{
"id": "block-step",
"instanceId": "step-4-r1"
}
]
}
],
"component": "features-steps-row@1"
}
]
},
"copy": {
"steps-band-r1.coverImage": "",
"steps-band-r1.coverStyle": "",
"steps-band-r1.coverScrim": "",
"steps-band-r1.anchor": "",
"steps-band-r1.navLabel": "",
"steps-band-r1.navHref": "",
"steps-band-r1.navSkip": "",
"steps-band-r1.landmark": "",
"steps-band-r1.tone": "",
"steps-band-r1.gutter": "",
"steps-band-r1.shape": "",
"steps-band-r1.padding": "",
"steps-band-r1.sticky": "",
"steps-band-r1.reveal": "",
"steps-band-r1.dismissible": "",
"steps-band-r1.width": "",
"steps-band-r1.gradient": "",
"steps-intro-r1.align": "center",
"steps-intro-r1.phone": "",
"steps-intro-r1.dividers": "",
"steps-intro-r1.tone": "",
"steps-heading-r1.text": "Features",
"steps-heading-r1.level": "h2",
"steps-heading-r1.size": "",
"steps-sub-r1.text": "One sentence that introduces this section.",
"steps-sub-r1.footnoteMark": "",
"steps-sub-r1.textStyle": "",
"steps-grid-r1.align": "",
"steps-grid-r1.phone": "",
"steps-grid-r1.dividers": "",
"steps-grid-r1.tone": "",
"step-1-r1.number": "1",
"step-1-r1.label": "Feature one",
"step-1-r1.body": "A sentence about this feature.",
"step-2-r1.number": "2",
"step-2-r1.label": "Feature two",
"step-2-r1.body": "A sentence about this feature.",
"step-3-r1.number": "3",
"step-3-r1.label": "Feature three",
"step-3-r1.body": "A sentence about this feature.",
"step-4-r1.number": "4",
"step-4-r1.label": "Feature four",
"step-4-r1.body": "A sentence about this feature."
}
}
{
"slug": "features-steps-row",
"mode": "builder",
"status": "draft",
"skinId": "zinc",
"composition": {
"id": "features-steps-row",
"sections": [
{
"id": "layout-section",
"instanceId": "steps-band-r1",
"layout": "stack",
"children": [
{
"id": "layout-container",
"instanceId": "steps-intro-r1",
"layout": "stack",
"children": [
{
"id": "block-heading",
"instanceId": "steps-heading-r1"
},
{
"id": "block-text",
"instanceId": "steps-sub-r1"
}
]
},
{
"id": "layout-container",
"instanceId": "steps-grid-r1",
"layout": "grid-4",
"children": [
{
"id": "block-step",
"instanceId": "step-1-r1"
},
{
"id": "block-step",
"instanceId": "step-2-r1"
},
{
"id": "block-step",
"instanceId": "step-3-r1"
},
{
"id": "block-step",
"instanceId": "step-4-r1"
}
]
}
],
"component": "features-steps-row@1"
}
]
},
"copy": {
"steps-band-r1.coverImage": "",
"steps-band-r1.coverStyle": "",
"steps-band-r1.coverScrim": "",
"steps-band-r1.anchor": "",
"steps-band-r1.navLabel": "",
"steps-band-r1.navHref": "",
"steps-band-r1.navSkip": "",
"steps-band-r1.landmark": "",
"steps-band-r1.tone": "",
"steps-band-r1.gutter": "",
"steps-band-r1.shape": "",
"steps-band-r1.padding": "",
"steps-band-r1.sticky": "",
"steps-band-r1.reveal": "",
"steps-band-r1.dismissible": "",
"steps-band-r1.width": "",
"steps-band-r1.gradient": "",
"steps-intro-r1.align": "center",
"steps-intro-r1.phone": "",
"steps-intro-r1.dividers": "",
"steps-intro-r1.tone": "",
"steps-heading-r1.text": "Features",
"steps-heading-r1.level": "h2",
"steps-heading-r1.size": "",
"steps-sub-r1.text": "One sentence that introduces this section.",
"steps-sub-r1.footnoteMark": "",
"steps-sub-r1.textStyle": "",
"steps-grid-r1.align": "",
"steps-grid-r1.phone": "",
"steps-grid-r1.dividers": "",
"steps-grid-r1.tone": "",
"step-1-r1.number": "1",
"step-1-r1.label": "Feature one",
"step-1-r1.body": "A sentence about this feature.",
"step-2-r1.number": "2",
"step-2-r1.label": "Feature two",
"step-2-r1.body": "A sentence about this feature.",
"step-3-r1.number": "3",
"step-3-r1.label": "Feature three",
"step-3-r1.body": "A sentence about this feature.",
"step-4-r1.number": "4",
"step-4-r1.label": "Feature four",
"step-4-r1.body": "A sentence about this feature."
},
"ds": {}
}
import type { SectionRegistry } from '@nersh/render';
import { Component as BlockHeading } from '@/sections/block-heading/Component';
import { Component as BlockStep } from '@/sections/block-step/Component';
import { Component as BlockText } from '@/sections/block-text/Component';
import { Component as LayoutContainer } from '@/sections/layout-container/Component';
import { Component as LayoutSection } from '@/sections/layout-section/Component';
export const registry: SectionRegistry = {
'block-heading': BlockHeading,
'block-step': BlockStep,
'block-text': BlockText,
'layout-container': LayoutContainer,
'layout-section': LayoutSection,
};
"use client";
import { SiteRenderer } from "@nersh/render";
import { registry } from "./features-steps-row.registry";
import siteJson from "./features-steps-row.site.json";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const site = siteJson as any;
export default function FeaturesStepsRow() {
return <SiteRenderer site={site} registry={registry} />;
}
The registry source and the @nersh/render renderer are MIT licensed.