Component Library

Basic Blog

A structured blog card component with horizontal and vertical layout options

Basic Blog

Overview

The BlogCard component provides a structured way to display blog information with flexible layout options. It supports both horizontal and vertical presentations and uses conditional rendering based on the isHorizontal prop. The component is styled with NativeWind for customization and rapid development.

UI Preview

Basic Blog - Web Lightclick to enlarge

Usage Example

To implement the BasicBlog component, import it and pass the required blog data:

import React from "react";
import { BlogCard } from "@cloudnua-mobile/components/custom/blog-card";
import blogData from "./data";
 
export const BlogCardBasic = () => {
  return (
    <BlogCard
      publishedDate={blogData.publishedDate}
      category={blogData.category}
      title={blogData.title}
      description={blogData.description}
      authorName={blogData.authorName}
      designation={blogData.designation}
      authorProfileURI={blogData.authorProfileURI}
      bannerURI={blogData.bannerURI}
    />
  );
};

The component enhances visual presentation by offering a clean, organized way to present important information at a glance.

CloudNua Mobile Starter

This component is included with CloudNua Mobile. All packages and source code are available with your purchase. View plans →

AvatarEnda Kelly

© 2026 Enda Kelly, trading as CloudNua. All rights reserved.

Ireland