Components
41 components in components.json: 25 from shadcn (18 families, working below) and 16 proposed, to build locally when a task needs them.
Not built yet. If time is short, build the Review bar, Source card and Filter bar first.
Empty stateproposedcore
<EmptyState icon title description action/>Title; Description; Icon; action
Say why it is empty and one next step.
Navbarproposedcore
<AppNavbar/>Product name; link buttons; search; account
Citizen services; collapse to Menu on mobile.
AI / Citation markerproposedai
<Citation n={1}/>State: Default|Active; Number
After every sourced claim; matches a Source card.
AI / Source cardproposedai
<SourceCard n title meta excerpt href/>Title; Meta; Excerpt; type icon
Real, openable source; quote the exact passage.
AI / Confidenceproposedai
<AIConfidence level reason/>Level: High|Medium|Low; Reason
Word + bars, never color alone; reason names the evidence.
AI / Review barproposedai
<AIReviewBar state onAccept onEdit onReject/>State: Pending|Accepted|Rejected
Never auto-send. Accepted shows who and when.
AI / Chat messageproposedai
<ChatMessage role/> (AI SDK useChat)Role: User|Assistant|Loading; Message; sources; confidence
Assistant always labeled as AI; Loading says what it is doing.
AI / Chat inputproposedai
<ChatInput/> (Textarea + icon Button)Text; note
Keep the "AI może się mylić" note on for public services.
AI / Assistant panelproposedai
<AssistantPanel/> (Sheet side="right")Title; messages; chat input
400 px, right. Every AI action also reachable without chat.
Table / Bulk actionsproposedanalyst
<BulkActions count/>Count; actions exposed
Shown when rows are selected; destructive bulk actions need a confirm Dialog.
Filter barproposedanalyst
<FilterBar/>Search, Selects, Clear, Export exposed
Filters apply immediately; Clear only when filtered.
Stepproposedforms
<Step aria-current="step">State: Done|Current|Upcoming; Label; Number
Stepperproposedforms
<Stepper steps current/>Step instances
3–6 steps; nouns as labels; mobile shows "Krok 2 z 4".
Info cardproposedforms
<InfoCard/>Title; Text; Next step
Plain Polish, concrete times. "Co dalej" after every submit.
Stat tileproposeddashboard
<StatTile/>Trend: Up|Down|Neutral; Label; Value; Delta
Trend by meaning, not direction; say the comparison period.
List itemproposeddashboard
<ListItem/>Title; Meta; Time; Icon
For simple lists; many columns → Table.