s-private API Documentation - v3.8.1
    Preparing search index...

    Module @s-hirano-ist/s-ui

    UI component library for the content management system.

    This package provides reusable React components built with:

    • Radix UI primitives for accessibility
    • Tailwind CSS for styling
    • tailwind-variants for variant management
    • UI Components - Base components (Button, Card, Input, Dialog, etc.)
    • Form Components - Form wrappers and field components
    • Display Components - Loading states and status displays
    • Layout Components - Markdown viewer and content layouts
    • Hooks - Custom React hooks (useInfiniteScroll)
    • Utilities - cn() class merging utility

    Note: Next.js-dependent components (ThemeProvider, Pagination, Toaster) are available via @s-hirano-ist/s-ui/next.

    import { Button, Card, Input } from "@s-hirano-ist/s-ui";

    function MyComponent() {
    return (
    <Card>
    <Input placeholder="Enter text..." />
    <Button>Submit</Button>
    </Card>
    );
    }

    Type Aliases

    BadgeProps
    ButtonProps
    FormFileInputProps
    FormInputProps
    FormInputWithButtonProps
    FormTextareaProps
    GenericFormWrapperProps
    InputProps
    Props
    RatingProps
    SliderProps
    StatDescriptionProps
    StatProps
    StatTitleProps
    StatusCode
    StatValueProps
    TextareaProps
    UseInfiniteScrollOptions
    UseInfiniteScrollReturn

    Variables

    badgeVariants
    buttonVariants
    Dialog
    DialogPortal
    DialogTrigger
    ratingVariants
    Tabs

    Functions

    Badge
    Button
    Card
    CardContent
    CardDescription
    CardFooter
    CardHeader
    CardTitle
    cn
    Command
    CommandDialog
    CommandEmpty
    CommandGroup
    CommandInput
    CommandItem
    CommandList
    CommandShortcut
    DialogContent
    DialogDescription
    DialogFooter
    DialogHeader
    DialogOverlay
    DialogTitle
    Drawer
    DrawerClose
    DrawerContent
    DrawerDescription
    DrawerFooter
    DrawerHeader
    DrawerOverlay
    DrawerPortal
    DrawerTitle
    DrawerTrigger
    FormDropdownInput
    FormFileInput
    FormInput
    FormInputWithButton
    FormTextarea
    GenericFormWrapper
    haptic
    Input
    Label
    Rating
    Slider
    Stat
    StatDescription
    StatTitle
    StatusCodeView
    StatValue
    TabsContent
    TabsList
    TabsTrigger
    Textarea
    useFormValues
    useInfiniteScroll