This library is a self-contained "Prototyping Engine" designed for high-efficiency UI generation by LLMs. It uses React Aria Components as its accessible foundation and Tailwind CSS for styling.
src/: The core accessible component logic.stories/: Visual documentation and interaction examples (Storybook).specs/:accessibility/: WAI-ARIA design patterns and keyboard interaction specs.api/: Prop definitions and component interfaces.test/: Technical unit tests.
themes/: Tailwind CSS plugin and theme configuration.templates/: Starter configurations (e.g.,tailwind.config.js).examples/: Reference implementations for complex screens.LLM_INSTRUCTIONS/: The "Brain" for the LLM. ContainsSKILL.mdandINTERACTIONS.md.
When using this library to generate screens:
- Always read
LLM_INSTRUCTIONS/SKILL.mdfirst. - Consult
specs/api/for correct prop usage. - Consult
specs/accessibility/to ensure compliant keyboard and screen reader behavior. - Use the
INTERACTIONS.mdguide for styling states (isHovered,isFocusVisible, etc.).
To update this library:
- Add/Modify components in
src/. - Add corresponding stories in
stories/. - Update the
manifests/components.jsonregistry. - Ensure
specs/api/andspecs/accessibility/are updated to reflect changes.