Skip to content

Commit c7b0d5b

Browse files
authored
Update README.md (#913)
1 parent 0876394 commit c7b0d5b

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55
**[Examples and Docs](https://szhsin.github.io/react-accordion/)**
66

77
[![NPM](https://img.shields.io/npm/v/@szhsin/react-accordion.svg)](https://www.npmjs.com/package/@szhsin/react-accordion)
8-
[![NPM](https://img.shields.io/bundlephobia/minzip/@szhsin/react-accordion)](https://bundlephobia.com/package/@szhsin/react-accordion)
8+
[![bundlephobia](https://img.shields.io/bundlephobia/minzip/@szhsin/react-accordion)](https://bundlephobia.com/package/@szhsin/react-accordion)
9+
[![bundlejs](https://deno.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&badge=simple)](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)
910

1011
## Features
1112

1213
- Unstyled React accordion components
13-
- React hooks for Headless usage
14+
- Headless usage via React hooks
1415
- [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
2324

2425
![react accordion](https://user-images.githubusercontent.com/41896553/236674264-2412dd3b-48b1-4df1-ab31-40d191e188de.gif)
2526

0 commit comments

Comments
 (0)