Contact 30 - Opening hours with live open statusPro

A store contact block with a weekly hours table that highlights today and an open/closed badge computed on the client after mount.

About Contact 30

A store contact block with a weekly hours table that highlights today and an open/closed badge computed on the client after mount.

Contact 30 is a pro contact block for React, built on shadcn/ui and Tailwind CSS. It ships as 114 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • hours
  • opening times
  • status
  • store

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/contact-30

Dependencies installed automatically: lucide-react.

Uses: button, reveal, use-mounted, utils.

Usage

import Contact30 from "@/components/blocks/contact-30"

export default function Page() {
  return <Contact30 />
}

FAQ