BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/blocks/onboarding-04

Onboarding Accordion

blocks/onboarding-04
FreeBlock

A onboarding accordion block.

Install it

npx shadcn@latest add https://blocks.so/r/onboarding-04.json

Source

content/components/onboarding/onboarding-04.tsxblocks.so/r/onboarding-04.json
1'use client';
2
3import {
4 IconAdjustments,
5 IconCalculator,
6 IconChartBar,
7 IconCircleCheckFilled,
8 IconDatabase,
9} from '@tabler/icons-react';
10import { useState } from 'react';
11import {
12 Accordion,
13 AccordionContent,
14 AccordionItem,
15 AccordionTrigger,
16} from '@/components/ui/accordion';
17import { Button } from '@/components/ui/button';
18import { cn } from '@/lib/utils';
19
20const steps = [
21 {
22 title: 'Configure your environment',
23 subtitle: 'Environment ready',
24 icon: IconAdjustments,
25 description:
26 'Set up your development environment with API keys and preferences.',
27 buttonText: 'Edit settings',
28 },
29 {
30 title: 'Connect your database',
31 subtitle: 'Add connection',
32 icon: IconDatabase,
33 description:
34 'Link your PostgreSQL, MySQL, or MongoDB instance to get started.',
35 buttonText: 'Add database',
36 },
37 {
38 title: 'Define your schema',
39 subtitle: 'Create schema',
40 icon: IconCalculator,
41 description: 'Model your data with types, relations, and validation rules.',
42 buttonText: 'Open editor',
43 },
44 {
45 title: 'Build your first API',
46 subtitle: 'Generate endpoints',
47 icon: IconChartBar,
48 description:
49 'Auto-generate REST or GraphQL endpoints from your schema in seconds.',
50 buttonText: 'Generate API',
51 },
52];
53
54export function Onboarding04() {
55 const [activeStep, setActiveStep] = useState(1);
56
57 const [openItem, setOpenItem] = useState(
58 activeStep < steps.length ? steps[activeStep].title : ''
59 );
60
61 const handleComplete = () => {
62 const next = activeStep + 1;
63 setActiveStep(next);
64 setOpenItem(next < steps.length ? steps[next].title : '');
65 };
66
67 return (
68 <div className="flex min-h-dvh items-center justify-center bg-background p-4">
69 <div className="mx-auto w-full min-w-0 max-w-sm sm:min-w-sm">
70 <h3 className="font-semibold text-foreground text-lg">Quick start</h3>
71 <p className="mt-1 text-muted-foreground text-sm">
72 Set up your backend in four simple steps
73 </p>
74 <Accordion
75 className="mt-6 space-y-2"
76 onValueChange={(value) => setOpenItem(value[0] ?? '')}
77 value={openItem ? [openItem] : []}
78 >
79 {steps.map((step, index) => {
80 let status: 'complete' | 'current' | 'upcoming' = 'upcoming';
81 if (index < activeStep) {
82 status = 'complete';
83 } else if (index === activeStep) {
84 status = 'current';
85 }
86
87// … truncated

What it pulls in

npm packages

  • @tabler/icons-react

Other registry items

  • accordion
  • button

Files it writes

  • content/components/onboarding/onboarding-04.tsx

Facts

Registry
blocks
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-21
Last confirmed
today

Go to the source

blocks.so ephraimduncan/blocks on GitHub Raw registry item This item as JSON

More from blocks

All 76 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AI Chat with Voice Inputai-01blocksBlocksFree1 dep
AI Chat with Model Selectionai-02blocksBlocksFree1 dep
AI Chat Compact Interfaceai-03blocksBlocksFree1 dep
AI Chat with File Attachmentsai-04blocksBlocksFree1 dep
AI Elements Chatai-05blocksBlocksFree2 deps
Command Menu with Groupscommand-menu-01blocksBlocksFree1 dep
Command Menu with Keyboard Shortcutscommand-menu-02blocksBlocksFree1 dep
Command Menu with Documentation Searchcommand-menu-03blocksBlocksFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored on what can be checked

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex