BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/8bitcn/label

8-bit Label

8bitcn/label
FreeComponent

A simple 8-bit label component

Install it

npx shadcn@latest add https://www.8bitcn.com/r/label.json

Source

components/ui/8bit/label.tsxwww.8bitcn.com/r/label.json
1"use client";
2
3import type * as React from "react";
4
5import type * as LabelPrimitive from "@radix-ui/react-label";
6import { type VariantProps, cva } from "class-variance-authority";
7
8import { cn } from "@/lib/utils";
9
10import { Label as ShadcnLabel } from "@/components/ui/label";
11
12import "@/components/ui/8bit/styles/retro.css";
13
14export const inputVariants = cva("", {
15 variants: {
16 font: {
17 normal: "",
18 retro: "retro",
19 },
20 },
21 defaultVariants: {
22 font: "retro",
23 },
24});
25
26interface BitLabelProps
27 extends React.ComponentProps<typeof LabelPrimitive.Root>,
28 VariantProps<typeof inputVariants> {
29 asChild?: boolean;
30}
31
32function Label({ className, font, ...props }: BitLabelProps) {
33 return (
34 <ShadcnLabel
35 className={cn(className, font !== "normal" && "retro")}
36 {...props}
37 />
38 );
39}
40
41export { Label };

What it pulls in

Other registry items

  • label

Files it writes

  • components/ui/8bit/label.tsx
  • components/ui/8bit/styles/retro.css

Facts

Registry
8bitcn
Type
registry:component
Access
Free
Files written
2
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

www.8bitcn.com Raw registry item This item as JSON

More from 8bitcn

All 121 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
8-bit Accordionaccordion8bitcnComponentsFreeno deps · 2 files
8-bit Alertalert8bitcnComponentsFreeno deps · 2 files
8-bit Alert Dialogalert-dialog8bitcnComponentsFreeno deps · 2 files
8-bit Avataravatar8bitcnComponentsFreeno deps · 2 files
8-bit Badgebadge8bitcnComponentsFreeno deps · 2 files
8-bit Breadcrumbbreadcrumb8bitcnComponentsFreeno deps · 2 files
8-bit Buttonbutton8bitcnComponentsFreeno deps · 2 files
8-bit Button Groupbutton-group8bitcnComponentsFreeno deps · 4 files
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