Dev Design Library

Component Preview

A preview shell for component demos with switchable default and glass variants.

Component Preview preview
Library
glasscn
Framework
React
Type
component
License
MIT
Dependencies
lucide-react, motion, shiki
Install
npx shadcn add @glasscn/component-preview
Files
  • components/component-preview-tabs.tsx
  • components/glass-component-preview-tabs.tsx
  • components/custom/copy-button.tsx
  • hooks/use-copy-to-clipboard.ts
  • lib/highlight-code.ts
  • lib/utils.ts
  • components/ui/button.tsx
  • components/ui/card.tsx
Source
https://github.com/kostyniuk/glasscn-components

Categories

More from glasscn