BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Quantumblack Design System Registry/input-group
This component no longer exists. It was in Quantumblack Design System Registry’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-08 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Input Group

quantumblack-design-system-registry/input-group
RemovedComponent

A composite input component with support for icons, buttons, and text addons.

Install it

npx shadcn@latest add http://designsystem.quantumblack.com/r/input-group.json

Source

src/components/ui/input-group.tsxdesignsystem.quantumblack.com/r/input-group.json · first 6 KB
1'use client';
2
3import { type VariantProps, cva } from 'class-variance-authority';
4import * as React from 'react';
5
6import { Button } from '@/components/ui/button';
7import {
8 Input,
9 type InputProps,
10 inputSizeDefinitions,
11 inputVariantStyles,
12} from '@/components/ui/input';
13import { Textarea } from '@/components/ui/textarea';
14import { cn } from '@/lib/utils';
15
16// Focus state wrapper styles for default variant
17// Triggered by child input focus-visible OR data-open="true" on the wrapper
18const defaultFocusStyles = [
19 'has-[[data-slot=input-group-control]:focus-visible]:bg-stateslayer-overlay-active-inverse',
20 'has-[[data-slot=input-group-control]:focus-visible]:ring-stroke-status-focus',
21 'has-[[data-slot=input-group-control]:focus-visible]:shadow-elevation-0',
22 'data-[open=true]:bg-stateslayer-overlay-active-inverse',
23 'data-[open=true]:ring-stroke-status-focus',
24 'data-[open=true]:shadow-elevation-0',
25] as const;
26
27// Per-size focus ring width for InputGroup default variant
28const inputGroupFocusRingWidth = {
29 sm: 'has-[[data-slot=input-group-control]:focus-visible]:ring-[1px] data-[open=true]:ring-[1px]',
30 default:
31 'has-[[data-slot=input-group-control]:focus-visible]:ring-[1px] data-[open=true]:ring-[1px]',
32 lg: 'has-[[data-slot=input-group-control]:focus-visible]:ring-[2px] data-[open=true]:ring-[2px]',
33} as const;
34
35// Focus state wrapper styles for inline variant
36// Triggered by child input focus-visible OR data-open="true" on the wrapper
37const inlineFocusStyles = [
38 'has-[[data-slot=input-group-control]:focus-visible]:border-b-stroke-status-focus',
39 'has-[[data-slot=input-group-control]:focus-visible]:ring-0',
40 'has-[[data-slot=input-group-control]:focus-visible]:shadow-elevation-0',
41 'data-[open=true]:border-b-stroke-status-focus',
42 'data-[open=true]:ring-0',
43 'data-[open=true]:shadow-elevation-0',
44] as const;
45
46// Per-size focus border-bottom width for InputGroup inline variant
47const inputGroupInlineFocusBorderWidth = {
48 sm: 'has-[[data-slot=input-group-control]:focus-visible]:border-b-[1px] data-[open=true]:border-b-[1px]',
49 default:
50 'has-[[data-slot=input-group-control]:focus-visible]:border-b-[1px] data-[open=true]:border-b-[1px]',
51 lg: 'has-[[data-slot=input-group-control]:focus-visible]:border-b-[2px] data-[open=true]:border-b-[2px]',
52} as const;
53
54// Error state wrapper styles for default variant
55const defaultErrorStyles = [
56 'has-[[data-slot][aria-invalid=true]]:!border',
57// … truncated

What it pulls in

Other registry items

  • /r/theme.json
  • /r/utils.json
  • /r/input.json
  • /r/button.json
  • /r/textarea.json

Files it writes

  • src/components/ui/input-group.tsx

Facts

Registry
Quantumblack Design System Registry
Type
registry:ui
Access
Free
Files written
1
Licence
NOASSERTION
In the index
at or before 2026-08-03
Last confirmed
11 days ago

Go to the source

designsystem.quantumblack.com mckinsey/quantumblack-design-system on GitHub Raw registry item This item as JSON

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