Aurora Direction
aurora-dinglebear-ai/aurora-directionUnverifiedComponent
Minimal direction wrapper for LTR and RTL layout previews.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-direction.jsonSource
1"use client"23import * as React from "react"45export interface DirectionProps extends React.HTMLAttributes<HTMLDivElement> {6 dir?: "ltr" | "rtl"7}89export function Direction({ ref, dir = "ltr", ...props }: DirectionProps & { ref?: React.Ref<HTMLDivElement> }) {10 return <div ref={ref} dir={dir} {...props} />11}1213export default Direction14
What it pulls in
Other registry items
Files it writes
More from aurora
All 176 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Aurora Accordionaurora-accordion | aurora | Components | Unverified | 2 deps | |
| Aurora Alert Dialogaurora-alert-dialog | aurora | Components | Unverified | 2 deps | |
| Aurora Aspect Ratioaurora-aspect-ratio | aurora | Components | Unverified | no deps | |
| Aurora Avataraurora-avatar | aurora | Components | Unverified | 1 dep | |
| Aurora Badgeaurora-badge | aurora | Components | Unverified | 2 deps | |
| Aurora Banneraurora-banner | aurora | Components | Unverified | 1 dep | |
| Aurora Breadcrumbaurora-breadcrumb | aurora | Components | Unverified | 2 deps | |
| Aurora Buttonaurora-button | aurora | Components | Unverified | 2 deps |
