Table

Organize data effectively with Bramble UI's table component. Create user-friendly web interfaces with modern table designs for seamless content presentation.

Usage

import {Table} from '@/ui'
import data from '@/data/carts.json'
                    
<Table
    data={data}
    height={200}
    ignore={['id']}
    caption='Shopping Cart'
    dividers={true}
/>

Output

Shopping Cart
TitlePriceQuantityTotalDiscount %Discount Price
Spring and summer shoes203608.7155
Washing Gloves292583.1956
Moisturizer 100ml4028013.170
Cargo Belt930193017.67766
Woolen Sweaters6002120017.2994
Kitchen Ceiling Lighting3026014.8951
Black Motorbike5693170713.631474
Infinix INBOOK10991109911.83969
Hyaluronic Acid Serum1911913.3116
Printed Graphic T-Shirt46313816.44115
Tank Tops50210012.0588
Tassel Earrings45313517.75111
Digital Watch5731719.03156
Sun Glasses1911910.117
Cycle Bike Glow3513511.0831

Options

className?: string | undefined
data: any[]
height?: number | undefined
width?: number | undefined
ignore?: string[] | undefined
caption?: string | undefined
dividers?: boolean | undefined

RTL

Shopping Cart
TitlePriceQuantityTotalDiscount %Discount Price
Spring and summer shoes203608.7155
Washing Gloves292583.1956
Moisturizer 100ml4028013.170
Cargo Belt930193017.67766
Woolen Sweaters6002120017.2994
Kitchen Ceiling Lighting3026014.8951
Black Motorbike5693170713.631474
Infinix INBOOK10991109911.83969
Hyaluronic Acid Serum1911913.3116
Printed Graphic T-Shirt46313816.44115
Tank Tops50210012.0588
Tassel Earrings45313517.75111
Digital Watch5731719.03156
Sun Glasses1911910.117
Cycle Bike Glow3513511.0831
<div dir='rtl'>
    <Table
        data={data}
        height={200}
        ignore={['id']}
        caption='Shopping Cart'
        dividers={true}
    />
</div>