|
5 | 5 | **[Examples and Docs](https://szhsin.github.io/react-accordion/)** |
6 | 6 |
|
7 | 7 | [](https://www.npmjs.com/package/@szhsin/react-accordion) |
8 | | -[](https://bundlephobia.com/package/@szhsin/react-accordion) |
| 8 | +[](https://bundlephobia.com/package/@szhsin/react-accordion) |
| 9 | +[](https://bundlejs.com/?q=%40szhsin%2Freact-accordion&treeshake=%5B*%5D&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&bundle) |
9 | 10 |
|
10 | 11 | ## Features |
11 | 12 |
|
12 | 13 | - Unstyled React accordion components |
13 | | -- React hooks for Headless usage |
| 14 | +- Headless usage via React hooks |
14 | 15 | - [WAI-ARIA compliant](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) |
15 | | -- Keyboard navigable |
16 | | -- Support animation |
17 | | -- Can be controlled or uncontrolled |
18 | | -- Control to expand/collapse specific item or all items |
19 | | -- [Level 3 support](https://github.com/reactwg/react-18/discussions/70) of React 18 concurrent rendering |
20 | | -- Support server-side rendering |
21 | | -- Small and tree-shakable [(~3kB)](https://bundlephobia.com/package/@szhsin/react-accordion) |
22 | | -- Strongly typed API with TypeScript |
| 16 | +- Fully keyboard accessible |
| 17 | +- Supports animations |
| 18 | +- Works in controlled and uncontrolled modes |
| 19 | +- Control to expand/collapse individual or all items |
| 20 | +- Compatible with React 18+ concurrent rendering |
| 21 | +- Supports server-side rendering (SSR) |
| 22 | +- Lightweight and tree-shakable [(~3kB)](https://bundlephobia.com/package/@szhsin/react-accordion) |
| 23 | +- Fully typed API with TypeScript |
23 | 24 |
|
24 | 25 |  |
25 | 26 |
|
|
0 commit comments