A collection of reusable React components built with TypeScript and SCSS modules. This library provides a shadcn-ui-like experience but uses SCSS modules instead of Tailwind CSS for styling.
npm install @becklyn/componentsA collection of reusable React components built with TypeScript and SCSS modules. This library provides a shadcn-ui-like experience but uses SCSS modules instead of Tailwind CSS for styling.
This library is designed to be used with Next.js. You won't be able to use all components properly without Next.js.
We also add storybook stories to the components. You need to have storybook installed in your project to use them.
Initialize your project with the necessary configuration.
``bash`
npx @becklyn/components init [options]
This command will:
- Install required dependencies
Add components to your project by copying them from the library.
`bash`
npx @becklyn/components add
Options:
- --components - Components directory (default: "src/components")--overwrite
- - Overwrite existing files-y, --yes
- - Skip confirmation prompts
Examples:
`bashAdd a single component
npx @becklyn/components add button