Dev Design Library

Collapsible 09 - Expandable Code

Code snippet that shows the first lines with line numbers and a fade, and expands to the full file with a Show more lines toggle.

Collapsible 09 - Expandable Code preview
Library
Shadcn Space
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Files
  • src/components/shadcn-space/collapsible/collapsible-09.tsx
  • src/components/ui/collapsible.tsx
Source
https://github.com/shadcnspace/shadcnspace

Categories

More from Shadcn Space