nextjs-semantic
nextjs-semantic copied to clipboard
Next.js + Fomantic-UI + Styled Components

Notice
Since version 2.0.0 (of this package), Semantic UI was replaced by Fomantic-UI.
Current Versions
- Next.js 12
- React 17
- Fomantic-UI 2.8
- Styled Components 5.3
Setup
- clone repo
npm installnpm run semantic:buildnpm run dev
Semantic UI React
- Installed and used by default.
- Using React components is recommended.
- Read docs: https://react.semantic-ui.com/
Semantic UI
- you can remove components to reduce css size on
semantic.json .semanticfolder includes source file, from here it's possible to customize default theme- change default Google font (Lato) on
.semantic/src/themes/default/globals/site.variables - run
npm run semantic:watchto watch for changes while customizing theme
Why switching to Fomantic-UI?
Here are some reasons for the change:
- Semantic UI requires Node 10
- Fomantic-UI is actively developed
- Adds more components
- Fixes several security vulnerabilities
If you still want to use Semantic UI, get release 1.1.0