Skip to content
↑↓ to navigate↵ to openesc to close

Menu

404 / Not Found

Magnetic

NotFoundMagnetic.vue

Page not found

The page you are looking for moved, vanished, or never existed.

Install

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/not-found-magnetic

Import the shared styles once in your application.

TSUsage
import NotFoundMagnetic from '@/components/beui/blocks/NotFoundMagnetic.vue'
import '@/components/beui/styles.css'

API Reference

className?
string
Default—
code?
string

The big status code.

Default404
title?
string
Default—
description?
string
Default—
homeHref?
string
Default—
homeLabel?
string
Default—
browseHref?
string
Default—
browseLabel?
string
Default—
labels?
Partial<NotFoundMessages>

Override any built-in string. Explicit `title`, `description`, `homeLabel` and `browseLabel` props still win.

Default—

Updated