GithubHelp home page GithubHelp logo

emranweb / shadcnui-snippet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

A Visual Studio Code extension for Shadcnui UI components snippets. Quickly insert reusable code snippets for Shadcnui components, enhancing your development workflow with ease. This Snippets only provide the Body of the component. You can add the props according to your need.

Home Page: https://marketplace.visualstudio.com/items?itemName=emranweb.shadcnui-snippet

License: MIT License

shadcnui snippets vscode vscode-extension vscode-snippets

shadcnui-snippet's Introduction

Shadcnui Snippet

A Visual Studio Code extension for Shadcnui UI components snippets. Quickly insert reusable code snippets for Shadcnui components, enhancing your development workflow with ease.

Features

This extension contains code snippets for Shadcnui for React. It is based on the Shadcnui documentation. This Snippets only provide the Body of the component. You can add the props according to your need. Also Need to import the component from Shadcnui.

Snippets

  • sc-accordion - Shadcnui Container component | Docs
  • sc-alert - Shadcnui Alert component | Docs
  • sc-alert-error - Shadcnui Alert Error component | Docs
  • sc-alert-dialog - Shadcnui Alert Dialog component | Docs
  • sc-aspect-ratio - Shadcnui Aspect Ratio component | Docs
  • sc-avatar - Shadcnui Avatar component | Docs
  • sc-badge - Shadcnui Badge component | Docs
  • sc-button - Shadcnui Button component | Docs
  • sc-calendar - Shadcnui Calendar component | Docs
  • sc-card - Shadcnui Card component | Docs
  • sc-carousel - Shadcnui Carousel component | Docs
  • sc-carousel-vertical - Shadcnui Carousel Vertical component | Docs
  • sc-checkbox - Shadcnui Checkbox component | Docs
  • sc-collapsible - Shadcnui Collapsible component | Docs
  • sc-combobox - Shadcnui Combobox component | Docs
  • sc-context-menu - Shadcnui Context Menu component | Docs
  • sc-command - Shadcnui Command component | Docs
  • sc-datepicker - Shadcnui Date Picker component | Docs
  • sc-dialog - Shadcnui Dialog component | Docs
  • sc-drawer - Shadcnui Drawer component | Docs
  • sc-dropdown - Shadcnui Dropdown component | Docs
  • sc-input - Shadcnui Input component | Docs
  • sc-menubar - Shadcnui Menubar component | Docs
  • sc-navigation-menu - Shadcnui Navigation Menu component | Docs
  • sc-progress - Shadcnui Progress component | Docs
  • sc-tooltip - Shadcnui Tooltip component | Docs
  • sc-toggle - Shadcnui Toggle component | Docs
  • sc-toggle-group - Shadcnui Toggle Group component | Docs
  • sc-toast - Shadcnui Toast component | Docs
  • sc-tabs - Shadcnui Tabs component | Docs
  • sc-table - Shadcnui Table component | Docs
  • sc-textarea - Shadcnui Textarea component | Docs
  • sc-switch - Shadcnui Switch component | Docs

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or using the keyboard shortcut Ctrl+Shift+X.
  3. Search for "shadcnui-snippet" in the Extensions view search box.
  4. Install the extension by clicking the "Install" button.

Usage

  1. Open a file with a supported language (e.g., JSX, JS, TS,TSX).
  2. Type the prefix for a Shadcnui component snippet (e.g., sc-button).
  3. Press Tab to expand the snippet, and fill in the placeholders for customizable parts.

Supported Languages

  • JavaScript (.js)
  • TypeScript (.ts)
  • JavaScript React (.jsx)
  • TypeScript React (.tsx)

Supported Shadcnui

If you find any missing components, please open an issue or submit a pull request.

Enjoy!

shadcnui-snippet's People

Contributors

emranweb avatar

Watchers

 avatar

shadcnui-snippet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.