Blog Index with Shader Covers
A desktop blog index with a thin gray frame, category pills, a search box and a wide featured card, plus article cards with directional blur, zoom blur and soft sphere covers. Pills and search filter; hovering zooms a cover. SkSL on CanvasKit and Skia.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "blog-index-with-shader-covers" to this project. The full source is attached at the end of this prompt. Put the files under components/blog-index-with-shader-covers/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 20 Nov 2026
- License
- Unlimited commercial projects
- Original design
- @basit_designs on X
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A desktop-width blog index on a white page with thin gray frame lines and cross dividers. It has a large heading with two lines of subtitle, category pills in a row, a rounded search box, and a grid of article cards. The first row is a wide featured card with an orange blurred glass sphere cover and a smaller card with a green diagonal motion-blur cover. The second row has a warm gray brand card, a card with a teal silk-fold cover and a deep red radial burst cover. Selecting a category fades the cards outside it, typing in the search filters by title and body, and hovering or pressing a card slowly enlarges its cover a few percent.
How it's built
The four cover images are not pictures. Each is a procedural SkSL shader drawn through Skia, using the same shader source in the web preview and in React Native. A shared JavaScript core holds the grid layout, and react-native-svg and Animated handle the surrounding page, the pills, the search icon and the fade of filtered cards. The grid is designed at a 1440 point width. A vendored CanvasKit build is present for the web side. Fonts in the design are a tight sans-serif family.
Good for
- A blog, changelog or news index with distinctive generated covers
- A filterable card grid with category pills and live search
- Marketing sites that want covers that never need image files
Dependencies
@shopify/react-native-skiareact-native-svgreact-native