Skip to content

sinapirani/next-circle-flags

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

134 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

next-circle-flags(Powered By next/image) for Next13!

CDN IS CHANGED!

UPDATE THIS PACKAGE TO LATEST VERSION !

Next circle flags (based on circle-flags)

NPM JavaScript Style Guide codecov Node.js CI

Install

npm install --save next-circle-flags

Usage

import React from 'react'
import { CircleFlag } from 'next-circle-flags'

export const SpanishFlag = () => <CircleFlag countryCode="es"  height={50} width={50}  />

With custom CDN

import React from 'react'
import { CircleFlag } from 'next-circle-flags'

export const SpanishFlag = () => <CircleFlag countryCode="es"  height={50} width={50}  cdnUrl="https://magic-cdn.com/flags/" />

You can pass all the next/image props to CircleFlag. ๐Ÿš€

Docs && Gallery

Click here!

License

MIT ยฉ sinapirani

About

๐Ÿš€ A Next component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags. +100 weekly download ๐ŸŽ‰

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%