BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Supabase Library/current-user-avatar-nuxtjs

Current User Avatar

supabase-library/current-user-avatar-nuxtjs
FreeBlock

Component which renders the current user's avatar.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/supabase/supabase/master/apps/ui-library/public/r/current-user-avatar-nuxtjs.json

Source

registry/default/current-user-avatar/nuxtjs/app/components/current-user-avatar.vueraw.githubusercontent.com/supabase/supabase/master/apps/ui-library/public/r/current-user-avatar-nuxtjs.json
1<script setup lang="ts">
2import { computed } from 'vue'
3// @ts-ignore
4import { useCurrentUserImage } from '@/composables/useCurrentUserImage'
5// @ts-ignore
6import { useCurrentUserName } from '@/composables/useCurrentUserName'
7
8import Avatar from '@/components/ui/avatar/Avatar.vue'
9import AvatarFallback from '@/components/ui/avatar/AvatarFallback.vue'
10import AvatarImage from '@/components/ui/avatar/AvatarImage.vue'
11
12const { image: profileImage } = useCurrentUserImage()
13const { name } = useCurrentUserName()
14
15const initials = computed(() => {
16 if (!name.value) return ''
17 return name.value
18 .split(' ')
19 .map(word => word[0])
20 .join('')
21 .toUpperCase()
22})
23</script>
24
25<template>
26 <Avatar>
27 <AvatarImage
28 v-if="profileImage"
29 :src="profileImage"
30 :alt="initials"
31 />
32 <AvatarFallback>
33 {{ initials }}
34 </AvatarFallback>
35 </Avatar>
36</template>

What it pulls in

npm packages

  • @supabase/supabase-js@latest

Other registry items

  • avatar

Files it writes

  • registry/default/current-user-avatar/nuxtjs/app/components/current-user-avatar.vue
  • registry/default/current-user-avatar/nuxtjs/app/composables/useCurrentUserName.ts
  • registry/default/current-user-avatar/nuxtjs/app/composables/useCurrentUserImage.ts

Facts

Registry
Supabase Library
Type
registry:block
Access
Free
Files written
3
Licence
Apache-2.0
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

supabase.com supabase/supabase on GitHub Raw registry item This item as JSON

More from Supabase Library

All 60 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Current User Avatarcurrent-user-avatar-vueSupabase LibraryBlocksFree1 dep · 3 files
Dropzone (File Upload) for Nuxt and Supabasedropzone-nuxtjsSupabase LibraryBlocksFree3 deps · 4 files
Dropzone (File Upload) for Vue and Supabasedropzone-vueSupabase LibraryBlocksFree3 deps · 4 files
Infinite Query Hookinfinite-query-hookSupabase LibraryBlocksFree2 deps
Password Based Auth flow for Nextjs and Supabasepassword-based-auth-nextjsSupabase LibraryBlocksFree2 deps · 17 files
Password Based Auth flow for Nuxt.js and Supabasepassword-based-auth-nuxtjsSupabase LibraryBlocksFree2 deps · 12 files
Password Based Auth flow for React and Supabasepassword-based-auth-reactSupabase LibraryBlocksFree1 dep · 5 files
Password Based Auth flow for React Router and Supabasepassword-based-auth-react-routerSupabase LibraryBlocksFree4 deps · 11 files

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

ToolDrift

What the AI coding tools changed last night

tooldrift.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 ToolDrift

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 ToolDrift

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 ToolDrift

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