@gremorie/rx-display
v0.4.0
Published
React display primitives for Gremorie - Accordion, Avatar, Badge, Card, Carousel, Collapsible, Separator, Table.
Maintainers
Readme
@gremorie/rx-display
React display primitives for Gremorie, an AI native design system. Cards, badges, tables, and the layout pieces you use to present content.
Install
npm i @gremorie/rx-display @gremorie/rx-core @gremorie/rx-formsRequires React 18 or 19 and Tailwind CSS v4 in the host project.
Styles
Import the pre compiled token stylesheet once, at your app entry. It ships the
design tokens (colors, radius, light and dark themes) as plain CSS variables,
so you do not need to wire Tailwind @theme yourself.
@import 'tailwindcss';
@import '@gremorie/react/styles.css';If you prefer a granular import, pull the tokens straight from the core package:
@import '@gremorie/rx-core/styles/globals.css';Usage
import {
Card,
CardHeader,
CardTitle,
CardContent,
Badge,
} from '@gremorie/rx-display';
export function PlanCard() {
return (
<Card className="max-w-sm">
<CardHeader>
<CardTitle>Pro plan</CardTitle>
</CardHeader>
<CardContent>
<Badge>Most popular</Badge>
</CardContent>
</Card>
);
}Components
AccordionAvatarBadgeCardCarouselCollapsibleFeaturedIconSeparatorTable
License
MIT. See LICENSE.
Full documentation lives at gremorie.com.
