⚖ Compare news

Put up to three stories side by side. Pick IDs from any article URL: /compare?id=123&id=456

Один hero-блок, три файла: проверяю установку UI через shadcn в отдельный проект

habrahabr.ru ·Russian Federation · world
Words
35
Chars
260
AI summary
Yes
Full story

The author installs a single hero block through shadcn's production registry into a separate Next.js project. They examine the three files that come out of the installation. The article covers adapting the block through props and checking it at widths from 320 to 1280 px. It is described as one hands-on account with code, measurements, and limitations.

Устанавливаю один hero-блок через production-registry shadcn в отдельный Next.js-проект. Разбираю три полученных файла, адаптацию через пропсы и проверки на ширинах от 320 до 1280 px. Один реальный опыт с кодом, замерами и ограничениями. Посмотреть эксперимент

Open article