Examples
Blocks Pro
Blocks are the bigger pieces of an app: a kanban board, a calendar, a pricing table. Each is one component with props for the simple case and render props for the rest. They're built on patine-ui, so they follow your theme and design and work with a keyboard and a screen reader. They animate only through the library's motion, so they're still when the OS asks to reduce motion.
import { Kanban, EventCalendar, PricingTable } from '@patine-ui/pro';
| Block | What it's for |
|---|---|
| Stats row | A dashboard's key figures with their change and trend; tiles can switch a chart |
| Timeline | Events along a line: a history, a shipment, an incident |
| Activity feed | Who did what, newest first, by day, with filters and unread dots |
| Order tracker | Where an order is, with the carrier's scans |
| Wizard | A task in steps, with validation and a finish |
| Pricing table | Plans as cards, a comparison table or a phone paywall list |
| Product card | A product in a grid, with swatches, wishlist and Add to cart |
| Review list | Customer reviews with their summary, filters and Helpful votes |
| Kanban | Columns of cards to drag, with WIP limits and a Move to menu |
| Agenda | The days ahead as a list under a week strip |
| Event calendar | Events by month, week or day |
| Gantt | A project's tasks on a timeline, dragged to reschedule |
| AI usage meter | Tokens or credits used against the plan's limit |
| Agent activity | What an AI agent is doing, step by step |
| Approval card | An assistant's change, held until the person approves it |
| Onboarding, Sign in, Paywall, Settings, Profile, Checkout | Whole single screens, each built from free components. For whole apps, see the templates |
What every block shares
designandtheme: the look of the provider, or the block's own.density:'compact','comfortable'(default) or'spacious'.animate: entries fade and rise in, changes glide; off with reduce motion oranimate={false}.loading,errorwithonRetry,emptyTitle,emptyDescriptionandrenderEmpty: a skeleton of the content, a calm error with Try again, or a helpful empty state.- Controlled or not: state like the selected tile or the current step takes
valueandonValueChange(ordefaultValue), and callbacks fire only for what the user does. labels: every word they show, for your language. Layouts use start and end, so they mirror in right-to-left languages.accessibilityLabel,styleandtestID.