egp-components

star 0

Component and UI conventions for EGP. Use when creating or editing components, using HeroUI, or handling contact/phone data.

Ivan-Hristoslavov By Ivan-Hristoslavov schedule Updated 3/1/2026

name: egp-components description: Component and UI conventions for EGP. Use when creating or editing components, using HeroUI, or handling contact/phone data.

EGP Components

UI Stack

  • HeroUI (@heroui/react, @heroui/input, etc.) — NOT NextUI
  • Icons: lucide-react
  • Styling: Tailwind + design tokens from config/

Contact / Phone

  • Resolve phone via: useAdminProfile().profile.phonesiteConfig.contact.phone
  • Never hardcode a specific phone number as fallback
  • WhatsApp: adminProfile.whatsappadminProfile.phonesiteConfig.contact.whatsapp

Naming

  • Components: PascalCase (e.g. HeaderAesthetics.tsx)
  • Prefix: Section, Admin, Button, Card as appropriate

Don'ts

  • No NextUI imports
  • No conditional DOM structure on client-only state (causes hydration errors) — use hidden or same structure
  • No [...new Set()] — use Array.from(new Set())
Install via CLI
npx skills add https://github.com/Ivan-Hristoslavov/EGP --skill egp-components
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
Ivan-Hristoslavov
Ivan-Hristoslavov Explore all skills →