BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/weekendsuperhero-io/sistine/select

Select

weekendsuperhero-io-sistine/select
UnverifiedComponent

Displays a list of options for the user to pick from—triggered by a button with optional glass material.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/Weekendsuperhero-io/sistine/main/select.json

Source

components/ui/select.tsxraw.githubusercontent.com/Weekendsuperhero-io/sistine/main/select.json · first 6 KB
1"use client";
2
3import { CaretDownIcon, CaretUpIcon, Check } from "@phosphor-icons/react";
4import { cva, type VariantProps } from "class-variance-authority";
5import { Select as SelectPrimitive } from "radix-ui";
6import * as React from "react";
7
8import { type MaterialAxisProps, materialSurface, splitAxisProps } from "@/lib/material";
9import { cn } from "@/lib/utils";
10
11/* Variant classes carry BEHAVIOR only; the surface comes from materialSurface. */
12const selectTriggerVariants = cva(
13 "flex w-full items-center justify-between whitespace-nowrap rounded-md border px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",
14 {
15 variants: {
16 variant: {
17 default: "border-input bg-background",
18 glass: "",
19 },
20 },
21 defaultVariants: {
22 variant: "glass",
23 },
24 },
25);
26
27const selectContentVariants = cva(
28 "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-xl shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
29 {
30 variants: {
31 variant: {
32 default: "bg-popover text-popover-foreground border",
33 glass: "text-foreground",
34 },
35 },
36 defaultVariants: {
37 variant: "glass",
38 },
39 },
40);
41
42/* Trigger role: bordered adaptive glass. */
43const TRIGGER_ROLE = {
44 border: true,
45};
46
47/* Content role: bordered + veiled adaptive glass. */
48const CONTENT_ROLE = {
49 border: true,
50 veil: true,
51};
52
53const Select = SelectPrimitive.Root;
54
55const SelectGroup = SelectPrimitive.Group;
56
57const SelectValue = SelectPrimitive.Value;
58
59const SelectTrigger = React.forwardRef<
60 React.ElementRef<typeof SelectPrimitive.Trigger>,
61 React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger> &
62 VariantProps<typeof selectTriggerVariants> &
63 MaterialAxisProps & {
64 size?: "sm" | "default";
65 }
66>(({ className, children, variant = "glass", size = "default", ...props }, ref) => {
67 const [axes, rest] = splitAxisProps(props);
68// … truncated

What it pulls in

npm packages

  • @phosphor-icons/react
  • class-variance-authority
  • clsx
  • radix-ui
  • tailwind-merge

Other registry items

  • @sistine/theme

Files it writes

  • lib/utils.ts
  • lib/material.ts
  • lib/hover-effects.ts
  • lib/snap-popper.ts
  • components/ui/select.tsx

Facts

Registry
weekendsuperhero-io/sistine
Type
registry:component
Access
Unverified
Files written
5
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
2 days ago

Go to the source

weekendsuperhero.io Weekendsuperhero-io/sistine on GitHub Raw registry item This item as JSON

More from weekendsuperhero-io/sistine

All 71 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordionweekendsuperhero-io/sistineComponentsUnverified5 deps · 4 files
Alertalertweekendsuperhero-io/sistineComponentsUnverified3 deps · 4 files
Alert Dialogalert-dialogweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Auto Foregroundauto-foregroundweekendsuperhero-io/sistineComponentsUnverifiedno deps
Avataravatarweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Badgebadgeweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files
Breadcrumbbreadcrumbweekendsuperhero-io/sistineComponentsUnverified5 deps · 4 files
Buttonbuttonweekendsuperhero-io/sistineComponentsUnverified4 deps · 4 files

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