From cc29fb773af7bff365c693c9022979f26a5e0361 Mon Sep 17 00:00:00 2001 From: Kinder Joy Date: Fri, 2 Jan 2026 18:31:01 +0300 Subject: [PATCH] docs: improve base-ui README with component and hook documentation --- libs/base-ui/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/libs/base-ui/README.md b/libs/base-ui/README.md index 86c1cdbfc9..f9e97ee170 100644 --- a/libs/base-ui/README.md +++ b/libs/base-ui/README.md @@ -1 +1,23 @@ # base-ui + +A shared UI component library for Base web applications. + +## Components + +- **Button** - Reusable button component +- **Select** - Select dropdown component +- **Icon** - Icon component + +## Hooks + +- `useClickAway` - Hook to detect clicks outside an element +- `useSprig` - Hook for Sprig integration + +## Contexts + +- `Analytics` - Analytics context provider +- `Experiments` - Experiment context provider + +## Utils + +Utility functions for logging, string manipulation, and event sanitization.