callstack / callstack/react-native-paper
Create Skeleton Loader component
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
**Describe the solution you’d like**
Add a built-in Skeleton Loader component to react-native-paper that can be used as a placeholder while content is loading.
The component should align with Material Design principles and the existing Paper theming system (colors, dark mode, shape, animation preferences).
**Describe alternatives you’ve considered**
Currently, skeleton loading is typically implemented by:
Using third-party libraries (which may not integrate well with Paper’s theme system), or
Manually composing View components with animated opacity/backgrounds, which leads to duplicated, inconsistent implementations across apps
Neither approach feels ideal for a UI library that already provides polished, opinionated components.
**Additional context**
Many modern design systems include skeleton loaders as a standard pattern, and they are increasingly preferred over spinners for content-heavy screens. Having this as part of react-native-paper would improve developer experience and visual consistency across applications using the library.
贡献指南
评估
这个 Issue 还没有评估数据。