BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Supabase UI Library/password-based-auth-vue

Password Based Auth flow for Vue and Supabase

supabase-ui-library/password-based-auth-vue
UnverifiedBlock

Password Based Auth flow for Vue and Supabase

Install it

npx shadcn@latest add https://raw.githubusercontent.com/sophialiuhk2007/club-website-backend/main/apps/ui-library/public/r/password-based-auth-vue.json

Source

registry/default/password-based-auth/vue/components/login-form.vueraw.githubusercontent.com/sophialiuhk2007/club-website-backend/main/apps/ui-library/public/r/password-based-auth-vue.json
1<script setup lang="ts">
2import { ref } from "vue"
3import { createClient } from "@/lib/supabase/client"
4import { Button } from "@/components/ui/button"
5import {
6 Card,
7 CardContent,
8 CardDescription,
9 CardHeader,
10 CardTitle,
11} from "@/components/ui/card"
12import { Input } from "@/components/ui/input"
13import { Label } from "@/components/ui/label"
14
15const email = ref("")
16const error = ref<string | null>(null)
17const success = ref(false)
18const isLoading = ref(false)
19
20const handleForgotPassword = async (e: Event) => {
21 e.preventDefault()
22 const supabase = createClient()
23 isLoading.value = true
24 error.value = null
25
26 try {
27 const { error: supabaseError } = await supabase.auth.resetPasswordForEmail(email.value, {
28 redirectTo: "http://localhost:3000/update-password",
29 })
30 if (supabaseError) throw supabaseError
31 success.value = true
32 } catch (err: unknown) {
33 error.value = err instanceof Error ? err.message : "An error occurred"
34 } finally {
35 isLoading.value = false
36 }
37}
38</script>
39
40<template>
41 <div class="flex flex-col gap-6">
42 <Card v-if="success">
43 <CardHeader>
44 <CardTitle class="text-2xl">Check Your Email</CardTitle>
45 <CardDescription>Password reset instructions sent</CardDescription>
46 </CardHeader>
47 <CardContent>
48 <p class="text-sm text-muted-foreground">
49 If you registered using your email and password, you will receive a password reset email.
50 </p>
51 </CardContent>
52 </Card>
53
54 <Card v-else>
55 <CardHeader>
56 <CardTitle class="text-2xl">Reset Your Password</CardTitle>
57 <CardDescription>
58 Type in your email and we&apos;ll send you a link to reset your password
59 </CardDescription>
60 </CardHeader>
61 <CardContent>
62 <form @submit="handleForgotPassword">
63 <div class="flex flex-col gap-6">
64 <div class="grid gap-2">
65 <Label for="email">Email</Label>
66 <Input
67 id="email"
68 type="email"
69 placeholder="m@example.com"
70 required
71 v-model="email"
72 />
73 </div>
74 <p v-if="error" class="text-sm text-red-500">{{ error }}</p>
75 <Button type="submit" class="w-full" :disabled="isLoading">
76 {{ isLoading ? "Sending..." : "Send reset email" }}
77 </Button>
78 </div>
79 <div class="mt-4 text-center text-sm">
80 Already have an account?
81// … truncated

What it pulls in

npm packages

  • @supabase/supabase-js@latest

Other registry items

  • button
  • card
  • input
  • label

Files it writes

  • registry/default/password-based-auth/vue/components/login-form.vue
  • registry/default/password-based-auth/vue/components/sign-up-form.vue
  • registry/default/password-based-auth/vue/components/forgot-password-form.vue
  • registry/default/password-based-auth/vue/components/update-password-form.vue

Facts

Registry
Supabase UI Library
Type
registry:block
Access
Unverified
Files written
4
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

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

More from Supabase UI Library

All 2 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Current User Avatarcurrent-user-avatar-nuxtjsSupabase UI LibraryBlocksUnverified1 dep · 3 files
Current User Avatarcurrent-user-avatar-vueSupabase UI LibraryBlocksUnverified1 dep · 3 files
Dropzone (File Upload) for Nuxt and Supabasedropzone-nuxtjsSupabase UI LibraryBlocksUnverified3 deps · 4 files
Dropzone (File Upload) for Vue and Supabasedropzone-vueSupabase UI LibraryBlocksUnverified3 deps · 4 files
Infinite Query Hookinfinite-query-hookSupabase UI LibraryBlocksUnverified2 deps
Password Based Auth flow for Nextjs and Supabasepassword-based-auth-nextjsSupabase UI LibraryBlocksUnverified2 deps · 17 files
Password Based Auth flow for Nuxt.js and Supabasepassword-based-auth-nuxtjsSupabase UI LibraryBlocksUnverified2 deps · 12 files
Password Based Auth flow for React and Supabasepassword-based-auth-reactSupabase UI LibraryBlocksUnverified1 dep · 5 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