semitexa / platform-ui
Semitexa Platform UI — LLM-friendly CSS grammar, design tokens, primitive components, and AI-assisted skin generation (SkinResolver: LLM prompt resolver feeding semitexa/theme's skin generator, plus refinement and eval scorer). Requires semitexa/theme for SkinAlgorithm contract.
Package info
github.com/semitexa/semitexa-platform-ui
Type:semitexa-module
pkg:composer/semitexa/platform-ui
Requires
- php: ^8.4
- semitexa/authorization: *
- semitexa/core: >=2026.10.14.0919 || dev-master
- semitexa/llm: >=2026.10.08.0620 || dev-master
- semitexa/prompt: *
- semitexa/ssr: >=2026.10.19.0811 || dev-master
- semitexa/theme: >=2026.10.14.0919 || dev-master
- symfony/console: ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2026.10.19.0811
- 2026.10.17.1321
- 2026.10.17.1255
- 2026.10.16.1744
- 2026.10.16.0516
- 2026.10.15.2225
- 2026.10.14.1540
- 2026.10.14.0919
- 2026.10.09.0714
- 2026.10.08.0620
- 2026.09.30.1034
- 2026.09.27.0404
- 2026.09.23.1717
- 2026.09.17.1829
- 2026.09.17.1037
- 2026.09.13.1915
- 2026.09.11.1941
- 2026.09.08.2003
- 2026.09.05.1548
- 2026.08.19.0649
- 2026.08.12.0551
- 2026.08.05.0406
- 2026.08.04.2028
- 2026.07.25.0821
- 2026.07.15.0701
- 2026.07.07.1936
- 2026.07.06.1438
- 2026.06.22.0520
- 2026.06.21.0352
- 2026.05.28.0607
- 2026.05.27.0859
- 2026.05.26.1146
- 2026.05.24.1443
- 2026.05.24.0742
- 2026.05.23.0808
- 2026.05.23.0613
- dev-develop
- dev-fix/workbench-shipped-layout
- dev-fix/workbench-a11y-baselines
- dev-fix/tree-action-cascade
- dev-fix/review-44-45
- dev-fix/review-42-forms
- dev-feat/ui-workbench
- dev-fix/review-forms
- dev-fix/review-app-shell
- dev-fix/review-ai-ui
- dev-fix/test-global-state-restore
- dev-feat/kiss-hug
- dev-feat/kiss-hug-feeds
This package is auto-updated.
Last update: 2026-10-19 10:57:11 UTC
README
semitexa/platform-ui
The UI layer on top of semitexa/ssr: design tokens, a CSS grammar (ui="…" primitives), built-in components, client behaviours, and LLM-assisted skin generation that feeds the skin builder in semitexa/theme.
Install
Included in every project created by the installer (https://semitexa.com/install.sh).
What it provides
- Built-in components (
platform.*), among themform,field,grid,table,list,card,stat,chart,calendar,dashboard,dashboard-widget,navbar,breadcrumb,pagination,empty-state,command-palette,collab-form,appearance-settings, the auth screens (sign-in,sign-up,forgot-password,reset-password) and page blocks (block-hero,block-features,block-pricing,block-faq,block-stats,block-cta,block-footer). - Attributes (namespace
Semitexa\PlatformUi\Attribute):- components:
#[UiPart],#[UiSlot],#[ProvidesUiPart],#[UiState],#[UiUrl],#[UiOn](event handler method),#[HandlesUiEvent]; - registries:
#[AsUiPrimitive],#[AsUiBehavior],#[AsUiContract],#[AsFieldType],#[AsFormSubmitAction],#[AsGridAction],#[AsDashboardWidget],#[AsCommandSource],#[AsUiTreeAction],#[CollaborativeForm].
- components:
- Console commands:
- catalog and CSS:
platform-ui:catalog,platform-ui:field-types,platform-ui:css:build,platform-ui:css:explain,platform-ui:css:inspect,platform-ui:icons:sync; - skins:
skins:generate,skins:refine,skins:rebuild,skins:explain-prompt,skins:eval:run; - UI trees for agents:
ui:tree:catalog,ui:tree:validate,ui:tree:render,ui:tree:compose, andui:mcp(an MCP server on stdio).
- catalog and CSS:
- Tables
form_collab_draft(collaborative form drafts),platform_calendar_eventsandplatform_ui_demo_submissions, created bybin/semitexa orm:sync.
Documentation
- Primitives: https://semitexa.com/docs/rendering/ui-primitives
- Composition (parts, slots): https://semitexa.com/docs/rendering/ui-composition
- Events (
#[UiOn]): https://semitexa.com/docs/rendering/ui-events - Forms: https://semitexa.com/docs/rendering/ui-forms
- Skin generation: https://semitexa.com/docs/platform/skin-generation
- Attributes: https://semitexa.com/docs/reference/attributes-platformui
- Commands: https://semitexa.com/docs/reference/commands-platform-ui
Design records for the module are in docs/.
License
MIT, see LICENSE.