DEV Community

edwin_ew
edwin_ew

Posted on

001 NextUI Spacer

import { Container,Spacer, Card } from "@nextui-org/react";

export default function App() {
  return (
    <Container gap={0} css={{ d: 'flex', flexWrap: 'nowrap' }}>
      <Card color="primary" />
      <Spacer x={2} />
      <Card color="primary" />
    </Container>
  );
}
Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (0)