liferay-clay-ui

Community

Build consistent Liferay UIs faster

AuthorJoaoPedroAmaral
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Liferay Clay UI can be confusing to set up and use consistently across Liferay Portal projects, and developers need clear patterns for Provider setup, package imports, component composition, CSS conventions, and data integration to avoid layout regressions and accessibility issues.

Core Features & Use Cases

  • Provider Pattern: Explains mandatory Provider usage and spritemap configuration for SVG icons.
  • Package-specific Imports: Shows tree-shakable imports per @clayui package and warns against generic imports.
  • Component Patterns: Examples for modals, sortable tables, toolbars, forms, autocomplete, tree views, pickers, and card patterns.
  • Integration: Guidance for data fetching with useResource, FDS cell renderer integration, and accessibility/CSS best practices.
  • Anti-Patterns: Common mistakes to avoid, such as mixing conflicting Bootstrap classes or importing full CSS when unnecessary.

Quick Start

Import Provider from @clayui/core at your app entry, include the Clay CSS atlas stylesheet once, and set the Provider spritemap to your theme's icons.svg before rendering Clay components.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: liferay-clay-ui
Download link: https://github.com/JoaoPedroAmaral/backBarbearia/archive/main.zip#liferay-clay-ui

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.