UNPKG

@neuctra/ui

Version:

A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.

20 lines (19 loc) 742 B
import { default as React } from 'react'; type ContainerSize = "sm" | "md" | "lg" | "xl" | "2xl" | "full"; export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> { size?: ContainerSize; padding?: "none" | "sm" | "md" | "lg" | "xl"; center?: boolean; /** Custom styles (framework independent) */ style?: React.CSSProperties; className?: string; children?: React.ReactNode; } /** * 🧱 Container Component * - Works with Tailwind OR plain CSS * - Controls width & horizontal spacing only * - Layout should be handled via className or style */ export declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>; export default Container;