BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aurora/aurora-field

Aurora Field

aurora-dinglebear-ai/aurora-field
UnverifiedComponent

Field wrapper for labels, descriptions, required markers, disabled state, and validation errors.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-field.json

Source

registry/aurora/ui/field.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-field.json
1"use client"
2
3import * as React from "react"
4import { cn } from "@/lib/utils"
5import { Label } from "./label"
6
7export interface FieldProps extends React.HTMLAttributes<HTMLDivElement> {
8 label?: React.ReactNode
9 description?: React.ReactNode
10 error?: React.ReactNode
11 required?: boolean
12 disabled?: boolean
13 htmlFor?: string
14 orientation?: "vertical" | "horizontal"
15}
16
17function FieldGroup({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
18 return <div className={cn("flex flex-col gap-4", className)} {...props} />
19}
20
21function FieldSet({ className, ...props }: React.FieldsetHTMLAttributes<HTMLFieldSetElement>) {
22 return <fieldset className={cn("grid gap-3", className)} {...props} />
23}
24
25function FieldLegend({ className, ...props }: React.HTMLAttributes<HTMLLegendElement>) {
26 return (
27 <legend
28 data-slot="field-legend"
29 className={cn("aurora-text-label mb-1 text-[var(--aurora-text-primary)]", className)}
30 {...props}
31 />
32 )
33}
34
35function FieldContent({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
36 return <div data-slot="field-content" className={cn("grid gap-1.5", className)} {...props} />
37}
38
39function FieldTitle({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) {
40 return (
41 <span
42 data-slot="field-title"
43 className={cn("aurora-text-control text-[var(--aurora-text-primary)]", className)}
44 {...props}
45 />
46 )
47}
48
49function FieldDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>) {
50 return (
51 <p
52 data-slot="field-description"
53 className={cn("aurora-text-body-sm text-[var(--aurora-text-muted)]", className)}
54 {...props}
55 />
56 )
57}
58
59function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>) {
60 return (
61 <Label
62 data-slot="field-label"
63 className={cn("w-full justify-between text-[var(--aurora-text-primary)]", className)}
64 {...props}
65 />
66 )
67}
68
69function FieldError({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>) {
70 return (
71 <p
72 role="alert"
73 data-slot="field-error"
74 className={cn("aurora-text-body-sm font-[var(--aurora-weight-ui)] text-[var(--aurora-error)]", className)}
75 {...props}
76 />
77 )
78}
79
80function Field({
81 ref,
82 className,
83 children,
84 label,
85 description,
86 error,
87 required,
88 disabled,
89 htmlFor,
90 orientation = "vertical",
91 ...props
92}: FieldProps & { ref?: React.Ref<HTMLDivElement> }) {
93// … truncated

What it pulls in

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-label

Files it writes

  • registry/aurora/ui/field.tsx

Facts

Registry
aurora
Type
registry:ui
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

aurora.dinglebear.ai dinglebear-ai/aurora on GitHub Raw registry item This item as JSON

More from aurora

All 176 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Aurora Accordionaurora-accordionauroraComponentsUnverified2 deps
Aurora Alert Dialogaurora-alert-dialogauroraComponentsUnverified2 deps
Aurora Aspect Ratioaurora-aspect-ratioauroraComponentsUnverifiedno deps
Aurora Avataraurora-avatarauroraComponentsUnverified1 dep
Aurora Badgeaurora-badgeauroraComponentsUnverified2 deps
Aurora Banneraurora-bannerauroraComponentsUnverified1 dep
Aurora Breadcrumbaurora-breadcrumbauroraComponentsUnverified2 deps
Aurora Buttonaurora-buttonauroraComponentsUnverified2 deps

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