BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/@meda/meda-shell

Meda Shell

meda/meda-shell
FreeBlock

Install a Meda shell scaffold wired to the shared package.

Live preview

live · rendered by the registry
Rendered by @meda on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://meda.medalsocial.com/r/meda-shell.json

Source

registry/meda/meda-shell/meda-shell.tsxmeda.medalsocial.com/r/meda-shell.json
1import {
2 NavigationArea,
3 ShellFrame,
4 ShellHeaderFrame,
5 ShellScrollableContent,
6 ShellTabBar,
7 type ShellTab,
8} from '@medalsocial/meda'
9import type { ComponentProps, ReactNode } from 'react'
10
11type MedaShellProps = {
12 headerLeft: ReactNode
13 headerRight?: ReactNode
14 navigation: ReactNode
15 tabs?: ShellTab[]
16 activeTab?: string
17 renderTabLink: ComponentProps<typeof ShellTabBar>['renderLink']
18 children: ReactNode
19}
20
21export function MedaShell({
22 headerLeft,
23 headerRight,
24 navigation,
25 tabs = [],
26 activeTab,
27 renderTabLink,
28 children,
29}: MedaShellProps) {
30 return (
31 <ShellFrame
32 header={
33 <ShellHeaderFrame
34 left={headerLeft}
35 center={
36 tabs.length > 0 ? (
37 <ShellTabBar
38 tabs={tabs}
39 activeTab={activeTab}
40 ariaLabel="Workspace tabs"
41 renderLink={renderTabLink}
42 />
43 ) : null
44 }
45 right={headerRight}
46 />
47 }
48 navigation={<NavigationArea>{navigation}</NavigationArea>}
49 content={
50 <ShellScrollableContent layout="workspace" maxWidth={1120}>
51 {children}
52 </ShellScrollableContent>
53 }
54 />
55 )
56}

What it pulls in

npm packages

  • @medalsocial/meda

Files it writes

  • registry/meda/meda-shell/meda-shell.tsx

Facts

Registry
@meda
Type
registry:block
Access
Free
Files written
1
Licence
Apache-2.0
First indexed
2026-08-04
Last confirmed
today

Go to the source

Docs on @meda meda.medalsocial.com Medal-Social/meda on GitHub Raw registry item This item as JSON

More from @meda

All 12 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Meda Marketingmeda-marketing@medaBlocksFree1 dep
Meda Next AppShellmeda-next-app-shell@medaBlocksFree2 deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex