Components
Loading preview...
A table component for displaying type definitions and props documentation. Features - Prop descriptions with tooltips - Type information display - Default value support - Links to type documentation - Responsive design - Dark mode support
npx shadcn@latest add https://21st.dev/r/fuma-nama/type-tableimport { TypeTable } from "@/components/ui/type-table"
function TypeTableDemo() {
return (
<TypeTable
type={{
percentage: {
description: "The percentage of scroll position to display the roll button",
type: "number",
default: "0.2"
}
}}
className="min-w-[400px]"
/>
)
}
export { TypeTableDemo }