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-button

Aurora Button

aurora-dinglebear-ai/aurora-button
UnverifiedComponent

Multi-variant button with aurora glow, rose, neutral, ghost, and destructive styles. Inline-style gradients and box-shadow glows.

Install it

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

Source

registry/aurora/ui/button.tsxraw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-button.json
1"use client"
2
3/**
4 * Aurora Button — operator-grade action control.
5 * Border + glow (the tight hard ring), never a flooded fill or soft corner halo.
6 *
7 * Visual layer lives in registry/aurora/styles/aurora-components.css
8 * (`@layer components`, reads only `--aurora-*` tokens) so it renders
9 * pixel-identical in dark + `.light` and Tailwind utilities can override it.
10 * Architecture stays shadcn: `Slot`/`asChild`, `cva` `buttonVariants`, `VariantProps`,
11 * `React.memo`.
12 */
13
14import * as React from "react"
15import { Slot } from "@radix-ui/react-slot"
16import { cva, type VariantProps } from "class-variance-authority"
17import { cn } from "@/lib/utils"
18
19export type ButtonVariant =
20 | "aurora"
21 | "neutral"
22 | "rose"
23 | "success"
24 | "warn"
25 | "ghost"
26 | "destructive"
27 | "plain"
28
29export type ButtonSize = "sm" | "default" | "lg" | "icon" | "unstyled"
30
31// ─── cva (class selection + buttonVariants export) ─────────────────────────────
32
33const buttonVariants = cva("aurora-btn", {
34 variants: {
35 variant: {
36 aurora: "aurora-btn--aurora",
37 neutral: "aurora-btn--neutral",
38 rose: "aurora-btn--rose",
39 success: "aurora-btn--success",
40 warn: "aurora-btn--warn",
41 ghost: "aurora-btn--ghost",
42 destructive: "aurora-btn--destructive",
43 plain: "aurora-btn--plain",
44 },
45 size: {
46 sm: "aurora-btn--sm",
47 default: "",
48 lg: "aurora-btn--lg",
49 icon: "aurora-btn--icon",
50 unstyled: "aurora-btn--unstyled",
51 },
52 },
53 defaultVariants: {
54 variant: "neutral",
55 size: "default",
56 },
57})
58
59export interface ButtonProps
60 extends React.ButtonHTMLAttributes<HTMLButtonElement>,
61 VariantProps<typeof buttonVariants> {
62 /** Intent. `aurora` is the lit-outline cyan primary; rose is send/agent; warn is the clay-orange caution. */
63 variant?: ButtonVariant
64 size?: ButtonSize
65 /** Slow glow pulse to draw attention without bouncing. Respects reduced-motion. */
66 pulse?: boolean
67 /** Flood the variant accent as a solid fill (the one hero/armed action per surface). Default false = lit-outline. */
68 filled?: boolean
69 /** Swap content for a spinner and block interaction. Width holds steady so the button doesn't jump. */
70 loading?: boolean
71 /** Stretch to fill the container width (forms, stacked CTAs, mobile). */
72 block?: boolean
73 /** Fully rounded pill shape (filter chips, compact toolbars). */
74 shape?: "default" | "pill"
75// … truncated

What it pulls in

npm packages

  • @radix-ui/react-slot@^1.2.3
  • class-variance-authority@^0.7.1

Other registry items

  • @aurora/aurora-tokens
  • @aurora/aurora-components

Files it writes

  • registry/aurora/ui/button.tsx

Facts

Registry
aurora
Type
registry:ui
Access
Unverified
Files written
1
Licence
AGPL-3.0
In the index
at or before 2026-08-08
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 Button Groupaurora-button-groupauroraComponentsUnverifiedno 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