BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn-glass-ui/projects-list-glass

Projects List Glass

shadcn-glass-ui/projects-list-glass
FreeBlock

Projects List Glass component with glass effects

Install it

npx shadcn@latest add https://raw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/projects-list-glass.json

Source

components/glass/sections/projects-list-glass.tsxraw.githubusercontent.com/artyhoo/shadcn-glass-ui-library/main/public/r/projects-list-glass.json · first 6 KB
1// ========================================
2// PROJECTS LIST GLASS COMPONENT
3// List of repository cards with filtering, sorting, and ownership controls
4// ========================================
5
6import { forwardRef, useState, useMemo, type CSSProperties } from "react";
7import { FolderGit2, AlertTriangle } from "lucide-react";
8import { cn } from "@/lib/utils";
9import { GlassCard } from "../ui/glass-card";
10import { BadgeGlass } from "../ui/badge-glass";
11import { RepositoryCardGlass, type RepositoryFlagType } from "../composite/repository-card-glass";
12import { SegmentedControlGlass } from "../specialized/segmented-control-glass";
13import { SortDropdownGlass, type SortField, type SortOrder } from "../atomic";
14import "@/glass-theme.css";
15
16// ========================================
17// TYPES
18// ========================================
19
20export type OwnershipFilter = 'your' | 'contrib' | 'all';
21
22// Re-export for convenience
23export type { SortField, SortOrder } from "../atomic";
24
25export interface Repository {
26 readonly name: string;
27 readonly languages: string;
28 readonly commits: number;
29 readonly contribution: number;
30 readonly stars?: number;
31 readonly flagType?: RepositoryFlagType;
32 readonly issues?: readonly string[];
33 readonly createdYear?: number;
34 /** Ownership type for Your/Contrib filtering */
35 readonly ownership?: 'your' | 'contrib';
36}
37
38export interface ProjectsListGlassProps extends React.HTMLAttributes<HTMLDivElement> {
39 /** List of repositories to display */
40 readonly repositories: readonly Repository[];
41 /** Show only flagged (non-green) repositories */
42 readonly showFlaggedOnly?: boolean;
43 /** Filter by creation year */
44 readonly selectedYear?: number | null;
45 /** Callback to clear all filters */
46 readonly onClearFilters?: () => void;
47 /** Custom title (overrides auto-generated) */
48 readonly title?: string;
49
50 // ======== NEW: Ownership Filter ========
51 /** Current ownership filter */
52 readonly ownershipFilter?: OwnershipFilter;
53 /** Callback when ownership filter changes */
54 readonly onOwnershipChange?: (filter: OwnershipFilter) => void;
55
56 // ======== NEW: Sorting ========
57 /** Current sort field */
58 readonly sortBy?: SortField;
59 /** Current sort order */
60 readonly sortOrder?: SortOrder;
61 /** Callback when sort changes */
62 readonly onSortChange?: (field: SortField, order: SortOrder) => void;
63
64 // ======== NEW: Controls ========
65// … truncated

Facts

Registry
shadcn-glass-ui
Type
registry:block
Access
Free
Files written
0
Licence
Apache-2.0
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

yhooi2.github.io artyhoo/shadcn-glass-ui-library on GitHub Raw registry item This item as JSON

More from shadcn-glass-ui

All 76 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Ai Card Glassai-card-glassshadcn-glass-uiBlocksFreeno deps
Career Stats Glasscareer-stats-glassshadcn-glass-uiBlocksFreeno deps
Career Stats Header Glasscareer-stats-header-glassshadcn-glass-uiBlocksFreeno deps
Circular Metric Glasscircular-metric-glassshadcn-glass-uiBlocksFreeno deps
Contribution Metrics Glasscontribution-metrics-glassshadcn-glass-uiBlocksFreeno deps
Flags Section Glassflags-section-glassshadcn-glass-uiBlocksFreeno deps
Header Branding Glassheader-branding-glassshadcn-glass-uiBlocksFreeno deps
Header Nav Glassheader-nav-glassshadcn-glass-uiBlocksFreeno 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